This folder contains:
- 3rd party tools that might be needed
- The compiled image(s) of the Sensor Aggregation Use Case application
- A batch script to help in quickly updating your XPLR-IOT-1 device
- newtmgr.exe: This program is used to update the firmware in the device when a bootloader is used (only for Windows). See Bootloader information and Programming the firmware using a J-Link debugger
XPLR-IOT-1 is updated through the Apache utility newtmgr
. A batch file is included for a simple double-click installer. Alternately, the update(s) can be applied manually at a command prompt. Both methods assume use of the Windows operating system.
- Download the new application core and network core firmware images and the newtmgr utility from the main XPLR-IOT-1 main repository
- If there are no updates to the network core, there will only be an application core file.
- Start bootloader mode by pressing and holding button 1 while resetting or power-cycling XPLR IOT-1.
- Determine the COM port number for NORA-B1 on Interface 0 of the USB-UART interface (e.g., COM 15). This example assumes the example COM port enumeration of interface 0 shown at USB connection.
- Open a file browser and navigate to the folder containing the firmware images.
- Double-click on the batch file
Update_XPLR-IOT-1.bat
- When prompted, enter the COM port number (e.g., COM15).
- When the update completes, press any key to close the window.
- Reset XPLR-IOT1 (reset button, power switch, or command line:
nrfjprog –-reset
)
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.
- Download the new application core and network core firmware images and the newtmgr utility from the main XPLR-IOT-1 main repository
- If there are no updates to the network core, there will only be an application core file.
- Start bootloader mode by pressing and holding button 1 while resetting or power-cycling XPLR IOT-1.
- 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 USB connection.
- Open a Windows command prompt.
- Navigate to the folder containing the firmware images.
- Update the network core (optional, depending on the requirements of the update):
newtmgr.exe –-conntype=serial –-connstring="COM8,baud=115200" image upload net_core_update.bin
- Replace
net_core_update.bin
with the actual filename of the downloaded network core update. ReplaceCOM8
with the actual COM port on interface 0.
- Replace
- Update the application core:
newtmgr.exe –-conntype=serial –-connstring="COM8,baud=115200" image upload app_core_update.bin
- Replace
app_core_update.bin
with the actual filename of the downloaded application core update. ReplaceCOM8
with the actual COM port on interface 0.
- Replace
- 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. Custom application code may also be updated through the bootloader.