MSPM0L2228: ECC error checking on blank flash

Part Number: MSPM0L2228

Hello,

Does reading from blank flash carry any risk of generating an ECC error? The TRM says that the state of flash after erasing a sector is not guaranteed so is there a possibility if you read from an erased flash region that there could be a bit error detected?

Is there logic in the flash controller that recognizes the erased flash and disables ECC checking?

Munan

  • Hi Munan,

    If the Flash word (8-byte) is erased successfully, then the Flash bit cells are all 0xFF and ECC bit cells are 0xFF. At this moment, the ECC check logic will be ignored.

    While if the flash erase operation (per sector) is not completed, then the unstable flash bit value will results in ECC error.

    B.R.

    Sal

  • Hey Sal,

    Thanks for the feedback. Do we need to run a blankverify before reading potentially erased memory address then? Or is it OK to just directly read?

    Munan