Shop OBEX P1 Docs P2 Docs Learn Events
Propeller eeprom question — Parallax Forums

Propeller eeprom question

Peter VerkaikPeter Verkaik Posts: 3,956
edited 2008-02-09 09:12 in Propeller 1
I found the "Propeller Eeprom.spin" object" (v0.6) that seems to do
what I want, which is to write received bytes that normally would
be placed in a DAT word array, to the exact eeprom location from
where that array is loaded upon reset.

Can I assume that if my DAT word array starts at address X,
the eeprom address from where the array is loaded is·also·X ?

regards peter

Comments

  • deSilvadeSilva Posts: 2,967
    edited 2008-02-09 08:51
    Yes, because that is the basic mechanism by which the (32k) EEPROM is completely copied onto RAM in the bootstrap phase.

    BTW: Note the small bug I identified some time ago in EEPROM.SPIN: When storing to the EEPROM it always fills to the end of the page, which could not be what you want in a few cases....
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-02-09 09:12
    Thanks.

    regards peter
Sign In or Register to comment.