working with data in flash
This is a rookie question, but I am struggling to find resources on how to do this.
I would like to store some data values in flash (mainly an address) which can be changed at run time (typically only once).
I am using the LM3S101 and IAR EWARM.
1) How do I direct the compiler to place the data at a particular place? e.g. last 1kB of flash
2) What type of qualifier should be used on the variable? e.g. const or volatile
3) Are there any examples or resources that I could look at for more info?
Thanks, Duncan
login or register to reply
|