mc9s12hz256v2 Freescale Semiconductor, Inc, mc9s12hz256v2 Datasheet - Page 89

no-image

mc9s12hz256v2

Manufacturer Part Number
mc9s12hz256v2
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Freescale Semiconductor
Bit Polling for
Command
Completion Check
NOTE: command write sequence
aborted by writing 0x00 to
FSTAT register.
NOTE: command write sequence
aborted by writing 0x00 to
FSTAT register.
Execute Sector Erase Command Flow
Figure 2-28. Example Sector Erase Abort Command Flow
yes
EXIT
Bit Polling for
Completion Check
CCIF
Command
Set?
Bit
Access
Error Check
MC9S12HZ256 Data Sheet, Rev. 2.05
1.
2.
3.
no
Write: Dummy Flash Address
and Dummy Data
Write: Register FCMD
Sector Erase Abort Cmd 0x47
Write: Register FSTAT
Clear bit CBEIF 0x80
Read: Register FSTAT
Sector Erase
Completed
Needed?
yes
yes
no
ACCERR
Erase
Abort
CCIF
Set?
EXIT
Set?
Bit
Bit
yes
Chapter 2 256 Kbyte Flash Module (FTS256K2V1)
no
no
Clear bit ACCERR 0x10
Write: Register FSTAT
Read: Register FSTAT
Read: Register FSTAT
Sector Erase
Aborted
EXIT
89

Related parts for mc9s12hz256v2