Property Definitions - NXP Semiconductors MKL27Z128VFM4 Reference Manual

Table of Contents

Advertisement

Chapter 13 Kinetis ROM Bootloader

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
bootloader.
Table 13-37. 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
bootloader and the hardware on which it is running.
Table 13-38. Peripheral bits:
Bit
[31:7]
[6]
[5]
[4]
[3]
[2]
[1]
[0]
Peripheral
Reserved
USB DFU
USB CDC
USB HID
Reserved
SPI Slave
I2C Slave
LPUART
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
bootloader. 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)
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
Freescale Semiconductor, Inc.
219

Advertisement

Table of Contents
loading

Table of Contents