NINA-B1 series - System integration manual
UBX-15026175 - R16
Software
Page 25 of 63
C1-Public
2.3
Flashing the NINA-B1 module
It is possible to reflash the NINA-B1 module using either the UART or SWD interface whenever a new
version of the u-connectXpress software is available or when using a custom application.
⚠
Flashing of u-connectXpress
software is normally done over UART. If the flash is erased or any
other software is flashed on the NINA-B1 module
,
then the SoftDevice and the u-blox bootloader
must be flashed over SWD before the u-connectXpress software can be flashed again. See section
2.3.2 for more information.
Open CPU software is flashed over the SWD interface.
2.3.1
Flashing over UART
To use the UART interface, the module must have a bootloader that supports flashing over UART.
The u-connectXpress software v2.0.0 and later includes a bootloader that can flash the
u-connectXpress software over UART.
⚠
NINA-B1 modules with u-connectXpress software v1.0.0 can be flashed using the SWD interface
only and not the UART interface. See section 2.3.2 for flashing instructions.
The u-connectXpress software uses an updated flashing protocol from version 4.0.0 onwards.
Instructions for upgrading the early u-connectXpress software versions 3.0.1 and earlier to SW 4.0
and later are included in Appendix D.
Instructions for flashing the u-connectXpress software from version 4.0.0, using the updated flashing
protocol, are included in section 2.3.1.1.
UART flashing of u-connectXpress software version 4.0.0 or later
The u-connectXpress software for UART flashing contains two separate
.bin
files and one
.json
file:
•
s132_nrf52_x.x.x_softdevice.bin
contains the SoftDevice.
•
NINA-B11X-FWx.x.x.bin
contains the application.
•
NINA-B11X-Configuration-x.x.x.json
contains the bin file name, flash address, size, cyclic
redundancy checkcode (CRC) for the SoftDevice and bin file name, and the flash address for the
application.
The XMODEM protocol is used for flashing. Flow control is not used. The following pins should be
made available as either headers or test points to flash the module:
•
UART
(RX, TX)
•
RESET_N
•
SWITCH_1
and
SWITCH_2