LEON-G100 / LEON-G200 - System Integration Manual
GSM.G1-HW-09002-G3
Preliminary
Feature description
Page 104 of 125
3
Feature description
3.1
Firmware (upgrade) Over The Air (FOTA) (LEON-G200 only)
LEON-G200 Firmware can be updated Over The Air. The main idea with updating Firmware over the air is to
reduce the amount of data required for transmission to the LEON module. This is achieved by downloading only
a “delta file” instead of the full Firmware. The delta contains only the differences between the two firmware
versions (old and new), and is compressed.
For more details refer to
Firmware Update Application Note
3.2
Firmware (upgrade) Over AT (FOAT)
Firmware upgrade is available with LEON-G100 / LEON-G200 modules using AT commands.
3.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 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
3.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
3.3
Firewall
The feature allows the LEON-G100 / LEON-G200 user to reject incoming connections originated from IP
addresses different from the specified list and inserted in a black list.
3.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 AT Commands Manual
3.4.1
Multiple IP addresses and sockets
Using LEON’s embedded TCP/IP or UDP/IP stack, only 1 IP instance (address) is supported. The IP instance
supports up to 16 sockets. Using an external TCP/IP stack (on the application processor), it is possible to have 3 IP
instances (addresses).
Comment [tgri2]:
Is this not covered
by the Application Note? Same as with
previous,