13.5.1 Property Definitions
Get/Set property definitions are provided in this section.
13.5.1.1 CurrentVersion Property
The value of this property is a 4-byte structure containing the current version of the
flashloader.
Table 13-44. Fields of CurrentVersion property:
Bits [31:24] [23:16] [15:8] [7:0]
Field Name = 'K' (0x4B) Major version Minor version Bugfix version
13.5.1.2 AvailablePeripherals Property
The value of this property is a bitfield that lists the peripherals supported by the
flashloader and the hardware on which it is running.
Table 13-45. Peripheral bits:
Bit [31:7] [6] [5] [4] [3] [2] [1] [0]
Peripheral Reserved Reserved Reserved USB HID Reserved 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.
13.5.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)
Get/SetProperty Command Properties
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
338 NXP Semiconductors