In SX Microcontrollers, SX/B Compiler and SX-Key Tool, George Herzog wrote: Some of the older SX-Key's had firmware that has be revised. You say your product is new. If should be Rev. E or greater. But, you mention a memory chip and a driver chip in your setup. It sounds non-standard. Could you elimiate these from the circuit and retry? Can you get Debug to operate properly with an SXasm program rather than the SX/B? If the problem exists in both, it is more likely that it is a hardware issue. Also, if you want to use the SX-Key IDE help you, you can just select all the hardware features from the DEVICE window and it will create the correct DEVICE directive. Eliminate any duplications. The Device directive can be confusing. Are you confusing information from the old Parallax Assembler [Chapter 8] or the prefered and newer SASM[Chapter 7]? Your STACKX, OPTIONX options are redundant on the SX28, either one alone will do fine. On the SX48/52, that can apparently be completely omitted. Many older programs are problematic. Use Guenther's programs for testing in SXasm as they are all good. Of course, SX/B isn't that old, but try to make sure some vouches for the program's lack of problems for trials. Since you appear to have the ability to program the device, it isn't likely to be the Vdd and Vss are the problem as the power for the SX-Key comes from those pins. And since the two oscillator pins power are used to actual program the E2/Flash with a higher programing voltage, they aren't the problem either. But the power may be drained somewhere onces the programing cycle is complete, maybe a small unseen solder bridge. Last ditch is to try the bare minimum circuit on page 13 of the SX-KEY Development System Manual. If that doesn't help, I could very well be a hardware failure in the oscillator that is on the SX-Key. Does the programed chip function predictably in a test circuit? And does the program run in SXsim? If so, that would begin to point to the SX-Key being the problem. Please forgive the rambling presentation, but I'm out of ideas as I think this covers nearly all. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=252891#m253705 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)