Hi,

probably related: You seem to be missing _MCLRE_OFF to free RA5 and avoid
the need for an external pull-up on #MCLR ...
Since you disabled LVP, I assume you can apply 10 - 13.5V to RA5/#MCLR to
program the device?

Without this and/or a pull-up on RA5/#MCLR, your device may remain in reset
indefinitely after power up ...

Good luck,
Raphael



On Sun, Nov 24, 2013 at 1:57 PM, jon <j...@jonshouse.co.uk> wrote:

> On Sun, 2013-11-24 at 05:07 -0700, Michael du Breuil wrote:
> > I'm confident its user error, but I seem to be unable to program my
> > PIC16F628A (it's my first foray into the world of PICs, been working
> > with arm M4's). All I'm trying to do is turn on LED outputs, but I
> > this doesn't seem to be working. I'm trying to use the internal 4MHz
> > oscillator, all the port A and B pins (so everything except for VDD
> > and VSS) are connected to a 10K resistor and LED. This is all done on
> > a breadboard, so it's possible there is an error in the wiring, but it
> > appears to be correct.
> >
>
> When I started using PICS I always forgot to pull MCLR up via 4k7, just
> a thought....
>
> Jon
>
>
>
>
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up
> now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to