NINA-B1 series - System integration manual
UBX-15026175 - R16
Software
Page 33 of 63
C1-Public
2.3.1.1.3
Using an embedded MCU
The bootloader included in u-connectXpress software version 4.0.0, or later, supports the XMODEM
protocol. The XMODEM protocol uses standard XMODEM-CRC16 protocol and 128 bytes packets.
The C XMODEM code example shown in Appendix A is written in C#.
To upgrade the FW over UART you must set the bootloader in Firmware upgrade mode using the
AT+UFWUPD
command.
2.3.2
Flashing over the SWD interface
For SWD (Serial Wire Debug) flashing, an external debugger must be connected to the SWD interface
of the NINA-B1 module. The software can be flashed to the module using nRF Connect for Desktop
Programmer (or other Nordic tools such as the
nrfjprog
command line utility) or J-Flash from the
Segger J-Link Suite.
☞
The external debugger SEGGER J-Link BASE has been verified to work with NINA-B1 modules.
☞
The EVK-NINA-B1 evaluation kit incorporates an on-board debugger and can therefore be
flashed without any external debugger.
Flashing the software
⚠
If the UICR region is erased when flashing the software using the SWD interface, the Bluetooth
device address is also erased. In these instances, the Bluetooth device address must be manually
rewritten to the module after flashing. Ensure that you make a note of your Bluetooth device
address before continuing with the flashing procedure. See section 2.3.2.2 for more information.
In the nRF Connect for Desktop Programmer, drag-and-drop the hex files you want to program into
the GUI, as shown in Figure 26.
Figure 26: nRF Connect for Desktop Programmer