Response: The target (Kinetis Flashloader) will return a GenericResponse packet with a
status code either set to kStatus_Success upon successful execution of the command, or
set to an appropriate error status code.
13.3.7.11 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.
Table 13-39. Parameters for FlashSecurityDisable Command
Byte #
Command
0 - 3
Backdoor key low word
4 - 7
Backdoor key high word
Process command
Host
Target
FlashSecureDisable, with backdoor key 0102030405060708
0x5a a4 0c 00 43 7b 06 00 00 04 03 02 01 08 07 06 05
0x5a a4 0c 00 35 78 a0 00 0c 02 00 00 00 00 06 00 00 00
ACK:
0x5a a1
ACK:
0x5a a1
Generic Response:
Figure 13-16. Protocol Sequence for FlashSecurityDisable Command
Table 13-40. FlashSecurityDisable Command Packet Format (Example)
FlashSecurityDisable Parameter
Value
Framing packet
start byte
0x5A
packetType
0xA4, kFramingPacketType_Command
length
0x0C 0x00
crc16
0x43 0x7B
Table continues on the next page...
Chapter 13 Kinetis Flashloader
K22F Sub-Family Reference Manual , Rev. 3, 7/2014
Freescale Semiconductor, Inc.
311