512 Kbyte Flash Module (S12XFTX512K4V2)
BookTitle, Rev. 2.4
126 Freescale Semiconductor
CAUTION
A Flash word must be in the erased state before being programmed.Cumulative programming of bits within a Flash word is not allowed.
0x06 Data
Compress
Compress data from a selected portion of the Flash block.
The resulting signature is stored in the FDATA register.
0x20 Program Program a word (two bytes) in the Flash block.
0x40 Sector
Erase
Erase all memory bytes in a sector of the Flash block.
0x41 Mass
Erase
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.
0x47 Sector
Erase
Abort
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.

Table 2-20. Flash Command Description

FCMDB NVM
Command Function on Flash Memory