SX-Key Error Message: Vpp generation failed.
wbahn
Posts: 13
I'm brand new to the SX (have some experience, though dated, with PICs).
I tried to program the part (an SX20) with an SX-Key and got the error that the programming voltage couldn't be generated. I did a search for Vpp in the reference manual and didn't get a single hit.
Anyone have any suggestions?
Is there any place where there is a list of error messages and most likely causes/actions?
TIA
·
I tried to program the part (an SX20) with an SX-Key and got the error that the programming voltage couldn't be generated. I did a search for Vpp in the reference manual and didn't get a single hit.
Anyone have any suggestions?
Is there any place where there is a list of error messages and most likely causes/actions?
TIA
·
Comments
Is the SX20 in a circuit you designed and built, or someone elses? Are you using a resonator, crystal, or TTL oscillator to provide the clock when the SX-Key isn't present?
Thanks, PeterM
http://forums.parallax.com/showthread.php?p=600788
It's a custom design, but someone that is quite experienced with the SX said my schematics are fine. I'm using a CMOS oscillator (which I can enable/disable with a jumper on the board). The footprint I used had the wrong width (too narrow) and so I had to really bend in the pins to get them onto the pads. My plan was to check it closely for shorts this weekend - and based on what has been said here that sounds like the most likely explanation.
Thanks a lot and I'll report back on what I find.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
I removed the bridge and it claims to have programmed fine.
In response to your question, Gunther, neither OSC pin is isolated from the rest of the world during programming. I tried to insert a fragment of the schematic in this post but don't know if it will appear or not.
The output of a 50 MHz CMOS oscillator is connected to OSC1 through the series combination of a 0.01uF capacitor and a 330 ohms resistor. Then there is a 1 Mohm resistor connecting OSC1 to OSC2. The programming header connects directly to these pins. My friend said that he has been using this arrangment for years and does not even need to disable the oscillator output. I tried programming the SX again with the oscillator enabled (haven't yet verified that it is actually running, though) and it still appears to have programmed fine.