Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Introduction

There are three methods to update the USB connect LPWA modem firmware :

  • Firmware update over AT (FOAT)

  • Firmware update over the Air (FOTA)

  • EasyFlash (restricted use)

Firmware update over AT (FOAT)

FOAT is a method to update the firmware by transferring the related file from an external device (e.g.application host processor) to the module through the AT interface.

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.

Firmware Installation

The +UFWINSTALL AT command triggers the firmware installation procedure once the firmware package has been downloaded successfully.

Automatic Firmware update over the Air - uFOTA

uFOTA is a managed and automated FOTA service based on WM2M protocol (by u-blox). This service uses campaigns to manage the upgrading of multiple modules from one firmware version to another one.

Functional overview

When the module powers up for the very first time (factory-programmed condition) after the module is attached to a cellular network, the LwM2M client starts and registers to the uFOTA server. The LwM2M client will then subsequently check the uFOTA server upon the expiration of the Server Registration Life Timer (SRLT).

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.

Firmware package update

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

Check the version of the installed firmware.

> 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”

Ensure that the host application closes all open sockets when or before the download complete URC (+ULWM2MSTAT: 2,100) is received. When the host device receives the download complete URC (+ULWM2MSTAT: 2,100), it should store that state in memory. When the LWM2M client receives the execute command on the update resource the module will reset to apply the update. At this stage the host cannot cancel the upgrade. Once the new firmware has been installed, the module will reboot and re-register with the network. It is good practice for the host to send a message to the application.

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

  1. 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.

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).

Note : The EasyFlash Tool is not a public tool and could only be used internally !

If you are interested in this solution, contact the team of exelonix GmbH.

  Exelonix GmbH
  Washingtonstr. 16/16A
  D-01139 Dresden
  Germany

   Phone: +49 (0) 351 – 219 71 444
  E-Mail info@exelonix.com
  Website: www.exelonix.com

  • No labels