Other Parts Discussed in Thread: MSP430F5659
I need to write some user-data to the internal FLASH (and read it later on).
What is the best way to do it when using TI-RTOS?
Thanks,
Boaz
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Other Parts Discussed in Thread: MSP430F5659
I need to write some user-data to the internal FLASH (and read it later on).
What is the best way to do it when using TI-RTOS?
Thanks,
Boaz
Thanks you Janet, it was easier than I thought :)
I'm posting this other users:
My device is MSP430F5659, TIRTOS 2.14.03.28. I used the INFO section, which is configured such that the linker will not place code there. Then:
Supposing I require a larger 64K bank, can you please explain how to configure the linker to reserve this section for user info?
Hi Boaz,
Here is an example from an MSP432 linker command file:
MEMORY
{
MAIN (RX) : origin = 0x00000000, length = 0x0003C000
MAIN_NVS (RW) : origin = 0x0003C000, length = 0x00004000 /* 4 pages */
INFO (RX) : origin = 0x00200000, length = 0x00004000
SRAM_CODE (RWX): origin = 0x01000000, length = 0x00010000
SRAM_DATA (RW) : origin = 0x20000000, length = 0x00010000
}
Four pages are taken from MAIN and reserved for the application (MAIN_NVS).
Best regards,
Janet