mc9s12c32mpb16 Freescale Semiconductor, Inc, mc9s12c32mpb16 Datasheet - Page 489

no-image

mc9s12c32mpb16

Manufacturer Part Number
mc9s12c32mpb16
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
17.4.1.3.1
The erase verify operation will verify that a Flash array is erased.
An example flow to execute the erase verify operation is shown in
write sequence is as follows:
After launching the erase verify command, the CCIF flag in the FSTAT register will set after the operation
has completed unless a new command write sequence has been buffered. Upon completion of the erase
verify operation, the BLANK flag in the FSTAT register will be set if all addresses in the Flash array are
verified to be erased. If any address in the Flash array is not erased, the erase verify operation will terminate
and the BLANK flag in the FSTAT register will remain clear.
Freescale Semiconductor
1. Write to a Flash array address to start the command write sequence for the erase verify command.
2. Write the erase verify command, 0x05, to the FCMD register.
3. Clear the CBEIF flag in the FSTAT register by writing a 1 to CBEIF to launch the erase verify
The address and data written will be ignored.
command.
Erase Verify Command
MC9S12C-Family / MC9S12GC-Family
Rev 01.23
Figure
Chapter 17 16 Kbyte Flash Module (S12FTS16KV1)
17-22. The erase verify command
489

Related parts for mc9s12c32mpb16