Shop OBEX P1 Docs P2 Docs Learn Events
EEPROM Programming error! Help! — Parallax Forums

EEPROM Programming error! Help!

HumanOzzHumanOzz Posts: 13
edited 2011-03-22 04:16 in Propeller 1
Hey Guys,

I need help with my propeller, i cant load my programs into the EEPROM. It says, EEPROM PROGRAMMING ERROR ON COM PORT!

I have never tried loading it to the EEPROM before, i usually load to RAM for program testing. Why is this? GRRRR redface.gif

I'm using the propstick USB version: http://www.parallax.com/Store/Microcontrollers/PropellerProgrammingKits/tabid/144/ProductID/506/List/1/Default.aspx?SortField=ProductName,ProductName

HELP! shocked.gif

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2010-07-09 04:08
    Two things come to mind:

    1) The program may be too big (> 32K). It won't fit into RAM, but it also won't fit into EEPROM.

    2) There may be some kind of power glitch during EEPROM programming. Check your power supply.

    3) If you're using a slowish PC with Windows, there may be something going on in the background (like a Windows Update) that's causing a timing problem during EEPROM programming.

    4) The Propstick USB may be defective. If you've checked for #s 1-3 already, give Parallax Tech Support a call in the morning.
  • HumanOzzHumanOzz Posts: 13
    edited 2010-07-09 06:36
    Hey, thanks for the quick reply.
    Hmm, well, for the 1st case, i even try a very simple program, it can load to RAM but the same error occurs when i try to load it to EEPROM.
    And i think theres no problem with the power supply, i tried different newer batteries and the same thing happen aswell.
    For PC, well, i tried two other PCs nnn same thing again.
    Is there any other factor that we may have missed out?
    Sorry for the trouble but thanks for the help
  • p00ndawgp00ndawg Posts: 70
    edited 2010-07-09 13:50
    try a different cable.

    also before you program, look in the propellor tool for the button that says find hardware and then try programming it. Thats fixed alot of the issues Ive had with connections.
  • ke4pjwke4pjw Posts: 1,173
    edited 2010-07-09 16:16
    Make sure that you have the 10K pull-up resistor in place on the EEPROM. Had the same problem with one of my projects. Could program the prop, but not the EEPROM.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    -- Terry
  • hover1hover1 Posts: 1,929
    edited 2010-07-09 17:41
    Since the OP is using the PropStick USB, there is a 10k pullup built on board to SDA.

    Jim
    ke4pjw said...
    Make sure that you have the 10K pull-up resistor in place on the EEPROM. Had the same problem with one of my projects. Could program the prop, but not the EEPROM.
  • jazzedjazzed Posts: 11,803
    edited 2010-07-09 17:49
    While the Prop-stick "design" is know to work, there may be some kind of damage to the EEPROM interface that would cause this problem. Call Parallax tech support.

    Good luck.
    --Steve

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Pages: Propeller JVM
  • DaveJensonDaveJenson Posts: 375
    edited 2010-07-09 21:52
    I had the same problem with a SchmartBoard/ez propeller module. It turned out that one end of the 10k pullup was not quite soldered down properly. Once that was taken care of, the module works perfectly.
  • HumanOzzHumanOzz Posts: 13
    edited 2010-07-10 06:54
    Guys, thanks for the help, it works now, its quite odd though.
    i contacted parallax support and they said to remove anything thats connected to pin 28 or pin 29..
    well, i removed them then try loading to EEPROM, it works!
    Do any of you guys know the reasons behind this?
  • hover1hover1 Posts: 1,929
    edited 2010-07-10 12:21
    If you take a look at the schematic for the PropStick in this document:

    http://www.parallax.com/Portals/0/Downloads/docs/prod/prop/32210-PropStickUSB-1.2.pdf

    you will see P28 and P29 are used by the Prop to communicate with the EEPROM. If you had something that was connected to either of those
    pins that was holding the line high or low, the EEPROM could not be programmed.

    Jim

    HumanOzz said...
    Guys, thanks for the help, it works now, its quite odd though.
    i contacted parallax support and they said to remove anything thats connected to pin 28 or pin 29..
    well, i removed them then try loading to EEPROM, it works!
    Do any of you guys know the reasons behind this?
    390 x 250 - 12K
  • HumanOzzHumanOzz Posts: 13
    edited 2010-07-10 13:21
    Ohhh, didnt see that one coming.. Thanks Jim [noparse]:)[/noparse]
  • MarianoMariano Posts: 1
    edited 2011-03-22 03:53
    Hi, I have the same problem with the schmartboard, I test the connections and all are oks. The memory that I use is a CAT24C64 from ON Semiconductor. I try with other chips (CAT24C64 too) and again it program the RAM but don't the EEPROM. Can someone help me?

    Thanks.

    Mariano.
  • PublisonPublison Posts: 12,366
    edited 2011-03-22 04:16
    The device you are using is only 8Kx8. You need at least a 32Kx8 to load a program into EEPROM. (The Propeller Tool writes the full 32K each time). A chip like an Atmel 24C256 would be a good one.

    Mariano wrote: »
    Hi, I have the same problem with the schmartboard, I test the connections and all are oks. The memory that I use is a CAT24C64 from ON Semiconductor. I try with other chips (CAT24C64 too) and again it program the RAM but don't the EEPROM. Can someone help me?

    Thanks.

    Mariano.
Sign In or Register to comment.