spin stamp eeprom
Peter Verkaik
Posts: 3,956
Is there a way to determine what area of the spin stamp eeprom is unused (unoccupied by program)?
Is the entire eeprom overwritten with each new download of a program to eeprom, or are just
the program bytes downloaded so written data by the application can be retained?
regards·peter
Is the entire eeprom overwritten with each new download of a program to eeprom, or are just
the program bytes downloaded so written data by the application can be retained?
regards·peter
Comments
The 32K boot area is always overwritten on a download. Any remaining EEPROM is completely untouched by the download.
The memory map in the Propeller Tool will tell you what's unused, but you can also check the word at location 8 which contains
the number of bytes downloaded (rounded up to the nearest 4 byte boundary). EEPROM beyond that point is cleared to zero to
the end of the 32K boot area.
In order to preserve data in the EEPROM through downloads, it must be stored above the 1st 32K bytes.