Flashloader Packet Types; Ping Packet - NXP Semiconductors freescale KV4 Series 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.

14.2.5 Flashloader Packet Types

The Kinetis Flashloader device works in slave mode. All data communication is initiated
by a host, which is either a PC or an embedded host. The Kinetis Flashloader 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 Flashloader 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.
14.2.5.1 Ping packet
The Ping packet is the first packet sent from a host to the target (Kinetis Flashloader), to
establish a connection on a selected peripheral. For a UART 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
222
NOTE
Table 14-2. Ping Packet Format
Value
0x5A
0xA6
KV4x Reference Manual, Rev. 2, 02/2015
Preliminary
Name
start byte
ping
Freescale Semiconductor, Inc.

Advertisement

Table of Contents
loading

Table of Contents