Bootloader Packet Types - NXP Semiconductors MKL27Z128VFM4 Reference Manual

Table of Contents

Advertisement

Functional Description
• Data phases may be aborted by the host sending the final
Generic Response early with a status of
kStatus_AbortDataPhase. The sending side may abort the
data phase early by sending a zero-length data packet.
• The final Generic Response packet sent after the data
phase includes the status for the entire operation.

13.3.7 Bootloader Packet Types

The Kinetis Bootloader device works in slave mode. All data communication is initiated
by a host, which is either a PC or an embedded host . The Kinetis Bootloader device is
the target, which receives a command or data packet. All data communication between
host and target is packetized.
The term "target" refers to the "Kinetis Bootloader device."
There are 6 types of packets used in the device:
• Ping packet
• Ping Response packet
• Framing packet
• Command packet
• Data packet
• Response packet
All fields in the packets are in little-endian byte order.
13.3.7.1 Ping packet
The Ping packet is the first packet sent from a host to the target (Kinetis Bootloader), to
establish a connection on a selected peripheral. For a LPUART peripheral, the Ping
packet is used to determine the baudrate. A Ping packet must be sent before any other
communications. In response to a Ping packet, the target sends a Ping Response packet.
Byte #
0
1
186
NOTE
Table 13-6. Ping Packet Format
Value
0x5A
0xA6
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
Name
start byte
ping
Freescale Semiconductor, Inc.

Advertisement

Table of Contents
loading

Table of Contents