Document information ................................................................................................................................ 2
3.1 FW download over UART or UART AUX .................................................................................................. 8
3.2 FW download over USB ............................................................................................................................. 11
3.3 FW download over USB (TOBY-L2, MPCI-L2 series only) ................................................................. 14
4 Firmware update Over AT commands (FOAT) ........................................................................... 16
4.1 TOBY-L2, MPCI-L2 series AT command syntax ................................................................................. 16
4.1.1 Defined values ................................................................................................................................... 16
4.1.2 Error result codes ............................................................................................................................. 18
4.2 LEON-G1, SARA-G3, LISA-U2, SARA-U2, TOBY-R2, LARA-R2 series AT command syntax..... 18
4.2.1 Defined values ....................................................................................................................................21
4.2.2 Error result codes ..............................................................................................................................21
4.2.3 FW update procedure on LISA-U2 series ..................................................................................... 22
5.2 LISA-U2, SARA-U2, LARA-R2, TOBY-R2 AT command syntax ....................................................... 23
5.2.1 Defined values ................................................................................................................................... 24
5.3 TOBY-L2, MPCI-L2 AT command syntax ............................................................................................. 25
5.3.1 Defined values ................................................................................................................................... 25
5.4 TOBY-L4 AT command syntax ............................................................................................................... 27
5.4.1 Defined values ................................................................................................................................... 27
A Glossary ................................................................................................................................................. 30
B Firmware Install error result codes ................................................................................................ 31
B.2 LISA-U2 final results codes ..................................................................................................................... 31
B.3 LARA-R2, TOBY-R2, SARA-U2 final result codes ............................................................................... 32
B.4 TOBY-L2, MPCI-L2 error result codes ................................................................................................... 33
B.5 TOBY-L4 final result codes ..................................................................................................................... 33
C FOTA demo application in m-center ............................................................................................ 34
E Disabling the automatic notification of FW update ................................................................ 41
Related documents ................................................................................................................................... 42
Revision history .......................................................................................................................................... 42
This document briefly describes the firmware update mechanism for u-blox cellular modules.
The cellular firmware comprises three parts:
The module image
The module parameters
The module file system, which contains data that can be stored by the user (such as SMS/text
messages)
To completely update the firmware, it is necessary to download at least the module image and
parameters; the module file system is optional.
The three images are resident in dedicated areas of the flash memory.
☞ It is possible to update the firmware to a newer version or to revert to an older one.
☞ The LEON-G1 series the firmware can be reverted to an older firmware version only by using the
EasyFlash tool.
☞ The modules supporting OMA-DM and ODIS may automatically notify an OMA-DM server in the
event of a Firmware Update. See appendix E for more details.
Table 1: Firmware update procedures and interfaces used on u-blox cellular modules
The +CGMR AT command allows the user to verify the module modem version:
Not supported by TOBY-L2 "00" product versions
Not supported by MPCI-L2 "00" and "60" product versions and by TOBY-L2 "00", "50" and "60" product versions
Not supported by "00", "03", "53", "63", "73" product versions
This section introduces the different methods available to update the firmware of the cellular module.
For each method, it is shown what will change in the cellular module with respect to the previous FW
version. Table 2 shows the different attributes that may be affected by a firmware update.
Table 2: Attributes involved in FW update
The following methods are available for the FW update:
EasyFlash tool: EasyFlash is a tool for the Windows OS to download the firmware from a PC
through a module serial interface (USB or UART)
Firmware update over AT (FOAT) by means of the +UFWUPD AT command; the 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 installation from a FS file. The firmware installation from a file is triggered by the
+UFWINSTALL AT command and uses a file stored in the module’s file system (e.g. a file retrieved
from a FOTA server). This procedure can be used as a final step for the FW update procedure
Table 3 lists the cellular series modules, and for each one, the three firmware update methods. Each
method lists the attributes that are changed after the firmware update (i.e. reset to the factoryprogrammed values). If an attribute is not listed, it means that it is not changed after the update
procedure.
For example, for LEON-G1 series modules using the FOAT (+UFWUPD) method with <filetype>=0, it
will not change the NVM, profiles and FS, while with <filetype>=1 it will not change the NVM and
profiles, but will change the FS.
☞ The “Firmware” attribute is not listed in Table 3, because it is updated in all the methods:
EasyFlash, +UFWUPD [with <filetype> 0 and 2], +UFWINSTALL.
☞ See Table 1 for the list of modules and interfaces supporting EasyFlash.
A proper setup file, e.g. EasyFlash_<xx.yy.zz>.exe, is used to install the executable file and the needed
components.
☞ EasyFlash has been tested on these operating systems: Windows XP, Windows Vista (32/64 bit),
Windows 7 (32/64 bit), Windows 8 (32/64 bit), Windows 8.1 (32/64 bit) (32/64 bit).
The EasyFlash tool requires a file in DOF format, which includes the firmware components (module
image, module parameters, module file system) that are needed to perform a FW update.
The FW update using EasyFlash requires a PC or Notebook. The EasyFlash executable file and the
.DOF file (containing the firmware version to update) must be stored in the same folder in the PC or
Notebook. Only one .DOF file should be in the folder.
For LEON-G1 and SARA-G3 series modules, the .ROF file of the current firmware used by the module
must be stored in the same folder where the EasyFlash executable file and the firmware version (in
DOF file format) are located. The .ROF file is a downloadable file that makes it possible to revert to an
older FW release. It is only required for reverting to older FW for LEON-G1 and SARA-G3, and is not
required for other modules. Before reverting to a previous firmware version, store only one .ROF file
and one .DOF file in the same folder together with the EasyFlash tool executable file.
Each cellular product family has a unique EasyFlash version (i.e. LEON-G1 EasyFlash cannot be used
for LISA-U2 / SARA-G3 series modules and vice versa):
Always use the latest available tool version; <aa.bb> and <yy.zz> indicate the tool version.
series: EasyFlash_<06.yy.zz>
3.1 FW download over UART or UART AUX
☞ This section does not apply to TOBY-L4 series modules.
To update the module firmware using EasyFlash over UART or UART AUX interface, follow these
steps:
1. Power on the module.
2. Connect the PC or notebook to the UART or UART AUX interface of the module by means of
proper voltage translators (e.g. USB to UART converters) or by means of the proper configuration
of the connected application processor in pass-through mode.
☞ See the corresponding EVK user guide for the correct jumpers and slides configuration for the FW
update.
3. Run the EasyFlash tool.
Do not use EasyFlash_06.02.00 and previous versions for the FW update on TOBY-L4 series