Re:using flash for data storage (as EEPROM)
Oops, you're correct - we do need 16 bits. It's been a long 3 day vacation :)
Looking at the documentation, the FMA does have 16 bits to represent the address offset, so I don't see where you're getting the 15 bits from. Try downloading the latest datasheet.
To read any memory, the following will work (this is the HWREG macro in DriverLib):
data = (*((volatile unsigned long *)(x))), where x is the address you want to read.
login or register to reply
|