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.

CCS/MSP432E401Y: Storing dynamic variables in flash memory

Part Number: MSP432E401Y

Tool/software: Code Composer Studio

I would like to store arrays and their values when the power is turned off.
These arrays will not be constant and will be updated as the code executes.
I was going to use the flash memory on the controller to fulfill this purpose.

I was going through the datasheet when I found this under flash memory (section 6.4.2)


"Memory blocks can be marked as read only or execute only, providing different levels of code protection. Read-only blocks cannot be
erased or programmed, protecting the contents of those blocks from being modified. Execute-only blocks
cannot be erased or programmed, and can only be read by the controller instruction fetch mechanism,
protecting the contents of those blocks from being read by either the controller or a debugger."

does this mean the flash cannot be used for my intended purpose?
If not, how should i go about storing dynamic non-volatile variables?


I've looked at a few forms and found this one to be helpful
https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/575884/2116505#2116505

however they are using a different version msp432 and was wondering what applied to my specific MCU.

Thanks

**Attention** This is a public forum