In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Zoot wrote: Your settings are correct. Remember that the DEVICE line is *irrelevant* for debug -- in debug mode, the FREQ directive tells the SX-Key what clock speed to generate; when running standalone, the DEVICE line OSC directive tells the SX what "range" of clock may be attached, but the clock speed will be whatever the clock (i.e. resonator, crystal, oscillator) actually generates. Also, when debugging, you need to make sure that your header pins are clean, you've got a solid connection with the SX-Key, that the external resonator/crystal/clock is removed. Otherwise you may not get a good connection for debugging (often manifested in the debug buttons like "stop", "run", etc. being "grayed out"). Do you want to post your code if you're still having trouble? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=323615#m323618 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)