The Kinetis Bootloader Configuration Area (Bca) - NXP Semiconductors MKL27Z128VFM4 Reference Manual

Table of Contents

Advertisement

Functional Description

13.3.2 The Kinetis Bootloader Configuration Area (BCA)

The Kinetis Bootloader reads data from the Bootloader Configuration Area (BCA) to
configure various features of the bootloader. The BCA resides in flash memory at offset
0x3C0, and provides all of the parameters needed to configure the Kinetis Bootloader
operation. For uninitialized flash, the Kinetis Bootloader uses a predefined default
configuration. A host application can use the Kinetis Bootloader to program the BCA for
use during subsequent initializations of the bootloader.
Table 13-3. Configuration Fields for the Kinetis Bootloader
Offset
0x00 - 0x03
0x04 - 0x07
0x08 - 0x0B
0x0C - 0x0F
0x10
0x11
0x12 - 0x13
0x14 - 0x15
0x16 - 0x17
0x18 - 0x1B
0x1C
0x1D
176
Size (bytes)
Configuration Field
4
tag
4
-
4
-
4
-
1
enabledPeripherals
1
i2cSlaveAddress
2
peripheralDetectionTimeout
2
usbVid
2
usbPid
4
usbStringsPointer
1
clockFlags
1
clockDivider
Table continues on the next page...
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
Description
Magic number to verify bootloader
configuration is valid. Must be set to
'kcfg'.
Reserved in KLx3
Reserved in KLx3
Reserved in KLx3
Bitfield of peripherals to enable.
bit 0 LPUART
bit 1 I2C
bit 2 SPI
bit 4 USB
Kinetis bootloader will enable the
peripheral if corresponding bit is set to
1.
If not 0xFF, used as the 7-bit I2C
slave address. If 0xFF, defaults to
0x10 for I2C slave address
Timeout in milliseconds for active
peripheral detection. If 0xFFFF,
defaults to 5 seconds.
Sets the USB Vendor ID reported by
the device during enumeration. If
0xFFFF, it defaults to 0x15A2.
Sets the USB Product ID reported by
the device during enumeration.
Sets the USB Strings reported by the
device during enumeration. Default
string values are described in the
USB peripheral
section.
See
Table
13-5, clockFlags
Configuration Field
Inverted value of the divider to use for
core and bus clocks when in high
speed mode
Freescale Semiconductor, Inc.

Advertisement

Table of Contents
loading

Table of Contents