English
Language : 

MC9S12G Datasheet, PDF (897/1160 Pages) Freescale Semiconductor, Inc – Ignores external trigger. Performs one conversion sequence and stops.
96 KByte Flash Module (S12FTMRG96K1V1)
25.4.6.2 Erase Verify Block Command
The Erase Verify Block command allows the user to verify that an entire P-Flash or EEPROM block has
been erased. The FCCOB FlashBlockSelectionCode[1:0] bits determine which block must be verified.
Table 25-33. Erase Verify Block Command FCCOB Requirements
CCOBIX[2:0]
000
FCCOB Parameters
Flash block
0x02
selection code [1:0]. See
Table 25-34
Table 25-34. Flash block selection code description
Selection code[1:0]
00
01
10
11
Flash block to be verified
EEPROM
Invalid (ACCERR)
P-Flash
P-Flash
Upon clearing CCIF to launch the Erase Verify Block command, the Memory Controller will verify that
the selected P-Flash or EEPROM block is erased. The CCIF flag will set after the Erase Verify Block
operation has completed.If the block is not erased, it means blank check failed, both MGSTAT bits will be
set.
Table 25-35. Erase Verify Block Command Error Handling
Register
Error Bit
Error Condition
ACCERR
Set if CCOBIX[2:0] != 000 at command launch
Set if an invalid FlashBlockSelectionCode[1:0] is supplied1
FSTAT
FPVIOL
MGSTAT1
None
Set if any errors have been encountered during the read2 or if blank check failed.
MGSTAT0
Set if any non-correctable errors have been encountered during the read2 or if
blank check failed.
1 As defined by the memory map for FTMRG96K1.
2 As found in the memory map for FTMRG96K1.
MC9S12G Family Reference Manual, Rev.1.01
Freescale Semiconductor
897
This document is valid for the S12G96 and the S12G128 device. All information related to other devices is preliminary.