Table of Contents | ||
---|---|---|
|
Introduction
There are three methods to update the USB connect LPWA modem firmware :
...
Firmware update over the Air (FOTA)
EasyFlash (restricted use)
...
...
...
Firmware download
Two different AT commands can be used to download the firmware package:
+UFWUPD AT command: This command triggers the firmware update by using Xmodem or Xmodem-1K protocol.
+UDWNFILE AT command: This command is used to manage the module file system.
...
The +UFWINSTALL AT command triggers the firmware installation procedure once the firmware package has been downloaded successfully.
...
...
...
Functional overview
...
...
...
The +ULWM2MSTAT AT command enables/disables the unsolicited result codes (URC) events which are reported back to the host. This URC is enabled by default.
...
...
A firmware package (or referred to as FOTA package) can consist of the following combinations:
1. Firmware update only
2. Carrier profile update only
3. Firmware and carrier profile update
After a FOTA package is successfully downloaded, the uFOTA server shall command the device to reboot and automatically complete the Firmware Update process.
Remark:
uFOTA firmware update can take up to 20 minutes!
The AT interface is not available during the firmware upgrade
It is not possible to cancel a firmware update once in progress.
Firmware installation
...
> ATI
Manufacturer: u-blox
Model: SARA-R410M-02B
Revision: L0.0.00.00.05.08 [Apr 17 2019 19:34:02]
SVN: 03
IMEI: 352753098853359
Please check if the "Vodafone Global Roaming" profile (197) is present and has version 7.2
* otherwise import again: USB Connect LPWA - AT command cookbook
> AT+UMNOPROF=,1
“OK
> AT+UMNOPROF=?
+UMNOPROF:
0: SW default
1: SIM ICCID select
….
19: Vodafone 7.0
…
197: Vodafone-global-roaming 7.2
OK”
...
...
uFOTA campaign
To start the uFOTA upgrade process, a “campaign” must be requested for the modules to be updated. Send the request to the nearest u-blox office or sales representative.
Requirements
To specify a campaign the following information is required:
The product type
The starting and destination FW version (modem and application)
The IMEI list of the devices participating to the campaign
The MNO provider
The location area
The requested schedule (date, time, duration) for the campaign
2. Application design review: Before starting the campaign a design review of the application shall be performed by u-blox support
3. Test campaign: Before all the modules in the campaign will be updated via uFOTA, it is stronglsuggested performingrm a test campaign first. This test campaign will verify the host is working for uFOTA and that the network/deployment is adequate for the uFOTA download & update.
4. Final campaign: If the test campaign is successful, u-blox will provide a report back to the customer. If the user is satisfied with the test campaign, the final campaign can start. The u-blox service team will monitor the uFOTA progress and provide a report once finished.
Code Block | ||
---|---|---|
| ||
ATI
ATI
Manufacturer: u-blox
Model: SARA-R410M-02B
Revision: L0.0.00.00.05.08[Apr 17 2019 19:34:02]
SVN: 03
IMEI: 352753098853359
OK
ATI9
ATI9
L0.0.00.00.05.08,A.02.04
OK
AT+COPS?
AT+COPS?
+COPS: 0,0,"262 02 DATA ONLY",9
OK
AT+CGDCONT?
AT+CGDCONT?
+CGDCONT: 1,"IP","vgesace.nb.iot","10.254.46.22",0,0,0,0
OK
AT+UFOTACONF=1
AT+UFOTACONF=1
+UFOTACONF: 1, 1
OK
AT+UFOTACONF=2,3600
AT+UFOTACONF=2,3600
OK
+ULWM2MSTAT: 0,0
+ULWM2MSTAT: 1,13
+ULWM2MSTAT: 1,26
+ULWM2MSTAT: 1,39
+ULWM2MSTAT: 1,52
+ULWM2MSTAT: 1,65
+ULWM2MSTAT: 1,78
+ULWM2MSTAT: 1,91
+ULWM2MSTAT: 2,100
//After the successful download (+ ULWM2MSTAT: 2,100), the update may take some time (up to 20min).
Manufacturer: u-blox
Model: SARA-R410M-02B
Revision: L9.9.00.00.05.08
[Jul 11 2019 16:05:05]
SVN: 03
IMEI: 352753098853359
OK |
EasyFlash
Definition
EasyFlash is a tool for the Windows OS to download the firmware from a PC through a serial interface (USB or UART).
...
...
If you are interested in this solution, contact the team of exelonix GmbH.
Exelonix GmbH
Washingtonstr. 16/16A
D-01139 Dresden
Germany
...