In SX Microcontrollers, SX/B Compiler and SX-Key Tool, g_daubach wrote: Hi all, there is another "tricky" way to soft-reset an SX: The watchdog timer. If you activate it together with a prescaler setting of your choice, make sure that a CLR !WDT instruction is executed often enough in the "regular" program loop. In case you want a soft-reset, just keep the program running in an endless loop without clearing the watchdog timer, and it will reset the SX after it has timed out. There is no problem, placing the endless loop inside the ISR code, as further interrupts are disabled as long as no RETI, or RETIW instruction is executed. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=162350#m162479 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)