piclist 1997\02\18\004346a >
Thread: Application controlled reset ???
www.piclist.com/techref/index.htm?key=application+controlled
picon face BY : David W. Duley email (remove spam text)



In a message dated 97-02-17 18:30:14 EST, you write:

<<
At 06:19 PM 17/2/97 -0500, you wrote:
>Greetings,
>
>I am writing code to use the PIC chip as a classic embedded controller.
>One of the commands I would like to implement is a remote reset.  This
>would allow the controlling system to issue a command that would tell the
>PIC to restart and re initialize itself.
>
>Is there an easy way to reset the PIC processor from a running application
???
>
>The PIC in this particular endeavor is a 16C73A...

you could just fall into loop and wait for Watchdog reset to happen.
(you must have Watchdog enabled)

there is no direct commands to implement reset in software.

antti
 >>
Now for my 2 cents worth.
One way that I have implemented this sort of thing is to use the Watchdog
timer to automatically reset the chip if it does not recieve a signal from
the host etc.
A periodic signal generated from a host computer prevents the remote
controllers from resetting.  If the signal is not there the remote will
reset.

If there is no host computer you could implement a reset instruction using
the watch dog timer by simply jumping to a tight loop that does not clear the
WDT. The net result will be a reset in a few milliseconds.
Hope this helps
Dave Duley
V.P. DreiTek Inc.
<970218004206_1016219937@emout12.mail.aol.com>

See also: www.piclist.com/techref/index.htm?key=application+controlled
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) Application controlled reset ???

month overview.

new search...