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.

MSP-EXP432P401R: Where can I find software examples?

Part Number: MSP-EXP432P401R
Other Parts Discussed in Thread: MSP430FR5989

Hello everyone!

I am looking for a software example(or some general explaining) that helps with the flash memory.

Previously I was using MCUs with FRAM only(msp430fr5989).

I would like to achieve persistent variables but so far I wasnt successful.

I understand that the logic is read-modify-write.

My questions:

How can I create a persistent variable(fore. uchar)?

Do I have to follow the read-modify-write algorythm? or can I do modify-write only?(thinking about something like var++, where var is persistent),

How do I use the variables that I store in flash?

When I am using them are they moved to the ram? 

As I understand, I should not write my variables new value everytime they change, right?

I think this beacuse of the limited amount of read/write on flash memory. Correct me if I am wrong.

I looked at the flash_program_memory software example on dev.ti.com, but i couldnt figure it out.

Also I checked slaa704 and slau356i but i couldnt exactly figure it out.

Bálint

**Attention** This is a public forum