Execute Command; Reset Command - NXP Semiconductors freescale KV4 Series Reference Manual

Table of Contents

Advertisement

Data Phase: The ReadMemory command has a data phase. Since the target (Kinetis
Flashloader) works in slave mode, the host need pull data packets until the number of
bytes of data specified in the byteCount parameter of ReadMemory command are
received by host.
Response: The target (Kinetis Flashloader) will return a GenericResponse packet with a
status code either set to kStatus_Success upon successful execution of the command, or
set to an appropriate error status code.

14.2.6.8 Execute command

The execute command results in the flashloader 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.
Byte #
0 - 3
4 - 7
8 - 11
The Execute command has no data phase.
Response: Before executing the Execute command, the target (Kinetis Flashloader) will
validate the parameters and return a GenericResponse packet with a status code either set
to kStatus_Success or an appropriate error status code.

14.2.6.9 Reset command

The Reset command will result in flashloader resetting the chip.
The Reset command requires no parameters.
Freescale Semiconductor, Inc.
Table 14-29. Parameters for Execute Command
Jump address
Argument word
Stack pointer address
KV4x Reference Manual, Rev. 2, 02/2015
Preliminary
Chapter 14 Kinetis Flashloader
Command
241

Advertisement

Table of Contents
loading

Table of Contents