i think this PIC has no reset instruction as new one.
if your init sequence is correct , it means all I/O are initialised , not by default value on (hardware ) reset
you can use a
_asm
goto 0x0000h // if no bootloader !
_endasm
or maybe use an output like RA4 open collector ,in parrallele with MCLR (reset)
and write 0 on it. => Hardware reset. ( a pull up resistance is needeed for the MCLR pin ie: 10K to VDD)
i think this PIC has no reset instruction as new one.
if your init sequence is correct , it means all I/O are initialised , not by default value on (hardware ) reset
you can use a
_asm
goto 0x0000h // if no bootloader !
_endasm
or maybe use an output like RA4 open collector ,in parrallele with MCLR (reset)
and write 0 on it. => Hardware reset. ( a pull up resistance is needeed for the MCLR pin ie: 10K to VDD)
I think your code is working. But it can not identify because it doesn't do any change to the state of led. try this and you can find out it is working.