English
Language : 

MC9S12XEQ384VAG Datasheet, PDF (882/1324 Pages) Freescale Semiconductor, Inc – MC9S12XEP100 Reference Manual Covers MC9S12XE Family
Chapter 24 128 KByte Flash Module (S12XFTM128K2V1)
Register
FSTAT
FERSTAT
Table 24-66. Program D-Flash Command Error Handling
Error Bit
ACCERR
FPVIOL
MGSTAT1
MGSTAT0
EPVIOLIF
Error Condition
Set if CCOBIX[2:0] < 010 at command launch
Set if CCOBIX[2:0] > 101 at command launch
Set if command not available in current mode (see Table 24-30)
Set if an invalid global address [22:0] is supplied
Set if a misaligned word address is supplied (global address [0] != 0)
Set if the global address [22:0] points to an area in the D-Flash EEE partition
Set if the requested group of words breaches the end of the D-Flash block or goes
into the D-Flash EEE partition
None
Set if any errors have been encountered during the verify operation
Set if any non-correctable errors have been encountered during the verify
operation
None
24.4.2.17 Erase D-Flash Sector Command
The Erase D-Flash Sector operation will erase all addresses in a sector of the D-Flash user partition.
Table 24-67. Erase D-Flash Sector Command FCCOB Requirements
CCOBIX[2:0]
000
001
FCCOB Parameters
0x12
Global address [22:16] to identify
D-Flash block
Global address [15:0] anywhere within the sector to be erased.
See Section 24.1.2.2 for D-Flash sector size.
Upon clearing CCIF to launch the Erase D-Flash Sector command, the Memory Controller will erase the
selected Flash sector and verify that it is erased. The CCIF flag will set after the Erase D-Flash Sector
operation has completed.
MC9S12XE-Family Reference Manual Rev. 1.25
882
Freescale Semiconductor