mc9s12hz256v2 Freescale Semiconductor, Inc, mc9s12hz256v2 Datasheet - Page 81

no-image

mc9s12hz256v2

Manufacturer Part Number
mc9s12hz256v2
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Except for the sector erase abort command, a buffered command will wait for the active operation to be
completed before being launched. The sector erase abort command is launched when the CBEIF flag is
cleared as part of a sector erase abort command write sequence. After a command is launched, the
completion of the command operation is indicated by the setting of the CCIF flag. The CCIF flag only sets
when all active and buffered commands have been completed.
2.4.1.3
Table 2-20
block.
Freescale Semiconductor
FCMDB
0x05
0x06
0x20
0x40
0x41
0x47
summarizes the valid Flash commands along with the effects of the commands on the Flash
Command
Compress
Valid Flash Commands
Program
Sector
Sector
Erase
Erase
Erase
Erase
A Flash word must be in the erased state before being programmed.
Cumulative programming of bits within a Flash word is not allowed.
Verify
Mass
Abort
NVM
Data
Verify all memory bytes in the Flash block are erased. If the Flash block is erased, the BLANK
flag in the FSTAT register will set upon command completion.
Compress data from a selected portion of the Flash block. The resulting signature is stored in
the FDATA register.
Program a word (two bytes) in the Flash block.
Erase all memory bytes in a sector of the Flash block.
Erase all memory bytes in the Flash block. A mass erase of the full Flash block is only possible
when FPLDIS, FPHDIS, and FPOPEN bits in the FPROT register are set prior to launching the
command.
Abort the sector erase operation. The sector erase operation will terminate according to a set
procedure. The Flash sector must not be considered erased if the ACCERR flag is set upon
command completion.
Table 2-20. Valid Flash Command Description
MC9S12HZ256 Data Sheet, Rev. 2.05
CAUTION
Function on Flash Memory
Chapter 2 256 Kbyte Flash Module (FTS256K2V1)
81

Related parts for mc9s12hz256v2