SC9S12XS256J1MAA FREESCALE [Freescale Semiconductor, Inc], SC9S12XS256J1MAA Datasheet - Page 651

no-image

SC9S12XS256J1MAA

Manufacturer Part Number
SC9S12XS256J1MAA
Description
HCS12 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
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.
20.4.3
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.
20.4.3.1
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
Freescale Semiconductor
Register
FSTAT
Flash Command Complete
ECC Double Bit Fault on Flash Read
ECC Single Bit Fault on Flash Read
Interrupts
Description of Flash Interrupt Operation
Vector addresses and their relative interrupt priority are determined at the
MCU level.
Interrupt Source
CCOBIX[2:0]
Table 20-63. Erase D-Flash Sector Command FCCOB Requirements
MGSTAT1
MGSTAT0
ACCERR
Error Bit
001
Table 20-64. Erase D-Flash Sector Command Error Handling
FPVIOL
Global address [15:0] anywhere within the sector to be erased.
S12XS Family Reference Manual, Rev. 1.09
Set if CCOBIX[2:0] != 001 at command launch
Set if command not available in current mode (see
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
Table 20-65. Flash Interrupt Sources
See
(FERSTAT register)
(FERSTAT register)
(FSTAT register)
Section 20.1.2.2
Interrupt Flag
DFDIF
SFDIF
CCIF
NOTE
FCCOB Parameters
for D-Flash sector size.
Error Condition
(FERCNFG register)
(FERCNFG register)
(FCNFG register)
Local Enable
DFDIE
SFDIE
CCIE
64 KByte Flash Module (S12XFTMR64K1V1)
Table
20-28)
Global (CCR)
Mask
I Bit
I Bit
I Bit
651

Related parts for SC9S12XS256J1MAA