piclist 2001\08\12\094554a >
Thread: How to reset PIC (without WDT enabled) by the s/w)
www.piclist.com/techref/microchip/devices.htm?key=pic
flavicon
face BY : mikeSTOPspam@whitewing.co.uk



On Sun, 12 Aug 2001 10:40:11 +0200, you wrote:

{Quote hidden}

You can't do this on the PIC - the WDT on/off state is selected at
programming time.
>> > > 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.


<semcntooh4pbfgnh57kqbunhat7td05k6s@4ax.com> quoted-printable

In reply to: <3B7640EB.94566429@icon.co.za>
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) How to reset PIC (without WDT enabled) by the s/w)

month overview.

new search...