Hi,
I'm using the MSP430F5510. i'd like to save some data in the mcu flash instead of using an external eeprom.
I found some examples code that show how to erase and write in flash. What i do not understand it's how to reserve a piece of flash for my data.
I dot not need to store a lot of data, let's say 20 bytes. Therefore i need to reserve a full 512 bytes segment in order to be able to erase the segment independently from the rest of the memory.
How can i reserve the segment for my data and be sure that when i will store my data the segment will be empty?
I know i have to deal with the linker but i do not know how to do it. Is there any application note or document that explain the linker file syntax?
Can you post a linker example code which reserve a segment for data?
Thanks!
Best regads,
Carloalberto