English
Language : 

MC9S12GRMV1 Datasheet, PDF (1131/1292 Pages) Freescale Semiconductor, Inc – MC9S12G Family Reference Manual and Data Sheet
192 KByte Flash Module (S12FTMRG192K2V1)
Table 30-64. Erase EEPROM Sector Command FCCOB Requirements
CCOBIX[2:0]
000
001
FCCOB Parameters
0x12
Global address [17:16] to identify
EEPROM block
Global address [15:0] anywhere within the sector to be erased.
See Section 30.1.2.2 for EEPROM sector size.
Upon clearing CCIF to launch the Erase EEPROM 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 EEPROM Sector
operation has completed.
Table 30-65. Erase EEPROM Sector Command Error Handling
Register
FSTAT
Error Bit
ACCERR
FPVIOL
MGSTAT1
MGSTAT0
Error Condition
Set if CCOBIX[2:0] != 001 at command launch
Set if command not available in current mode (see Table 30-27)
Set if an invalid global address [17:0] is suppliedsee Table 30-3)
Set if a misaligned word address is supplied (global address [0] != 0)
Set if the selected area of the EEPROM 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
30.4.7 Interrupts
The Flash module can generate an interrupt when a Flash command operation has completed or when a
Flash command operation has detected an ECC fault.
Table 30-66. Flash Interrupt Sources
Interrupt Source
Flash Command Complete
ECC Double Bit Fault on Flash Read
ECC Single Bit Fault on Flash Read
Interrupt Flag
CCIF
(FSTAT register)
DFDIF
(FERSTAT register)
SFDIF
(FERSTAT register)
Local Enable
CCIE
(FCNFG register)
DFDIE
(FERCNFG register)
SFDIE
(FERCNFG register)
Global (CCR)
Mask
I Bit
I Bit
I Bit
Freescale Semiconductor
MC9S12G Family Reference Manual, Rev.1.23
1133