Integration Manual

ANNA-B4 series - System integration manual
UBX-21000517 - R03 Contents Page 40 of 76
C1-Public
In contrast to the s-center configuration, UART hardware flow is not used for updating software
using AT commands. The file download uses standard XMODEM-CRC16 protocol and 128 bytes
packets.
Prerequisites
As a prerequisite to updating software using AT commands, you must open the JSON file included in
the download container and make note of the defined values to be parsed with the update command.
You also need to copy the signatures given in the related txt files, as shown in Figure 21. This
information is needed during the install. The defined values to include in the command, together with
the signature file (ANNA-B41X-SI-x.x.x-xxx.txt), are shown in Figure 20.
[
{
"Label": "ConnectivitySoftware",
"Description": "ANNA-B41X u-blox connectivity software",
"File": "ANNA-B41X-SW-1.0.0-003.bin",
"Version": "ANNA-B41X-SW-1.0.0-003",
"Address": "0x27000",
"Size": "0x37AC0",
"Id": "0x0",
"Permissions": "rwx",
"SignatureFile": "ANNA-B41X-SI-1.0.0-003.txt"
},
{
"Label": "SoftDevice",
"Description": "S140 softdevice from Nordic for ANNA-NRF",
"File": "ANNA-S140-SD-7.2.0.bin",
"Version": "ANNA-S140-SD-7.2.0",
"Address": "0x0",
"Size": "0x26634",
"Id": "0x1",
"Permissions": "rw",
"SignatureFile": "ANNA-S140-SI-7.2.0.txt"
}
]
Figure 20: Defined values for ConnectivitySoftware and SoftDevice as shown in the JSON file
VuxKhg6iB9eApM6g/PLVc4QwpxUDR9D8Ea8zVss2Jn6Y6vz2hQB8mfGwmxRZS9EoAZdkwO7ClKCoMcKC/baB/HnA
DDQo5oS/Z9TdmfBoQMN+AvJCirAe6AUW9M8jAQsc7w7mpANDqBJZslAjm1Qs+6uhSBItWZlMxBq7JsvBK6EMgEyu
Zv4DjBePQHxQJgA+5KUoLSwi4jvBdwSKoAZXzE1CgTDFPIybwjNz1k2yuBg2VjmyHUVblcGGa1zoJR5CaB6xb6vP
QOntKmuVtycQz4wIZUs+xKFtC+W4btjxNghjmNJ3cbj+YmiWgy5qBPEBizX/oUqhfjAHm4rfz7JK6Q==
Figure 21: Typical ConnectivitySoftware and SoftDevice signature file
Command syntax
You use the software update command AT+UFWUPD with following syntax to update both the
u-connectXpress and SoftDevice software.
AT+UFWUPD=<mode>,<baud_rate>[,<id>,<size>,<signature>,<name>,<flags>]
The defined values for each parameter are shown in Table 17.
Parameter
Type
Description
<mode>
Enumerator
Download mode:
0: Update mode for the ConnectivitySoftware 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.