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

EEPROM Programming error

VyrusVyrus Posts: 2
edited 2009-10-04 04:40 in Propeller 1
when running the following example code, I get an error message in the Propeller Tool that sais "EEPROM Programming error on com4", however I can load to RAM just fine.· Also when i unplug my serial -> usb adapter, what ever code I'm running stops.

'' Title: SchmartBoard Kit Test
'' Author: Parallax Inc.
CON
  _clkmode = xtal1 + pll16x 'System clock
  _xinfreq = 5_000_000 'set 80 MHz
  Pin = 23 'select I/O pin to test

PUB MAIN
  dira[noparse][[/noparse]Pin]~~ ' Sets Pin as output
  outa[noparse][[/noparse]Pin]~ ' Sets Pin low

  repeat
    !outa[noparse][[/noparse]Pin] ' Toggles Pin
    waitcnt(clkfreq + cnt) ' Wait 1 sec

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-10-04 04:04
    There's something wrong with the wiring of your EEPROM on your board (or the EEPROM itself).

    When you unplug your USB to Serial adapter, you're probably causing the Propeller to reset. Since the EEPROM isn't working, the Propeller can't load a program into RAM from EEPROM and the chip halts.
  • VyrusVyrus Posts: 2
    edited 2009-10-04 04:40
    hm... perhaps i should re solder the eeprom and see if that works ... if nothig else i guess i can swap to the stock one (I orderd one of the bigger ones)
Sign In or Register to comment.