English
Language : 

S9S12XS256J0CAL Datasheet, PDF (653/738 Pages) Freescale Semiconductor, Inc – Microcontrollers
64 KByte Flash Module (S12XFTMR64K1V1)
Table 20-63. Erase D-Flash Sector Command FCCOB Requirements
CCOBIX[2:0]
001
FCCOB Parameters
Global address [15:0] anywhere within the sector to be erased.
See Section 20.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.
Table 20-64. Erase D-Flash 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 20-28)
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 selected area of the D-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
20.4.3 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 20-65. 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
NOTE
Vector addresses and their relative interrupt priority are determined at the
MCU level.
20.4.3.1 Description of Flash Interrupt Operation
The Flash module uses the CCIF flag in combination with the CCIE interrupt enable bit to generate the
Flash command interrupt request. The Flash module uses the DFDIF and SFDIF flags in combination with
S12XS Family Reference Manual, Rev. 1.13
Freescale Semiconductor
653