![](http://datasheet.mmic.net.cn/370000/P9S12XEP100J1VVLR_datasheet_16728329/P9S12XEP100J1VVLR_886.png)
Chapter 23 1024 KByte Flash Module (S12XFTM1024K5V2)
MC9S12XE-Family Reference Manual , Rev. 1.07
886
Freescale Semiconductor
23.4.2.5
Load Data Field Command
The Load Data Field command is executed to provide FCCOB parameters for multiple P-Flash blocks for
a future simultaneous program operation in the P-Flash memory space.
Upon clearing CCIF to launch the Load Data Field command, the FCCOB registers will be transferred to
the Memory Controller and be programmed in the block specified at the global address given with a future
Program P-Flash command launched on a P-Flash block. The CCIF flag will set after the Load Data Field
operationhascompleted.NotethatonceaLoadDataFieldcommandsequencehasbeeninitiated,theLoad
Data Field command sequence will be cancelled if any command other than Load Data Field or the future
Program P-Flash is launched. Similarly, if an error occurs after launching a Load Data Field or Program
P-Flash command, the associated Load Data Field command sequence will be cancelled.
Table 23-40. Load Data Field Command FCCOB Requirements
CCOBIX[2:0]
FCCOB Parameters
000
0x05
Global address [22:16] to
identify P-Flash block
001
Global address [15:0] of phrase location to be programmed
1
1
Global address [2:0] must be 000
010
Word 0
011
Word 1
100
Word 2
101
Word 3
Table 23-41. Load Data Field Command Error Handling
Register
Error Bit
Error Condition
FSTAT
ACCERR
Set if CCOBIX[2:0] != 101 at command launch
Set if command not available in current mode (see
Table 23-29
)
Set if an invalid global address [22:0] is supplied
Set if a misaligned phrase address is supplied (global address [2:0] != 000)
Set if a Load Data Field command sequence is currently active and the selected
block has previously been selected in the same command sequence
Set if a Load Data Field command sequence is currently active and global
address [17:0] does not match that previously supplied in the same command
sequence
FPVIOL
Set if the global address [22:0] points to a protected area
MGSTAT1
None
MGSTAT0
None
FERSTAT
EPVIOLIF
None