English
Language : 

MC9S12C128V1 Datasheet, PDF (634/690 Pages) Freescale Semiconductor, Inc – MC9S12C Family MC9S12GC Family Reference Manual
Chapter 21 128 Kbyte Flash Module (S12FTS128K1V1)
21.4.1.3 Valid Flash Commands
Table 21-16 summarizes the valid Flash commands along with the effects of the commands on the Flash
array.
Table 21-16. Valid Flash Commands
FCMD
0x05
0x20
0x40
0x41
Meaning
Erase
Verify
Program
Sector
Erase
Mass
Erase
Function on Flash Array
Verify all bytes in the Flash array are erased.
If the Flash array is erased, the BLANK bit will set in the FSTAT register upon command completion.
Program a word (2 bytes) in the Flash array.
Erase all 1024 bytes in a sector of the Flash array.
Erase all bytes in the Flash array.
A mass erase of the full Flash array is only possible when FPLDIS, FPHDIS, and FPOPEN bits in
the FPROT register are set prior to launching the command.
CAUTION
A Flash word must be in the erased state before being programmed.
Cumulative programming of bits within a Flash word is not allowed.
634
MC9S12C-Family / MC9S12GC-Family
Freescale Semiconductor
Rev 01.24