English
Language : 

K60P100M100SF2RM Datasheet, PDF (661/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Chapter 28 Flash Memory Module (FTFL)
The 'factory' margin is a bigger deviation from the norm, a more stringent read criteria
that should only be attempted immediately (or very soon) after completion of an erase or
program command, early in the cycling life. 'Factory' margin levels can be used to check
that flash memory contents have adequate margin for long-term data retention at the
normal level setting. If unexpected results are encountered when checking flash memory
contents at 'factory' margin levels, the flash memory contents should be erased and
reprogrammed.
CAUTION
Factory margin levels must only be used during verify of the
initial factory programming.
28.4.12 FTFL Command Description
This section describes all FTFL commands that can be launched by a command write
sequence. The FTFL sets the FSTAT[ACCERR] bit and aborts the command execution if
any of the following illegal conditions occur:
• There is an unrecognized command code in the FCCOB FCMD field.
• There is an error in a FCCOB field for the specific commands. Refer to the error
handling table provided for each command.
Ensure that the ACCERR and FPVIOL bits in the FSTAT register are cleared prior to
starting the command write sequence. As described in Launch the Command by Clearing
CCIF, a new command cannot be launched while these error flags are set.
Do not attempt to read a flash block while the FTFL is running a command (CCIF = 0)
on that same block. The FTFL may return invalid data to the MCU with the collision
error flag (FSTAT[RDCOLERR]) set.
When required by the command, address bit 23 selects between:
• program flash 0 (=0) block
• (for devices with FlexNVM) data flash (=1) block
• (for devices with program flash only) program flash 1 (=1) block
CAUTION
Flash data must be in the erased state before being
programmed. Cumulative programming of bits (adding more
zeros) is not allowed.
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
661