English
Language : 

K60P100M100SF2RM Datasheet, PDF (647/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
FlexNVM Block 0
Chapter 28 Flash Memory Module (FTFL)
FlexNVM Block 1
Data flash 0
FlexRAM
EEPROM partition A
Data flash 1
EEPROM
backup A
EEPROM partition B
Unavailable
EEPROM
backup B
Subsystem A
Subsystem B
EEESPLIT = 1/8, 1/4, or 1/2
Size of EEPROM partition A = EEESIZE x EEESPLIT
Data flash 0 and 1 interleaved
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.
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
647