![Ublox NINA-B222-04B Скачать руководство пользователя страница 14](http://html1.mh-extra.com/html/ublox/nina-b222-04b/nina-b222-04b_system-integration-manual_3268710014.webp)
NINA-B2 series - System integration manual
UBX-18011096 - R05
Software
Page 14 of 35
C1- Public
Figure 3: Defined values for Connectivity Software as shown in the JSON file
Figure 4: Typical Connectivity Software signature file
Command syntax
You use the software update command
AT+UFWUPD
with following syntax to update the
u-connectXpress software.
AT+UFWUPD=<mode>,<baud_rate>[,<id>,<size>,<signature>,<name>,<flags>]
The defined values for each parameter are shown in Table 4.
Parameter
Type
Description
<mode>
Enumerator
Download mode:
0: Update mode for the Connectivity Software through the serial port
1: Bootloader mode for update of the SoftDevice through the serial port.
<baud rate>
Enumerator
Baud rate in bits per second: 115200 (default), 230400, 460800, or 921600
<id>
Integer
ID number of the software image.
<size>
Integer
Size of the firmware image. Enter the size integer for the respective software as
defined in the
NINA-B22X-SI-x.x.x-xxx.txt
file. Shown in hex format in the JSON
file but must entered as bytes in decimal notation in the command.
<signature>
String
RSA signature of the firmware image as base64-encoded string.
Enter the 344-character text string defined in the
NINA-B22X-SI-x.x.x-xxx.txt
file.
<name>
String
The name of the firmware. Maximum string length is 22.
<flags>
String
Permissions for using the firmware image. Permission flags are marked in UNIX style:
"
rwx
" is the default flag for the u-connectXpress software.
"
rw
" is the default flag for other binary images.
Table 4: Defined values for update parameters
Setting up the serial port
☞
You can send AT text commands to NINA-B2 to execute tasks using open-source terminal
emulator software that supports XMODEM like TeraTerm or ExtraPuTTy. Alternatively, you can
send all AT commands described in this section using the s-center software in AT mode.
[
{
"Label": "ConnectivitySoftware",
"Description": "NINA-B22X u-blox connectivity software",
"File": "NINA-B22X-SW-4.0.0-003.bin",
"Version": "NINA-B22X-SW-4.0.0-003",
"Address": "0x20000",
"Size": "0xA1740",
"Id": "0x0",
"Permissions": "rwx",
"SignatureFile": "NINA-B22X-SI-4.0.0-003.txt"
}
]
Oduj9r2wnRmxy7m7d8SW5mkou9Xwph2cuifeOu7Rz8tU1E31cSyX4BSRE6uEnHFADP7rAYo3W37b
5Q5pVE/zazwPq80tX4oJoROTmDItU9pj64YgtAq576oDw/wjplSUnyc8apS5UjWacutQYSJNYtc5DV7kCjnM
ul75GxzWgiwOKiFYC8cutklHQyKbFvd/oHhwyZbllQNI5Z1J6FNdiUP85gR5nSIGngjew9iKHozLX90Zpj/2
kQtxRGbsGcGtWK+B9qAMBsmBx3NofACcB6vA/L0ggiTf3fG6CQ==