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.

MSPM0L1227: FLASH Erase question.

Part Number: MSPM0L1227


Tool/software:

Hi Sir

I saw some discussions about FLASH in the forum, but I still have the following doubts:

1. Assuming that during the erase process, power suddenly goes out before completion, what will be the state of that flash when powered back on? Will it need to be erased again? Is there an error reporting or checking mechanism?

2. If a certain block is erased three times in a row (with no programming in between), does this count as +1 or +3 for the PE cycle for that block?

BR

Thanks.

 

  • Hi Silson,

    what will be the state of that flash when powered back on?

    It is uncertain status. It requires to be erase again.

    No errpr reported, as device is fully repower, all status is lost. The suggestion is that to check the data in the erased group, if there has data, erase again.

    Note: for the device which support ECC function, directly read of the erase-broken sector might cause FLASHDED error, so make sure a proper handle of FLASHDED (trigger NMI interrupt).

    2. If a certain block is erased three times in a row (with no programming in between), does this count as +1 or +3 for the PE cycle for that block?

    That out of my knowledge. My suggestion is to count by 3 to make it robust on the lifecycle calculation.

    B.R.

    Sal