In SX Microcontrollers, SX/B Compiler and SX-Key Tool, g_daubach wrote: Hi all, one statement in Stef's initial post draws my attention: "When I run on the resonator it is starting but after a few minuts it is restarting, and so on." When "restarting" means that the SX performs a reset, and then runs the program again, the resonator, or the clock generation in general may not be the reason for this behavior. What about the /MCLR pin - is it pulled up to Vdd with a resistor (4.7 to 10 kOhm are common values). Are there other components that might cause /MCLR going low (a short spike would be enough) to cause a reset? Is the Watchdog timer active in the application, and if yes, is a clr !WDT instruction executed often enough? Are there any conditional skips in the application reading input pins, and is it sure that those input pins don't float? Attaching the SX-Key to the target SX dramatically changes capacitive loads and impedances in the system which means that a system might really behave well as long as the Key is connected, and go bananas when left alone with a resonator. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=263075#m263176 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)