XPLR-IOT-1 - User guide
UBX-21035674 - R02
Module firmware updates
Page 33 of 39
C1-Public
5
Module firmware updates
5.1
NORA-B1
5.1.1
Bootloader
The application on NORA-B1 can be updated through the MCUboot bootloader over UART. Each new
image is uploaded to the XPLR-IOT-1 QSPI flash prior to writing it to the NORA-B1 flash.
1.
Download the new application core and network core firmware images from the XPLR-IOT-1
GitHub XPLR-IOT-1 software repository
2.
Download
newtmgr
from reference
. Extract the files and copy the utility
newtmgr.exe
to a folder
in the system PATH, or to the local directory containing the firmware images.
3.
Start bootloader mode by pressing and holding button 1 while resetting or power-cycling
XPLR-IOT-1.
4.
Determine the COM port number for NORA-B1 on Interface 0 of the USB-UART interface. This
example assumes the example COM port enumeration of interface 0 shown at
5.
Update the network core
newtmgr.exe
–
-conntype=serial
–
-connstring=
”
COM8,baud=115200
”
image upload
net_core_update.bin
6.
Update the application core
newtmgr.exe
–
-conntype=serial
–
-connstring=
”
COM8,baud=115200
”
image upload
app_core_update.bin
7.
Reset XPLR-IOT1 (reset button, power switch, or command line:
nrfjprog
–
reset
)
⚠
If updating the network core, both the network and application cores must be updated during the
same bootloader session. If updating only the application core, the network core update can be
bypassed.
☞
The update sequence listed here assumes the availability of pre-configured binary files. Additional
details may be found in the XPLR-IOT-1 GitHub XPLR-IOT-1 software repository
5.1.2
SWD
NORA-B1 may also be updated through the SWD port while developing new applications. A SEGGER
J-Link debug interface is required. Either J-Link Base model or higher or an EVK-NORA-B1 debug-out
(J-Link-OB) connector may be used. Connect the SWD interface shown in
debug probe.
Source code for the application provided from the factory may be used as an example for further code
development. See also the XPLR-IOT-1 GitHub XPLR-IOT-1 software repository
⚠
Programming NORA-B1 through the SWD port may erase the default bootloader or Bluetooth
device address in addition to the provided application. See the XPLR-IOT-1 GitHub XPLR-IOT-1
hardware repository
for instructions about restoring the original bootloader. See the NORA-B1
system integration manual
for instructions to save and restore the Bluetooth device address.
5.2
NINA-W15
NINA-W15 may be updated over the USB-UART interface. The module must first be enabled through
the application.
1.
Follow the instructions at
to connect XPLR-IOT-1 to a host PC running Windows.
2.
Open a terminal program, such as Putty
, to the virtual COM port (VCP) for
NORA-B1 (interface 0) with the settings 115,200 bps, no parity, 8 data bits, and 1 stop bit. Set
the terminal line endings to carriage return only (CR, or hex 0x0d).