Software reset - What am I doing wrong?


Results 1 to 15 of 15

Threaded View

  1. #1
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    425

    Default Software reset - What am I doing wrong?

    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?
    Last edited by Christopher4187; - 18th August 2012 at 15:30.

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts