piclist 2001\06\22\153837a >
Thread: software reset
face BY : Mike Mansheim email (remove spam text)

from Byron:
> But of course this beg the obvious question: Why not simply jump to to
> reset vector? Any robust code will actually set any register values the
> applications needs instead of depending on the reset to do so?

from Olin:
> Why not just
>     clrf  pclath
>     goto  0

> This will essentially BE instantaneous.

I've probably should have mentioned that the application was written in C.
Letting the watchdog time out was a reliable, low instruction count way
to restart and stay in C.

http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) software reset

month overview.

new search...