How to reset PIC (without WDT enabled) by the s/w)
On Sun, 12 Aug 2001 10:40:11 +0200, you wrote:
You can't do this on the PIC - the WDT on/off state is selected at
>> > > Is it really the simplest way to achieve my goal? Can it be done
>> > > without loosing one pin (and resistor) ?
>> > Why not jump to your start address and set registers as you
>> > would want them
>> Too many things to clean up. (Additionally the "software reset" should be
>> triggered from the interrupt routine).
The fact that it's triggered by an interrupt routine shouldn't be an
issue - the stack is cyclic and so doesn't need reinitialisation. If
you initialise all the registers it should be OK. If there is some
problem, have your int routine set a bit which causes the foreground
code to fake a reset.
http://www.piclist.com hint: The PICList is archived three different
ways. See http://www.piclist.com/#archives for details.
In reply to: <3B7640EB.firstname.lastname@example.org>
See also: www.piclist.com/techref/microchip/devices.htm?key=pic
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the