Quintin Beukes wrote: > Hey, > > Thanks Spehro. Your mail is very informative. > > So, everything said in this thread. What would be the recommended way > for doing a soft reset? Something that similar to a power cycle would > be the best. If the actual processor at hand supports/has the RESET instruction, use that. > There was one suggestion of putting the program into a loop and > waiting for a watchdog timeout. Though our watchdog timer is quite > long. So maybe reconfiguring it to a millisecond, looping, restoring > to sane value? That is a common "solution" on those processors that lacks the RESET instruction. > > What other options are there? > If I understand correctly from earlier posts, what you are trying to do is to emulate a "real" reset (or power up) of the processor, right ? Maybe build some external circuit that can be trigged from an I/O pin and that actualy does a real MCLR-RESET of the processor ? Or even a whole power-cycle, if that whould be the best "test"... -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist