English
Language : 

MC9S12XEP100_07 Datasheet, PDF (1137/1430 Pages) Freescale Semiconductor, Inc – Reference Manual Covers MC9S12XE Family
Chapter 27 512 KByte Flash Module (S12XFTM512K3V1)
27.4.2.8 Erase All Blocks Command
The Erase All Blocks operation will erase the entire P-Flash and D-Flash memory space including the EEE
nonvolatile information register.
Table 27-47. Erase All Blocks Command FCCOB Requirements
CCOBIX[2:0]
000
FCCOB Parameters
0x08
Not required
Upon clearing CCIF to launch the Erase All Blocks command, the Memory Controller will erase the entire
Flash memory space and verify that it is erased. If the Memory Controller verifies that the entire Flash
memory space was properly erased, security will be released. During the execution of this command
(CCIF=0) the user must not write to any Flash module register. The CCIF flag will set after the Erase All
Blocks operation has completed.
Table 27-48. Erase All Blocks Command Error Handling
Register
FSTAT
FERSTAT
Error Bit
ACCERR
FPVIOL
MGSTAT1
MGSTAT0
EPVIOLIF
Error Condition
Set if CCOBIX[2:0] != 000 at command launch
Set if a Load Data Field command sequence is currently active
Set if command not available in current mode (see Table 27-30)
Set if any area of the P-Flash memory is protected
Set if any errors have been encountered during the verify operation
Set if any non-correctable errors have been encountered during the verify
operation
Set if any area of the buffer RAM EEE partition is protected
Freescale Semiconductor
MC9S12XE-Family Reference Manual , Rev. 1.14
1137