
Chapter 9
Bootloader
The SLN-LOCAL2-IOT SDK enables three forms of firmware update capability:
1. USB Mass Storage Device (MSD) interface
2. Over-The-Air (OTA)
via Wifi
3. Over-The-Wire (OTW)
via UART
The boot flow is described in detail in
. When the boot flow reaches the bootloader, it must decide
whether to jump to the main application (i.e. local_demo) or to the firmware update mode.
available to the bootloader. The bootloader reroutes the boot flow to the main application, MSD, OTW, or OTA update. This section
explains how to generate a BIN file to be updated. Then it describes MSD, OTW, and OTA.
Figure 69. Bootloader flow
The firmware update in the bootloader is only for the main application, not for the bootstrap and bootloader. If
the bootstrap or bootloader must be updated, use the J-Link probe or the Ivaldi tool described in
NOTE
9.1 Application BIN file generation
There are two application banks in the flash memory, see
• Address for Application Bank A: 0x60300000
• Address for Application Bank B: 0x60D00000
Developers must configure the bank address properly when the main application is compiled. This ensures that the device is safe
to jump into a new application image in one memory location without compromising the other one. If the application runs in Bank
A, the new application image must be linked to Bank B.
NXP Semiconductors
SLN-LOCAL2-IOT Developer’s Guide, Rev. 0, 19 April 2021
User's Guide
56 / 87