Shop OBEX P1 Docs P2 Docs Learn Events
Basic_I2C_Driver and I2CObject will not let Propeller load code after Write to — Parallax Forums

Basic_I2C_Driver and I2CObject will not let Propeller load code after Write to

F_Nina@Yahoo.ComF_Nina@Yahoo.Com Posts: 3
edited 2008-08-12 00:17 in Propeller 1
If any one can help with a Reset and Reload problem I have after Writing to EEPROM.


Did not see any post RE: EEPROM write and Not allowing Propeller to reload Spin Code after you WriteByte in both Basic_i2c_Driver and I2CObject. Power Down and Reset results in program not reloading.


New to Propeller and just figuered out how to use these Objects, but can't get code to reload with out F10. I can't use F11 it clears the EEPROM of data and the manual did not cover boot problems.

Thanks to one and all
Frank Nina
F_nina@yahoo.comconfused.gif

Comments

  • hippyhippy Posts: 1,981
    edited 2008-08-12 00:17
    It sounds like you're writing to an area of Eeprom which holds program code; the code may load after reset but being corrupted does something unexpected and branches into oblivion.

    As long as you write to the right place in Eeprom the original code should load and execute after a reset. If you have a ProtoBoard or other hardware with 64KB Eeprom, you can safely use the entire upper 32KB area.
Sign In or Register to comment.