Hello,
i am using the msp430f5437a controller, now i am getting deeper into the programming and i am really wondering on how i can tell the code what to store in which data spaces.
I already figured out the linker *.cmd file and how the RAM and FLASH is initialized in there and i compared that with my corresponding Datasheet page 15 called Memory Organization.
Now several questions are on my mind:
- for my application i will need at least 12 kB of free memory to store some values, can i store those also in the Flash or are variables which are produced in real time code while running only ( by default) stored in RAM.
- there are some tiny Flash Blocks called Information Memory, InfoA etc. , i cannot proof by Code that those are really Flash memory blocks, please could some TI eployee proof where i can get that information from.
.infoA : {} > INFOA /* MSP430 INFO FLASH MEMORY SEGMENTS */
.infoB : {} > INFOB
.infoC : {} > INFOC
.infoD : {} > INFOD
Now corresponding memory:
INFOA : origin = 0x1980, length = 0x0080
INFOB : origin = 0x1900, length = 0x0080
INFOC : origin = 0x1880, length = 0x0080
INFOD : origin = 0x1800, length = 0x0080
it also says RAM starts at
RAM : origin = 0x1C00, length = 0x4000
FLASH should start at:
FLASH : origin = 0x5C00, length = 0xA380
FLASH2 : origin = 0x10000,length = 0x35C00
So do i have to trust TI that the Info is put into the right space?
Thank You in advance for time and effort :)
Greetings. Seb