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.

When writing trouble occurs in the flash memory of Tiva C

Expert 2780 points

I have a question about Flash Memory of Tiva C.
Use as a data area to the flash memory, for example, as writing to every 4 bytes.
If the write was broken off power OFF occurs while writing to the flash memory are four bytes, the problem would not occur areas that have not been written?

ex): API is applicable
flash_write (base +4, 0xabababab);
:
:
flash_write (base +8, 0xcdcdcdcd); <power off

Would not affect the value of the base +4 at this time?

  • Could anyone please reply to his question who is a FAE of our distributor?

    I believe that the other memorys are not broken except the write address when power-off occurs. correct?

    Best regards,

    Kaz Shimada

  • It depends on the version of silicon. 

    See errata for A1, "Flash memory page 0 and 1 may be erased if reset occurs during Flash memory erase operation" and "Reset during Flash memory program or erase or an EEPROM write causes Suspend state." 

    For later versions, the interrupted write will just be aborted and not occur, and the flash registers will return to "reset" values when powered back on.

    Lela