Target executes UART autobaud if necessary
Host
Target
PingResponse Packet:
0x5a 0xa7 0x00 0x02 0x01 0x50 0x00 0x00 0xaa 0xea
Ping Packet 0x5a 0xa6
Figure 13-5. Ping Packet Protocol Sequence
13.3.5.2 Ping Response Packet
The target (Kinetis Flashloader) sends a Ping Response packet back to the host after
receiving a Ping packet. If communication is over a UART peripheral, the target uses the
incoming Ping packet to determine the baud rate before replying with the Ping Response
packet. Once the Ping Response packet is received by the host, the connection is
established, and the host starts sending commands to the target (Kinetis Flashloader).
Table 13-4. Ping Response Packet Format
Byte # Value Parameter
0 0x5A start byte
1 0xA7 Ping response code
2 Protocol bugfix
3 Protocol minor
4 Protocol major
5 Protocol name = 'P' (0x50)
6 Options low
7 Options high
8 CRC16 low
9 CRC16 high
Functional Description
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
302 NXP Semiconductors