English
Language : 

K60P100M100SF2RM Datasheet, PDF (681/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Chapter 28 Flash Memory Module (FTFL)
• FCCOB6 (Current Swap Block Status) - indicates which program flash block is
currently located at relative flash address 0x0_0000.
• FCCOB7 (Next Swap Block Status) - indicates which program flash block will
be located at relative flash address 0x0_0000 after the next reset of the FTFL
module.
NOTE
It is recommended that the user execute the Swap Control
command to report swap status (code 0x08) after any reset to
determine if issues with the swap system were detected during
the swap state determination procedure.
NOTE
It is recommended that the user write 0xFF to FCCOB5,
FCCOB6, and FCCOB7 since the Swap Control command will
not always return the swap state and status fields when an
ACCERR is detected.
The swap indicators are implicitly protected from being programmed during Program
Longword or Program Section command operations and are implicitly unprotected during
Swap Control command operations. The swap indicators are implicitly protected from
being erased during Erase Flash Block and Erase Flash Sector command operations
unless the swap indicator being erased is in the non-active program flash block and the
swap system is in the UPDATE or UPDATE-ERASED state. Once the swap system has
been initialized, the Erase All Blocks command can be used to uninitialize the swap
system.
Table 28-66. Swap Control Command Error Handling
Error Condition
Command not available in current mode/security1
Flash address is not in program flash block 0
Flash address is in the Flash Configuration Field
Flash address is not phrase aligned
Flash address does not match the swap indicator address in the IFR
Swap initialize requested when swap system is not in the uninitialized state
Swap update requested when swap system is not in the ready state
Swap complete requested when swap system is not in the update-erased
state
An undefined swap control code is provided
Swap
Control
Code
All
All
All
All
2, 4
1
2
4
-
Error Bit
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[ACCERR]
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.
681