FCMD
Command
Program flash
Function
0x09
Erase Flash Sector
×
Erase all bytes in a program
flash sector.
0x40
Read 1s All Blocks
×
Verify that the program flash
block is erased then release
MCU security.
0x41
Read Once
IFR
Read 4 bytes of a dedicated
64 byte field in the program
flash 0 IFR.
0x43
Program Once
IFR
One-time program of 4 bytes
of a dedicated 64-byte field in
the program flash 0 IFR.
0x44
Erase All Blocks
×
Erase the program flash
block, verify-erase and
release MCU security.
NOTE: An erase is only
possible when all
memory locations
are unprotected.
0x45
Verify Backdoor Access Key
×
Release MCU security after
comparing a set of user-
supplied security keys to
those stored in the program
flash.
24.4.8.3 Flash Commands by Mode
The following table shows the flash commands that can be executed in each flash
operating mode.
Table 24-25. Flash Commands by Mode
FCMD Command
NVM Normal
NVM Special
Unsecure
Secure
MEEN=10
Unsecure
Secure
MEEN=10
0x01
Read 1s Section
×
×
×
×
—
—
0x02
Program Check
×
×
×
×
—
—
0x03
Read Resource
×
×
×
×
—
—
0x06
Program Longword
×
×
×
×
—
—
0x09
Erase Flash Sector
×
×
×
×
—
—
0x40
Read 1s All Blocks
×
×
×
×
×
—
0x41
Read Once
×
×
×
×
—
—
0x43
Program Once
×
×
×
×
—
—
0x44
Erase All Blocks
×
×
×
×
×
—
0x45
Verify Backdoor Access
Key
×
×
×
×
—
—
Chapter 24 Flash Memory Module (FTFA)
KL02 Sub-Family Reference Manual, Rev. 2.1, July 2013
Freescale Semiconductor, Inc.
321