English
Language : 

K60P100M100SF2RM Datasheet, PDF (687/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Chapter 28 Flash Memory Module (FTFL)
Table 28-71. Valid FlexNVM Partition Codes
FlexNVM Partition Code
(FCCOB5[DEPART])1
0000
0011
0100
0101
0110
1000
1011
1100
1101
1110
Data flash Size (Kbytes)
256
224
192
128
0
0
32
64
128
256
EEPROM backup Size (Kbytes)
0
32
64
128
256
256
224
192
128
0
1. FCCOB5[7:4] = 0000
After clearing CCIF to launch the Program Partition command, the FTFL first verifies
that the EEPROM Data Size Code and FlexNVM Partition Code in the data flash IFR are
erased. If erased, the Program Partition command erases the contents of the FlexNVM
memory. If the FlexNVM is to be partitioned for EEPROM backup, the allocated
EEPROM backup sectors are formatted for EEPROM use. Finally, the partition codes are
programmed into the data flash IFR using the values provided. The Program Partition
command also verifies that the partition codes read back correctly after programming. If
the FlexNVM is partitioned for EEPROM, the allocated EEPROM backup sectors are
formatted for EEPROM use. The CCIF flag is set after the Program Partition operation
completes.
Prior to launching the Program Partition command, the data flash IFR must be in an
erased state, which can be accomplished by executing the Erase All Blocks command or
by an external request (see Erase All Blocks Command). The EEPROM Data Size Code
and FlexNVM Partition Code are read using the Read Resource command (see Read
Resource Command).
Table 28-72. Program Partition Command Error Handling
Error Condition
Command not available in current mode/security
The EEPROM data size and FlexNVM partition code bytes are not initially 0xFFFF
Invalid EEPROM Data Size Code is entered (see Table 28-70 for valid codes)
Invalid FlexNVM Partition Code is entered (see Table 28-71 for valid codes)
FlexNVM Partition Code = full data flash (no EEPROM) and EEPROM Data Size Code
allocates FlexRAM for EEPROM
Error Bit
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[ACCERR]
Table continues on the next page...
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
687