In SX Microcontrollers, SX/B Compiler and SX-Key Tool, dkemppai wrote: [quote="Paul Baker"] Can you post a quick diagram of the resonator and programming header? I am assuming it isn't as simple as forgetting to remove you resonator before plugging the SX-Key in. [/quote]Here is exactly what I do: 1. start by debugging code, using the SX-Key. 2. use the SX-Key to program that same code into the SX. 3. remove the power from the circuit. 4. unplug the SX, and plug the resonator in. 5. attach power (The VDD rise time is always faster than 160uS). 6. test the SX board for functionality (Not using the SX-Key, of course) 7. remove power, and resonator. 8. plug in the SX-Key. 9. I attach power. (Again rise time faster than 160uS) 10. Try to program or debug. At this point, The SX-Key "Chip connection failed". 11. Cycling power several time with the SX-Key attached will usually allow the debuggng/programming to take place. I have the Internal Feedback disabled, and MCLR tied directly the VDD. I'm guessing by the fact that the oscillator always starts, it's not an MCLR issue. I'm starting to wonder if it's an issue due to not having any feedback on the OSC pins... ...maybe the gates are floating to a 'stuck' state. Also, I've had similar issues debugging an SX52 that will not allow programming, until power is cycled. -Dan ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=82811#m82853 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)