FCMD
Command
Program flash
Function
0x02
Program Check
×
Tests previously-programmed
locations at margin read
levels.
0x03
Read Resource
IFR, ID
Read 4 bytes from program
flash IFR or version ID.
0x06
Program Longword
×
Program 4 bytes in a program
flash block.
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.
23.4.8.3 Flash Commands by Mode
The following table shows the flash commands that can be executed in each flash
operating mode.
Table 23-2. 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
×
×
×
×
×
—
Table continues on the next page...
Functional Description
MKW01Z128 MCU Reference Manual, Rev. 3, 04/2016
408
Freescale Semiconductor, Inc.
Summary of Contents for MKW01Z128
Page 7: ...MKW01xxRM Reference Manual Rev 3 04 2016 viii Freescale Semiconductor Inc...
Page 11: ...MKW01xxRM Reference Manual Rev 3 04 2016 xii Freescale Semiconductor Inc...
Page 133: ...MKW01Z128 MCU Reference Manual Rev 3 04 2016 2 Freescale Semiconductor Inc...
Page 233: ...Module clocks MKW01Z128 MCU Reference Manual Rev 3 04 2016 102 Freescale Semiconductor Inc...
Page 513: ...Interrupts MKW01Z128 MCU Reference Manual Rev 3 04 2016 382 Freescale Semiconductor Inc...
Page 633: ...CMP Trigger Mode MKW01Z128 MCU Reference Manual Rev 3 04 2016 502 Freescale Semiconductor Inc...