This document describes how to use the MCU bootloader to load a user application on an NXP MCU.
This user's guide describes how to use the MCU bootloader to load a user application on a Kinetis MCU. It covers the NXP-provided utilities used to load the MCU bootloader image and to update the user application section of flash, taking FRDM-K64F as the demo board.
The guide gives an overview of the MCU bootloader, the blhost.exe host utility, the led_demo example projects, the KinetisFlashTool.exe Windows GUI updater and the toolchain requirements, then explains how to plug in a board, get the software, build and run, and return to the flash-resident bootloader. Appendices cover bootloader operation, development platforms and pin mappings.
| Firmware toolchain (IAR) | IAR Embedded Workbench for ARM v.8.20.2 or later |
|---|---|
| Python version | v.2.7 |
| MCUXpresso IDE version | v10.1.1 |
| Keil MDK version | v5.24a with corresponding device packs |
| Host compiler (GCC) | v5.4.0 |
| Bootloader version | v2.5.0 |
| Example demo board | FRDM-K64F |
It serves as a standard bootloader for all Kinetis devices and provides a standard interface to the device via the available peripherals. It can be available as ROM, a serial flashloader, or a customized flash-resident bootloader.
The blhost.exe utility is a cross-platform host program used to interface with devices running the MCU bootloader. It lists and requests execution of all commands supported by a given Kinetis device.
KinetisFlashTool.exe is a Windows OS GUI program used to update the user application image on the device running the MCU bootloader firmware application.
The bootloader provides a means to stop the application launch and remain in the bootloader command processor so the user application can be refreshed.