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.

Infoflash endurance

Other Parts Discussed in Thread: MSP430F5438A

Hello,

I have to save a counter in the flash of a MSP430F5438A every hour. We choose to store the counter in the infoflash because we assume that the infoflash has an higher endurance than the main flash. 

But in the datasheet I does not found anything about the endurance of the infoflash. It says only that the flash memory has an program and erase endurance of min 10.000 cycles. 

In the following post Chester says that it seems that the endurance for the main flash is also for the info flash. http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/283714/989480.aspx#989480

1. Can the infoflash be written more times than the main flash?

2. When I program 1 byte and erase the segment is that 1 cycle or 2 cycles? 

Best regards,

Jeroen

  • Jeroen Begeer said:
    we assume that the infoflash has an higher endurance than the main flash. 

    This is wrong assumption. Infoflash endurance does not differ from code flash

    Jeroen Begeer said:
    2. When I program 1 byte and erase the segment is that 1 cycle or 2 cycles? 

    1 cycle. Erase cycles matter.

    Do not write counter in single memory location, but many. Last entry of array stores current counter value till array (infoflash) is full. When array full - then before you write counter, segment shall be erased. In case of 16-bit counter value 0xFFFF shall be reserved as "free entry" mark, not actual counter value. I can explain further if needed

**Attention** This is a public forum