The flags in the clockFlags configuration field are enabled if the corresponding bit is
cleared (0).
Table 22-4. clockFlags Configuration Field
Bit
Flag
Description
0
HighSpeed
Enable high speed mode (i.e., 48 MHz). Read
section for more information on the high speed mode.
1 - 7
Reserved
22.3.3 Start-up Process
Any of the following conditions will force the hardware to start the Kinetis Bootloader:
• FOPT [7] is set to 1. This forces the ROM to run out of reset.
• The BOOTCFG0 pin is asserted. The pin must be configured as BOOTCFG0 by
setting the BOOTPIN_OPT bit of FOPT to 0.
• A user applications running on flash or RAM calls into the Kinetis Bootloader entry
point address in ROM, to start Kinetis Bootloader execution.
The FOPT[BOOTSRC_SEL] determines the boot source. The FOPT register is located in
the flash configuration field at address 0x40D in the flash memory array. For a complete
list of options, see the Boot options section in the Reset and Boot chapter. If FOPT [7] is
set to 1, then the device will boot to ROM out of reset. Flash memory defaults to all 1s
when erased, so a blank chip will automatically boot to ROM.
The BOOTCFG0 pin is shared with the NMI pin, with NMI being the default usage.
Regardless of whether the NMI pin is enabled or not, the NMI functionality is disabled if
the ROM is executed out of reset, for as long as the ROM is running.
When the ROM is executed out of reset, vector fetches from the CPU are redirected to
the ROM's vector table in ROM memory at offset 0x1C00_0000. This ensures that any
exceptions will be handled by the ROM.
After the Kinetis Bootloader has started, the following procedure starts bootloader
operations:
1. The RCM_MR [BOOTROM] bits are set, so that the device will reboot back into the
ROM if/when the device is reset.
2. Initializes the bootloader's .data and .bss sections.
3. Reads bootloader configuration data from flash at address 0x3C0. The configuration
data is only used if the tag field is set to the expected 'kcfg' value. If the tag is
incorrect, then the configuration values are set to default, as if the data was all 0xFF
bytes.
Functional Description
Kinetis KE1xZ256 Sub-Family Reference Manual, Rev. 3, 07/2018
474
NXP Semiconductors
Summary of Contents for Kinetis KE1xZ256
Page 2: ...Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 2 NXP Semiconductors...
Page 178: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 178 NXP Semiconductors...
Page 356: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 356 NXP Semiconductors...
Page 410: ...Interrupts Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 410 NXP Semiconductors...
Page 604: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 604 NXP Semiconductors...
Page 634: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 634 NXP Semiconductors...
Page 674: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 674 NXP Semiconductors...
Page 820: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 820 NXP Semiconductors...
Page 1030: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1030 NXP Semiconductors...
Page 1052: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1052 NXP Semiconductors...
Page 1066: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1066 NXP Semiconductors...
Page 1268: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1268 NXP Semiconductors...
Page 1314: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1314 NXP Semiconductors...
Page 1316: ...Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1316 NXP Semiconductors...