English
Language : 

K60P100M100SF2RM Datasheet, PDF (688/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Flash Operation in Low-Power Modes
Table 28-72. Program Partition Command Error Handling (continued)
Error Condition
FlexNVM Partition Code allocates space for EEPROM backup, but EEPROM Data Size
Code allocates no FlexRAM for EEPROM
FCCOB4[7:6] != 00
FCCOB5[7:4] != 0000
Any errors have been encountered during the verify operation
Error Bit
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[MGSTAT0]
28.4.12.16 Set FlexRAM Function Command
The Set FlexRAM Function command changes the function of the FlexRAM:
• When not partitioned for EEPROM, the FlexRAM is typically used as traditional
RAM.
• When partitioned for EEPROM, the FlexRAM is typically used to store EEPROM
data.
Table 28-73. Set FlexRAM Function Command FCCOB Requirements
FCCOB Number
0
1
FCCOB Contents [7:0]
0x81 (SETRAM)
FlexRAM Function Control Code
(see Table 28-74)
Table 28-74. FlexRAM Function Control
FlexRAM Function
Control Code
0xFF
0x00
Action
Make FlexRAM available as RAM:
• Clear the FCNFG[EEERDY] and FCNFG[RAMRDY] flags
• Write a background of ones to all FlexRAM locations
• Set the FCNFG[RAMRDY] flag
Make FlexRAM available for EEPROM:
• Clear the FCNFG[EEERDY] and FCNFG[RAMRDY] flags
• Write a background of ones to all FlexRAM locations
• Copy-down existing EEPROM data to FlexRAM
• Set the FCNFG[EEERDY] flag
After clearing CCIF to launch the Set FlexRAM Function command, the FTFL sets the
function of the FlexRAM based on the FlexRAM Function Control Code.
When making the FlexRAM available as traditional RAM, the FTFL clears the
FCNFG[EEERDY] and FCNFG[RAMRDY] flags, overwrites the contents of the entire
FlexRAM with a background pattern of all ones, and sets the FCNFG[RAMRDY] flag.
The state of the FEPROT register does not prevent the FlexRAM from being overwritten.
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
688
Freescale Semiconductor, Inc.