For some reason, I need to reset the 18F4550 every single time whenever it's powered up. I don't understand why, perhaps it's because the 18F is on a demo board, but I've never had to do it before. Anyhow, accessing the reset button is a PITA so I want to use a software reset but nothing works like I want it to. I've tried using the power up timer but it doesn't seem to do anything.
I've also tried:
@ RESET
@ clrf PCLATH
@ goto 0
STKPTR=$FF
Some don't work and some keep the 18F in a continual reset loop. What am I doing wrong?
Bookmarks