At 01:27 PM 28/09/2009, you 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. > >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? > >What other options are there? Inline assembly and the RESET instruction could be an option. See your compiler manual for the appropriate syntax. Best regards, Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist