MC9S12XDP512CFU
Model | MC9S12XDP512CFU |
Description | 16-BIT, FLASH, 40MHz, MICROCONTROLLER, PQFP80 |
PDF file | Total 1348 pages (File size: 8M) |
Chip Manufacturer | PHILIPS |
Chapter 25 2 Kbyte EEPROM Module (S12XEETX2KV1)
Execute Sector Erase/Modify Command Flow
Read: ESTAT register
Bit Polling for
Command
Completion Check
CCIF
Set?
yes
no
Erase
Abort
Needed?
yes
no
Sector Erase
Completed
EXIT
1.
Write: Dummy EEPROM Address
and Dummy Data
Write: ECMD register
Sector Erase Abort Cmd 0x47
Write: ESTAT register
Clear CBEIF 0x80
Read: ESTAT register
NOTE: command write sequence
aborted by writing 0x00 to
ESTAT register.
NOTE: command write sequence
aborted by writing 0x00 to
ESTAT register.
2.
3.
Bit Polling for
Command
Completion Check
CCIF
Set?
yes
no
Access
Error Check
ACCERR
Set?
no
yes
Write: ESTAT register
Clear ACCERR 0x10
Sector Erase
or Modify
Completed
EXIT
Sector Erase
or Modify
Aborted
EXIT
Figure 25-22. Example Sector Erase Abort Command Flow
MC9S12XDP512 Data Sheet, Rev. 2.21
Freescale Semiconductor
1065