English
Language : 

K60P100M100SF2RM Datasheet, PDF (689/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Chapter 28 Flash Memory Module (FTFL)
When the FlexRAM is set to function as a RAM, normal read and write accesses to the
FlexRAM are available. When large sections of flash memory need to be programmed,
e.g. during factory programming, the FlexRAM can be used as the Section Program
Buffer for the Program Section command (see Program Section Command).
When making the FlexRAM available for EEPROM, the FTFL clears the
FCNFG[EEERDY] and FCNFG[RAMRDY] flags, overwrites the contents of the
FlexRAM allocated for EEPROM with a background pattern of all ones, and copies the
existing EEPROM data from the EEPROM backup record space to the FlexRAM. After
completion of the EEPROM copy-down, the FCNFG[EEERDY] flag is set. When the
FlexRAM is set to function as EEPROM, normal read and write access to the FlexRAM
is available, but writes to the FlexRAM also invoke EEPROM activity.
Table 28-75. Set FlexRAM Function Command Error Handling
Error Condition
Command not available in current mode/security
FlexRAM Function Control Code is not defined
FlexRAM Function Control Code is set to make the FlexRAM available for EEPROM, but
FlexNVM is not partitioned for EEPROM
Error Bit
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[ACCERR]
28.4.13 Security
The FTFL module provides security information to the MCU based on contents of the
FSEC security register. The MCU then limits access to FTFL resources as defined in the
device's Chip Configuration details. During reset, the FTFL module initializes the FSEC
register using data read from the security byte of the Flash Configuration Field (see Flash
Configuration Field Description).
The following fields are available in the FSEC register. The settings are described in the
Flash Security Register (FTFL_FSEC) details.
Table 28-76. FSEC register fields
FSEC field
KEYEN
MEEN
FSLACC
SEC
Description
Backdoor Key Access
Mass Erase Capability
Freescale Factory Access
MCU security
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
689