In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJMonty wrote: Joey, On your breadboard, as others have mentioned, you [b]must[/b] remove the TTL clock chip from the circuit before debugging. You can't just disable it via the enable line. Either pull the entire chip, or pull the "clock out" line from it to the SX before trying to debug. The SX-Key will not function properly if the TTL clock line is attached. Regarding your PCB version, when it goes to "sleep" , what happens when you hit "Reset" on the debug control panel? I have found the USB SX-Keys are somewhat fussy, and sometimes mine will go to "sleep" when I enter debug or try and single step, but hitting "Reset" will make this problem go away. Also, as a test, set the "FREQ" line in your source code to 20 MHz, hit CTRL-D to re-program the chip for debug mode, and see if the problem goes away. BTW, what is the clock source on the PCB? Resonator or TTL? If TTL, is it disconnected? Regarding break in software, I find it to cause "sleep" problems, so I never use it. When you enter debug mode, the chip is idling and doing nothing. You can then set a breakpoint in the debug IDE or single step without having to ever use the software "break" function. Thanks, PeterM ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=372386#m373153 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)