Shop OBEX P1 Docs P2 Docs Learn Events
Read and Write to Boot EEPROM — Parallax Forums

Read and Write to Boot EEPROM

JohnBFJohnBF Posts: 107
edited 2007-09-24 02:07 in Propeller 1
I'd like to·read and write·some data·to the unused space on the·ProtoBoard's boot eeprom. I can't quite figure out how to do this from scratch, and I'm not able to make the BasicI2CDriver from the Object Exchange work for me. Any advice on where to go to figure this out? Maybe·I missed something on the Forum or someplace. Any chance someone could do a demo front end to the object for this purpose? Or maybe it's already there and I'm not understanding it.

Thanks!

/John

Comments

  • crgwbrcrgwbr Posts: 614
    edited 2007-09-24 01:55
    I've done this before without too much trouble; just remember that the program is stored starting at address 0, therefore the data must be stored after that. I always start from the end of the eeprom, and work my way down. This thread should help you out.

    Regards,
    Craig

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "... one of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs." -

    "If Python is executable pseudocode, then perl is executable line noise."

    "The best accelerator available for a Mac is one that causes it to go at 9.81 m/s2."

    "My software never has bugs. It just develops random features."

    "Windows isn't a virus, viruses do something."

    "Programmers are tools for converting caffeine into code."

    "Enter any 11-digit prime number to continue."
  • JohnBFJohnBF Posts: 107
    edited 2007-09-24 02:07
    Just what I was looking for. Thanks!· /John
Sign In or Register to comment.