In SX Microcontrollers, SX/B Compiler and SX-Key Tool, g_daubach wrote: Here is how I would try to fix the problem: 1. Write a simple LED-blinker program, connect an LED with a 470 Ohm resistor in series between the SX pin used for LED-control and ground, and disconnect the resonator in case there is one installed. 2. Make sure that the code contains a FREQ 50_000_000 directive, launch the debugger from the SX-Key IDE, and hit the RUN button. When the LED blinks, you can be sure that the hardware is fine, and your test program as well. 3. Re-program the SX from the IDE using the "Run/Program" option to get rid of the debug code inside the SX. 4. Select "Run/Clock" from the IDE, and set the clock frequency to 50 MHz. When the LED blinks again, you are still in good shape. 5. Quit the SX-Key IDE, power down the system, remove the SX-Key, and insert or connect the 50 MHz resonator. 6. Power up the system again. When the LED does not blink, the resonator might be defective. If you have an oscope with sufficient bandwidth available, you might check the signal at the SX OSC1 pin. You should see a 50 MHz sine wave when the clock is working. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143298#m143497 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)