NINA-B4 series - System integration manual
UBX-19052230 - R06
u-connectXpress software
Page 35 of 45
C1-Public
2.
Select the
.json
file.
3.
Secure Boot Mode is set automatically. Ensure that the correct COM port is selected and select
the
Update
button to start the process. The module then reboots into the boot loader and the
flashing of the SoftDevice and application starts.
4.1.2
Software flashing using AT command
The flashing functionality in the NINA-B41x module can manage two signed binary images that
contain the application (image 0) and SoftDevice radio software (image 1).
The SoftDevice is updated using dual-banked approach, which invalidates the application currently
flashed in the module. Consequently, the application must be flashed after updating the SoftDevice.
Use AT command
AT+UFWUPD
to update the software:
AT+UFWUPD=<mode>,<baud_rate>[,<id>,<size>,<signature>,<name>,<flags>]
The file download uses an XMODEM protocol. The UART hardware flow is not used during the software
update. For information about the firmware update command, see the u-connect AT commands
manual [6].
☞
XMODEM uses standard XMODEM-CRC16 protocol and 128 bytes packets.
4.1.2.1
Example commands executed while flashing the application only
In this section we describe a flashing scenario where just the application file is updated, and the
SoftDevice is unchanged.
1.
Run the
AT+UFWUPD
command to trigger the u-connectXpress software to accept an application
bin file for download. The application size can be found in the
NINA-B41X-CF-x.x.json
file; the size
should be entered in decimal notation. The signature for the application is available in the
NINA-B41X-SI-x.x.x-xxx.txt
file:
{
"Label"
:
"ConnectivitySoftware"
,
"Description"
:
"NINA-B41X u-blox connectivity software"
,
"File"
:
"NINA-B41X-SW-1.0.0-001.bin"
,
"Version"
:
"NINA-B41X-SW-1.0.0-001"
,
"Address"
:
"0x27000"
,
"Size"
:
"0x35FA4"
,
"Id"
:
"0x0"
,
"Permissions"
:
"rwx"
,
"SignatureFile"
:
"NINA-B41X-SI-1.0.0-001.txt"
},