![NXP Semiconductors MKL27Z128VFM4 Reference Manual Download Page 202](http://html1.mh-extra.com/html/nxp-semiconductors/mkl27z128vfm4/mkl27z128vfm4_reference-manual_1721847202.webp)
Process command
Host
Target
FlashEraseAllUnsecure
0x5a a4 04 00 f6 61 0d 00 cc 00
0x5a a4 0c 00 61 2c a0 00 04 02 00 00 00 00 0d 00 00 00
ACK:
0x5a a1
ACK:
0x5a a1
Generic Response:
Figure 13-12. Protocol Sequence for FlashEraseAll Command
Table 13-30. FlashEraseAllUnsecure Command Packet Format (Example)
FlashEraseAllUnsecure
Parameter
Value
Framing packet
start byte
0x5A
packetType
0xA4, kFramingPacketType_Command
length
0x04 0x00
crc16
0xF6 0x61
Command packet
commandTag
0x0D - FlashEraseAllUnsecure
flags
0x00
reserved
0x00
parameterCount
0x00
The FlashEraseAllUnsecure command has no data phase.
Response: The target (Kinetis Bootloader) will return a GenericResponse packet with
status code either set to kStatus_Success for successful execution of the command, or set
to an appropriate error status code.
13.3.8.8 FlashSecurityDisable command
The FlashSecurityDisable command performs the flash security disable operation, by
comparing the 8-byte backdoor key (provided in the command) against the backdoor key
stored in the flash configuration field (at address 0x400 in the flash).
The backdoor low and high words are the only parameters required for
FlashSecurityDisable command.
Functional Description
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
202
Freescale Semiconductor, Inc.