Information

FlexRAM
Data flash 1
DEPART /2
EEPROM
backup B
FlexNVM Block 1
Subsystem B
EEESIZE
Unavailable
EEPROM partition A
DEPART /2
FlexNVM Block 0
Subsystem A
Size of EEPROM partition A = EEESIZE x EEESPLIT
Data flash 0 and 1 interleaved
Data flash 0
EEPROM partition B
EEPROM
backup A
EEESPLIT = 1/8, 1/4, or 1/2
Figure 28-32. FlexRAM to FlexNVM Memory Mapping with 2 Sub-systems
28.4.3.3 EEPROM Implementation Overview
Out of reset with the FSTAT[CCIF] bit clear, the partition settings (EEESIZE, DEPART,
EEESPLIT) are read from the data flash IFR and the EEPROM file system is initialized
accordingly. The EEPROM file system locates all valid EEPROM data records in
EEPROM backup and copies the newest data to FlexRAM. The FSTAT[CCIF] and
FCNFG[EEERDY] bits are set after data from all valid EEPROM data records is copied
to the FlexRAM. After the CCIF bit is set, the FlexRAM is available for read or write
access.
When configured for EEPROM use, writes to an unprotected location in FlexRAM
invokes the EEPROM file system to program a new EEPROM data record in the
EEPROM backup memory in a round-robin fashion. As needed, the EEPROM file
system identifies the EEPROM backup sector that is being erased for future use and
partially erases that EEPROM backup sector. After a write to the FlexRAM, the
FlexRAM is not accessible until the FSTAT[CCIF] bit is set. The FCNFG[EEERDY] bit
will also be set. If enabled, the interrupt associated with the FSTAT[CCIF] bit can be
used to determine when the FlexRAM is available for read or write access.
Chapter 28 Flash Memory Module (FTFL)
K10 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc. 631