Shop OBEX P1 Docs P2 Docs Learn Events
Address to start writing to eeprom that is safe from rewrite? — Parallax Forums

Address to start writing to eeprom that is safe from rewrite?

SpinHeadSpinHead Posts: 28
edited 2008-06-03 02:38 in Propeller 1
I am trying to use Propeller-Eeprom.spin but instead of giving it the address of the variable (which would be written over on a new upload) what is the safe place to start writing, and should I make sure I start on even or Odd? any other tricks or traps?

Using a proto board

Mike

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-06-03 00:58
    On a Protoboard, everything beyond 32K is available and is not touched by the Propeller Tool or by the bootloader. You can use 32768 or $8000 for a starting address. Everything up to 65535 or $FFFF is available. If you're writing more than a single byte at a time, make sure you don't cross over a "page" boundary. For this size EEPROM, pages are 128 bytes and the page boundaries are every 128 bytes.
  • SpinHeadSpinHead Posts: 28
    edited 2008-06-03 02:38
    thank you, thats EXACTLY the information I needed !
Sign In or Register to comment.