mc9s12hz256 Freescale Semiconductor, Inc, mc9s12hz256 Datasheet - Page 87

no-image

mc9s12hz256

Manufacturer Part Number
mc9s12hz256
Description
Mc9s12hz256 16-bit Automotive Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s12hz256CAL
Manufacturer:
Freescale Semiconductor
Quantity:
135
Part Number:
mc9s12hz256CAL
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12hz256CAL
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s12hz256VAL
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12hz256VAL-3L16Y
Manufacturer:
FREESCA
Quantity:
53
Part Number:
mc9s12hz256VPV
Manufacturer:
FREESCALE
Quantity:
500
Part Number:
mc9s12hz256VPV
Manufacturer:
FREESCALE
Quantity:
500
2.4.1.3.5
The mass erase command is used to erase a Flash memory block using an embedded algorithm. If the Flash
block to be erased contains any protected area, the PVIOL flag in the FSTAT register will set and the mass
erase command will not launch. After the mass erase command has successfully launched, the CCIF flag
in the FSTAT register will set after the mass erase operation has completed unless a second command has
been buffered.
Freescale Semiconductor
Clock Register
Loaded
Check
Mass Erase Command
Protection
Violation Check
Access
Error Check
Address, Data,
Command
Buffer Empty Check
Bit Polling for
Command
Completion Check
Read: Register FCLKDIV
1.
2.
3.
Bit FDIVLD set?
Figure 2-27. Example Mass Erase Command Flow
yes
Write: Flash Block Address
and Dummy Data
Write: Register FCMD
Mass Erase Command 0x41
Write: Register FSTAT
Clear bit CBEIF 0x80
Read: Register FSTAT
MC9S12HZ256 Data Sheet, Rev. 2.04
no
no
no
ACCERR
yes
PVIOL
CBEIF
Set?
Set?
Set?
EXIT
Write: Register FCLKDIV
CCIF
Bit
Set?
Bit
Bit
Bit
no
yes
yes
yes
no
Write: Register FSTAT
Clear bit PVIOL 0x20
Clear bit ACCERR 0x10
Write: Register FSTAT
NOTE: command write sequence
aborted by writing 0x00 to
FSTAT register.
NOTE: command write sequence
aborted by writing 0x00 to
FSTAT register.
Read: Register FSTAT
Chapter 2 256 Kbyte Flash Module (FTS256K2V1)
Next Write?
yes
no
87

Related parts for mc9s12hz256