
Table 14-33. Peripheral bits:
Bit
[31:7]
[6]
[5]
[4]
[3]
[2]
[1]
[0]
Peripheral
Reserved
Reserved
Reserved
Reserved
CAN Slave
SPI Slave
I2C Slave
UART
If the peripheral is available, then the corresponding bit will be set in the property value.
All reserved bits must be set to 0.
14.4.1.3 AvailableCommands Property
This property value is a bitfield with set bits indicating the commands enabled in the
flashloader. Only commands that can be sent from the host to the target are listed in the
bitfield. Response commands such as GenericResponse are excluded.
The bit number that identifies whether a command is present is the command's tag value
minus 1. 1 is subtracted from the command tag because the lowest command tag value is
0x01. To get the bit mask for a given command, use this expression:
mask = 1 << (tag - 1)
Table 14-34. Command bits:
Bit
[31:
17]
[16]
[15] [14] [13] [12] [11] [10]
[9]
[8]
[7]
[6]
[5]
[4]
[3]
[2]
[1]
[0]
Command
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
SetProperty
Reset
Reserved
Execute
Reserved
GetProperty
FlashSecurityDisable
FillMemory
WriteMemory
ReadMemory
FlashEraseRegion
FlashEraseAll
14.5 Kinetis Flashloader Status Error Codes
This section describes the status error codes that the Kinetis Flashloader returns to the
host.
Table 14-35. Kinetis Flashloader Status Error Codes, sorted by Value
Error Code
Value
Description
kStatus_Success
0
Operation succeeded without error.
kStatus_Fail
1
Operation failed with a generic error.
Table continues on the next page...
Chapter 14 Kinetis Flashloader
KV4x Reference Manual, Rev. 2, 02/2015
Freescale Semiconductor, Inc.
Preliminary
253
Summary of Contents for freescale KV4 Series
Page 2: ...KV4x Reference Manual Rev 2 02 2015 2 Preliminary Freescale Semiconductor Inc...
Page 60: ...KV4x Reference Manual Rev 2 02 2015 60 Preliminary Freescale Semiconductor Inc...
Page 128: ...Debug Security KV4x Reference Manual Rev 2 02 2015 128 Preliminary Freescale Semiconductor Inc...
Page 138: ...Boot KV4x Reference Manual Rev 2 02 2015 138 Preliminary Freescale Semiconductor Inc...
Page 1358: ...KV4x Reference Manual Rev 2 02 2015 1358 Preliminary Freescale Semiconductor Inc...