NINA-B2 series - System Integration Manual
UBX-18011096 - R03
Contents
Page 10 of 30
2
Software
The NINA-B2 series module is delivered with the u-blox connectivity software.
The u-blox connectivity software enables the use of Bluetooth, controlled by the AT commands over
the UART interface. For more information on the features and capabilities of the u-blox connectivity
software and how to use it, see the u-blox Short Range Modules AT Commands Manual [1] and
NINA-B2 Getting Started [4]
.
2.1
Flashing the NINA module
The NINA-B2 application can be flashed using the s-center (XMODEM protocol is used). The
following pins should be made available as either headers or test points to flash the module:
•
UART (RXD, TXD, CTS, RTS)
•
Bootstrap pins 25 and 27
•
Reset_n
•
SWITCH_1 and SWITCH_2
2.2
Updating the NINA-B2 u-blox connectivity software
The u-blox connectivity software for NINA-B2 is designed to validate the hardware, bootloader, and
the binary image itself to make sure it runs only on a validated hardware such as NINA-B2.
The u-blox connectivity software is delivered in a zip file – “NINA-B22X-xxx.zip”.
Unzip this file before downloading. The secure boot is included in the file –
“NINA-B2-Secureboot.json”.
In the s-center software, secure boot is supported from version 4.7 onwards. The *.json-file should
be selected to make to use secure boot in the s-center as shown in Figure 2.
The s-center will handle the download using the information in the *.json file. No other interaction is
needed from the user.
To manually start the download using a software other than s-center, use the following AT
command to start updating the NINA-B2 u-blox connectivity software:
AT+UFWUPD=<mode>,<baud>,<image id>,<image size>,<base64 encoded signature>,<image
name>,<flags>
Sample parameters that can be used while doing the flash update is provided below:
AT+UFWUPD=0,115200,0,651840,jzlRIkg37ir/pVpDKVrPot2ZdsaNvUtSYP2pDAUVJc7iQI9yzIo8VF
v8C1olP/9I4UJ4WmgC5oRay4AC0V8jRJSFFX/wop6x/sBJGOeDEu7yC/s0+Oj7CLs4TzNbiRqK0zLw
KRiHohgVyzWqhwKFpmcxcDXphjkCTIvpffY8TwDLzkosQCueJtBHBg9KDB3TOs8bsXLa
VtT2x1rLfMg8/pb+BPQEK9NcNB4hbp693ATivYE3cmxzWykIjEje819SIRGhHFt0wAsqh7WFgSJYN
gDir1+j7+l4RqrMl/A/QYyWS9z0Q15QcJ3GlAJlXYa5v/ISjA==,nina-b2-debug,rwx
When a ‘C’ character is received from NINA-B2, the XMODEM download is ready to begin from the
host.