EEPROM Programming error
Vyrus
Posts: 2
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
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.