![NXP Semiconductors MKL27Z128VFM4 Reference Manual Download Page 193](http://html1.mh-extra.com/html/nxp-semiconductors/mkl27z128vfm4/mkl27z128vfm4_reference-manual_1721847193.webp)
ReadMemoryResponse: The ReadMemoryResponse packet is sent by the target in
response to the host sending a ReadMemory command. The ReadMemoryResponse
packet contains the framing packet data and the command packet data, with the
command/response tag set to a ReadMemoryResponse tag value (0xA3), the flags field
set to kCommandFlag_HasDataPhase (1).
The parameter count set to 2 for the status code and the data byte count parameters shown
below.
Table 13-17. ReadMemoryResponse Parameters
Byte #
Parameter
Descripton
0 - 3
Status code
The status of the associated Read Memory command.
4 - 7
Data byte count
The number of bytes sent in the data phase.
13.3.8 Bootloader Command API
All Kinetis Bootloader command APIs follow the command packet format that is
wrapped by the framing packet, as explained in previous sections.
• For a list of commands supported by the Kinetis Bootloader in KLx3 ROM, see
• For a list of status codes returned by the Kinetis Bootloader in KLx3 ROM, see
, Kinetis Bootloader Status Error Codes.
NOTE
All the examples in this section depict byte traffic on serial
peripherals that use framing packets. USB HID transactions use
the USB HID report packets instead of the serial framing
packets shown in this section. Please refer to the
section for details of the USB HID packet structure.
13.3.8.1 Execute command
The execute command results in the bootloader setting the program counter to the code at
the provided jump address, R0 to the provided argument, and a Stack pointer to the
provided stack pointer address. Prior to the jump, the system is returned to the reset state.
The Jump address, function argument pointer, and stack pointer are the parameters
required for the Execute command.
Chapter 13 Kinetis ROM Bootloader
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
Freescale Semiconductor, Inc.
193