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.

FLASH Memory Write/Erase Cycles

Other Parts Discussed in Thread: TMS570LS3137

I am using the microcontroller TMS570LS3137 and F021 API (version -> 1.51) to perform read and write operations on flash memory.

I need to know what would happen if I try to write in Flash memory (program or data Flash) when their write cycles are over.

What would be the return value of the function Fapi_checkFsmForReady () or what would happen if Fapi_issueProgrammingCommand(…) function is called when write cycles are over during writing process?

I would appreciate so much if someone can help me, please.

Regards…

  • Hello David,

    We are looking in to this, will get back to you at the earliest possible.

  • Hello David,

    There is no counter in the device that keeps track of write/erase cycles.  If the datasheet specification on max number of write / erase cycles is  exceeded this just means you have exceeded the number of write / erase cycles we have characterized to and willing to take responsibility for.  If a location has exceeded the max w/e cycles and goes bad, you would either see a Program Verify (PGV) or Erase Verify (EV) bit set along with the Command Status (CSTAT) bit set in the FMSTAT register returned by Fapi_getFsmStatus() after issuing an Erase or Program command.