argument. Although the command supports a stack address, at this time the call will still
take place using the current stack pointer. After execution of the function, a 32-bit return
value will be returned in the generic response message.
Table 13-17. Parameters for Call Command
Byte # Command
0 - 3 Call address
4 - 7 Argument word
8 - 11 Stack pointer
Host
Target
Call: Address=0x00000cd9, arg=0
ACK:
0x5a a1
ACK:
0x5a a1
Generic Response:
0x5a a4 0c 00 16 5c 0a 00 00 02 d9 0c 00 00 00 000 000 00
0x5a a4 0c 00 79 d0 a0 00 00 02 00 00 00 00 0a 00 00 00
Figure 13-6. Protocol Sequence for Call Command
Response: The target (Kinetis Flashloader) will return a GenericResponse packet with a
status code either set to the return value of the function called or set to
kStatus_InvalidArgument (105).
13.3.6.2
GetProperty command
The GetProperty command is used to query the flashloader about various properties and
settings. Each supported property has a unique 32-bit tag associated with it. The tag
occupies the first parameter of the command packet. The target returns a
GetPropertyResponse packet with the property values for the property identified with the
tag in the GetProperty command.
Properties are the defined units of data that can be accessed with the GetProperty or
SetProperty commands. Properties may be read-only or read-write. All read-write
properties are 32-bit integers, so they can easily be carried in a command parameter.
Chapter 13 Kinetis Flashloader
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
NXP Semiconductors 309