MPC56xx C90FL Flash Recovery: In Case of Brownout during Flash Erase Operation

2021-08-19
Introduction:
●The MPC56xx family of devices have internal nonvolatile flash memory that is used for code and data. Two types of flash modules have been implemented on the Freescale MPC56xx devices, the C90FL and the C90LC. The C90FL flash is optimized for large flash memory arrays, while the C90LC is optimized for smaller flash array configurations. Flash memory is designed to allow fast programming, but requires that a full block be erased at a time. Once programmed, the flash memory retains its programed state (nonvolatile) while powered off. In this technology, each cell in the flash memory array holds the value of one bit (either 0 for programmed or 1 for erased). This is a 2 level NOR flash implementation¹ and uses a single voltage threshold to determine if a bit is high or low. This insures maximum data retention to meet harsh automotive requirements. For even more protection against bit-flips, this technology implements Error Correction Coding (ECC) that is guaranteed to correct single bit errors and will identify any double-bit errors within the ECC code word (64-bit data bits plus 8 ECC parity bits). Due to ECC, it is possible to put the flash memory into a state where the ECC bits are invalid. This can occur if an erase operation is interrupted prior to completion.
●If a brownout occurs during an erase operation on the C90FL flash, the flash blocks being erased can be left in an indeterminate state (invalid ECC values). A brownout is defined as an accidental power loss or supply voltage drop or unexpected reset.
●This application note describes how to recover the C90FL flash block(s) that were left in illegal states by an interrupted erase, if such a brownout occurs.

NXP

MPC56xxMPC564xAMPC564xLMPC564xSMPC5668GMPC5668FMPC567xFMPC5676R

More

Part#

More

More

Application note & Design Guide

More

More

Please see the document for details

More

More

English Chinese Chinese and English Japanese

02 May 2012

Rev. 1

AN4521

286 KB

- The full preview is over. If you want to read the whole 9 page document,please Sign in/Register -
  • +1 Like
  • Add to Favorites

Recommend

All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.

Contact Us

Email: