In SX Microcontrollers, SX/B Compiler and SX-Key Tool, dkemppai wrote: Hi all, Had another SX blow last night. The "VPP Generation" Error popped up again. Checked OSC1 to ground, and it was 183 Ohms! So, I'm thinking WTF! I replaced that SX, and ALL of my the problems went away. I could program and debug at 5 volts, and 3.0 volts... Then I started checking a few things. I threw the fluke between my scope ground and PC ground. .002 volts max, .001 volts min, so that was acceptable. Then I threw the meter between my scope ground and my power supply ground. Same story, very low voltage. Then I turned the power supply on. And I got a peak measurement of 31volts, to my scope ground! Now something to start looking at! So, I throw the scope probe on the supply ground, and I see a 60Hz 76Vp-p signal. Ah-HA! Power supply is now suspect. The ground lead of the supply isn't ground, it's floating! Apparently it's meant to be a floating supply! Except, that the thing appears to have capacitive coupling to the AC Mains (through the transformer, probably?!?). For grins I measured the AC current between the grounds, 13uA (very small). So, my solution was to tear into the supply, and place a 10uF 100V poly cap from the supply ground to earth ground. The measured voltage is now 2mV Peak to peak between the grounds. (The capacitor solution will allow me to float the supply if necessary, yet it swamps the leakage capacitance in the transformer... ...I may add a bleeder resistor to ground tonight.) A quick calculation shows that the transformer capacitance is on the order of 270pF... Anyway, I'm guessing that the high voltage was stressing the chips, and pushing them close to failure and they wouldn't work at 3.0 volts. (Still seems a bit weird, as overvoltage failures are usually catastrophic). It looks like, Eventually the chips would fail, then nothing would work... ...Overall, things seem to be working again... ...until the next weird thing... Thanks again for all who replied, and helped! -Dan ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=245014#m245716 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)