13.3.5 Flashloader Protocol
This section explains the general protocol for the packet transfers between the host and
the Kinetis Flashloader. The description includes the transfer of packets for different
transactions, such as commands with no data phase and commands with incoming or
outgoing data phase. The next section describes various packet types used in a
transaction.
Each command sent from the host is replied to with a response command.
Commands may include an optional data phase:
• If the data phase is incoming (from host to flashloader ), then it (the data phase) is
part of the original command.
• If the data phase is outgoing (from flashloader to host), then it (the data phase) is
part of the response command.
13.3.5.1 Command with no data phase
The protocol for a command with no data phase contains:
• Command packet (from host)
• Generic response command packet (to host)
Command
Host
Target
ACK
Process command
Response
ACK
Figure 13-3. Command with No Data Phase
13.3.5.2 Command with incoming data phase
The protocol for a command with an incoming data phase contains:
• Command packet (from host)
Functional Description
K22F Sub-Family Reference Manual , Rev. 3, 7/2014
284
Freescale Semiconductor, Inc.