128 KByte Flash Module (S12FTMRC128K1V1)
Table 13-44. Erase All Blocks Command Error Handling
Register
Error Bit
Error Condition
Set if CCOBIX[2:0] != 000 at command launch
ACCERR
Set if command not available in current mode (see Table 13-27)
Set if any area of the P-Flash or D-Flash memory is protected
Set if any errors have been encountered during the verify operation
FPVIOL
FSTAT
MGSTAT1
Set if any non-correctable errors have been encountered during the verify
operation
MGSTAT0
13.4.5.8 Erase Flash Block Command
The Erase Flash Block operation will erase all addresses in a P-Flash or D-Flash block.
Table 13-45. Erase Flash Block Command FCCOB Requirements
CCOBIX[2:0]
FCCOB Parameters
Global address [17:16] to
000
001
0x09
identify Flash block
Global address [15:0] in Flash block to be erased
Upon clearing CCIF to launch the Erase Flash Block command, the Memory Controller will erase the
selected Flash block and verify that it is erased. The CCIF flag will set after the Erase Flash Block
operation has completed.
Table 13-46. Erase Flash Block Command Error Handling
Register
Error Bit
Error Condition
Set if CCOBIX[2:0] != 001 at command launch
Set if command not available in current mode (see Table 13-27)
Set if an invalid global address [17:16] is supplied
ACCERR
Set if the supplied P-Flash address is not phrase-aligned or if the D-Flash
address is not word-aligned
FSTAT
FPVIOL
Set if an area of the selected Flash block is protected
MGSTAT1
Set if any errors have been encountered during the verify operation
Set if any non-correctable errors have been encountered during the verify
operation
MGSTAT0
13.4.5.9 Erase P-Flash Sector Command
The Erase P-Flash Sector operation will erase all addresses in a P-Flash sector.
S12P-Family Reference Manual, Rev. 1.13
Freescale Semiconductor
461