Shop OBEX P1 Docs P2 Docs Learn Events
Vpp Generation Failure — Parallax Forums

Vpp Generation Failure

DanwDanw Posts: 1
edited 2007-01-09 02:37 in General Discussion
work in a group of volunteer retired engineers at the Calif Science Center. We are designing and building an exhibit on electric circuits.

I (the only one with microprocessor experience, and it is 15 years old!) recommended that we use an sx-28 to control LEDs to show current paths. The ASM programming went smoothly and it works beautifully on SX-Sim. When I first downloaded it to the sx-28 proto board and tried to use the debugger, "running" was indicated, but all control buttons were shaded. Now I get the message "Vpp generation failed". The max voltage on the board (Vin - Vdd) is 10 v. The power supply is your 7.5 v, 1 wall supply.

I modified the program to test on a sx-52 proto board that I bought for a different project, but never used, with the same results.

Where do I measure Vpp? What can I do to save the use of the sx-28? If I can not get this running soon we must use another method.

Please help me!!

Danw
danw@ieee.org
7979 Hollywood Blvd.
Los Angeles, CA 90046
323-850-8040
[noparse][[/noparse]edit] Subject added by moderator

Post Edited By Moderator (Bean (Hitt Consulting)) : 1/9/2007 2:33:01 AM GMT

Comments

  • BeanBean Posts: 8,129
    edited 2007-01-09 02:37
    Danw,
    Do you have a resonator or other clock source connected to OSC1 and/or OSC2 pins ?

    The SX-Key uses these to program the SX chip. The programming voltage is quite a bit higher than Vdd (I think it is 12V).

    Anyway if anything is connected that is keeping the voltage from reaching Vpp (about 12V), then you will get the Vpp Generation Error.

    Usually the SX will program with a resonator in place, but you will get all the debugging buttons grayed out if you try to debug. The fix is simple, remove the resonator.

    Another possibility is that your SX-Key is damaged, if you cannot program the SX52 proto board (you did change the device type right) that may be the case.

    Also if you have the SX-Blitz, it does NOT do debugging. You need the SX-Key for debugging.

    Sorry to ramble on here, but there could be many things that cause this error.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap used 4-digit LED display with driver IC·www.hc4led.com

    Low power SD Data Logger www.sddatalogger.com
    SX-Video Display Modules www.sxvm.com
    Stuff I'm selling on ebay http://search.ebay.com/_W0QQsassZhittconsultingQQhtZ-1

    "USA Today has come out with a new survey - apparently, three out of every four people make up 75% of the population." - David Letterman
Sign In or Register to comment.