English
Language : 

S912XHZ512F1VAG Datasheet, PDF (154/978 Pages) Freescale Semiconductor, Inc – Covers MC9S12XHZ384, MC9S12XHZ256
Chapter 3 512 Kbyte Flash Module (S12XFTX512K4V3)
Table 3-19. Flash Command Description
FCMDB
0x06
0x20
0x40
0x41
0x47
NVM
Command
Data
Compress
Program
Sector
Erase
Mass
Erase
Sector
Erase
Abort
Function on Flash Memory
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
should not be considered erased if the ACCERR flag is set upon command completion.
CAUTION
A Flash word must be in the erased state before being programmed.
Cumulative programming of bits within a Flash word is not allowed.
MC9S12XHZ512 Data Sheet, Rev. 1.06
154
Freescale Semiconductor