Integration Guide

Table Of Contents
LEON-G100/G200 - System Integration Manual
GSM.G1-HW-09002-F3 Preliminary Appendix
Page 95 of 101
Appendix
A Extra Features
A.1 Firmware (upgrade) Over The Air (FOTA) (LEON-G200 only)
LEON-G100/G200 Firmware can be updated Over The Air. The main idea is that Firmware can be updated over
the air reducing the amount of data transmitted. This is achieved by downloading into LEON not the full
Firmware, only the “delta file” which contains only the differences between the two firmware versions (old and
new), and compressing the “delta file”.
To perform the update over the air of LEON FW, a 3
rd
party library from RedBend has been integrated into the
FW. This library allows to download into the module just a “delta” between the 2 FW versions (the one on the
module and the upgrade); in this way it is possible to transfer less data and use less space on the flash for storing
it.
For more details please refer to Firmware Update Application Note [13].
A.2 Firmware (upgrade) Over AT (FOAT)
Firmware upgrade is available with LEON-G100/G200 modules using AT commands.
A.2.1 Overview
This feature allows upgrade the module Firmware over UART, using AT Commands.
AT Command AT+UFWUPD triggers a reboot and followed by upgrade procedure at specified baud rate
(refer to u-blox 2G GSM/GPRS AT Commands Manual [2] for more details)
The Xmodem-1k protocol is used for downloading the new Firmware image via a terminal application
A special boot loader on the module performs Firmware installation, security verifications and module reboot
Firmware authenticity verification is performed via a security signature during the download. Firmware is
then installed, overwriting the current version. In case of power loss during this phase, the boot loader
detects a fault at the next wake-up, and restarts the Firmware download from the Xmodem-1k handshake.
After completing the upgrade, the module is reset again and wakes-up in normal boot
A.2.2 FOAT procedure
The application processor must proceed in the following way:
send through the UART the AT+UFWUPD command, specifying the file type and the desired baud rate
reconfigure the serial communication at the selected baud rate, without flow control with the Xmodem-1k
protocol
send the new FW image via Xmodem-1k
A.3 Firewall
The feature allows the LEON-G100/G200 user to reject incoming connections originated from IP addresses
different from the specified list and inserted in a black list.
A.4 TCP/IP
Via the AT commands it’s possible to access the TCP/IP functionalities over the GPRS connection. For more
details about AT commands see the u-blox 2G GSM/GPRS AT Commands Manual [2].