English
Language : 

MC9S12XD256MAL Datasheet, PDF (1128/1348 Pages) Freescale Semiconductor, Inc – Freescale’s Scalable Controller Area Network
Chapter 27 512 Kbyte Flash Module (S12XFTX512K4V2)
Table 27-20. 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.
1130
MC9S12XDP512 Data Sheet, Rev. 2.21
Freescale Semiconductor