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.

Programming information memory (flash)

Other Parts Discussed in Thread: MSP430F5438A

Hi everybody !

I have a section of my code that needs to be executed only once (at the first reset following my MCU programmation).

To achieve it, I was thinking about using the INFO flash segment.

1 - when programming the MCU, writing a boolean to 1 in flash

2 - reset it a first execution

I'm able to read/write into flash, but I'm looking for a way to store my boolean value when programming my MCU. I'm assuming it's just a #pragma I cannot find.

Thank you for your help ;)

Laurent

**Attention** This is a public forum