Upgrading Legato

Copyright © Sierra Wireless Inc. Use of this work is subject to license.


This page provides information on how to upgrade Legato Beta 14.10 to 15.01.

Important: Upgrade the firmware before upgrading the Legato application framework.

Contact your Field Application Engineer (FAE) to upgrade AR series targets.

Upgrade WP Firmware
Upgrade Legato Application Framework

Here's other info you may need to look at:
Legato 15.01 Beta release notes


Upgrade WP Series Firmware

This WP firmware update requires you to use UART2 to communicate through the target's the serial port (instead of UART1). See Prep Dev Kit Board for complete info.

Windows

Follow these steps to upgrade the dev kit board to the latest firmware and Yocto using a Windows host:

Download SWI9X15W_06.03.39.00-wp_yocto-cwe.exe to your host from Legato Downloads.

Turn the board BOOT switch to 'OFF' (Recovery mode). Depending on your dev kit, 'LOW' is the same as 'OFF'.

Connect the target: displays in Device Manager list as 'Sierra DM Port' under Ports.

In Windows, run SWI9X15W_06.03.39.00-wp_yocto-cwe.exe by double-clicking the file. After the firmware download process completes, the app will advise it's resetting the target.

Disconnect power from your target and turn your BOOT switch to 'ON' (or 'HIGH').

Reconnect power to your target; it should enumerate with other targets under Ports in Window Device Manager.

Connect to the target's AT Port (through HyperTerminal or Tera Term), and verify settings to ensure the firmware update was successful.

Note: There's a chance Windows will ask if your program has been installed successfully. Ignore the message or select that the program has been installed properly.


Linux

To upgrade the dev kit board to the latest firmware and Yocto using a Linux host, Legato Beta 14.07 or higher must be installed on the target device, and the fwupdate service must be running.

To check if fwupdate is running, on a host run: bin/legs and then fwupdate query $DEST_IP. On a target run: fwupdate query.

If it's running properly, it'll return something like:
root@swi-mdm9x15:~# fwupdate query
Firmware Version: SWI9X15W_06.03.39.00 r26558 CNSHZ-AR-BUILD 2015/01/27 09:49:10
Bootloader Version: SWI9X15W_06.03.39.00 r26558 CNSHZ-AR-BUILD 2015/01/27 09:49:10
Linux Version: 3.4.91-yocto-standard #1 PREEMPT Wed Jan 28 00:06:43 EST 2015

Download to your host the spkgz-yocto.cwe file from Legato Downloads.

Then run fwupdate download spkgz-yocto.cwe.

This message will display if it was successful:
(Download successful; please wait for modem to reset).



Verify WP Firmware Upgrade

You need to run ati and at!gstatus? to verify your firmware upgrade was successful.

Run ati
Output will look like this:
Manufacturer: Sierra Wireless, Incorporated
Model: WP7102
Revision: SWI9X15W_06.03.39.00 r23799 CNSHZ-AR-BUILD 2014/xx/xx 13:02:24
IMEI: (Your imei)
IMEI SV: 0
+GCAP: +CGSM,+FCLASS,+DS

Run at!gstatus?
Mode should be ONLINE not 'LOW POWER MODE'
!GSTATUS:
Current Time: 2160 Temperature: 29
Bootup Time: 0 Mode: ONLINE
System mode: WCDMA PS state: Not attached
IMS Reg State: NO SRV
WCDMA band: WCDMA 1900
WCDMA channel: 437
GMM (PS) state:DEREGISTERED NO IMSI
MM (CS) state: IDLE NO IMSI
WCDMA L1 State:L1M_PCH_SLEEP LAC: FEB0 (65200)
RRC State: DISCONNECTED Cell ID: 002AF1BB (2814395)
RxM RSSI C0: -47 RxD RSSI C0: -106
RxM RSSI C1: -106 RxD RSSI C1: -106

If you need to change to 'ONLINE from 'LOW POWER MODE', do this:
at!unlock="A710"
at!gobiimdisabled=1

Reset the target using at!reset or reboot it.

If ati revision returns SWI9X15W_06.03.39.00 and at!gstatus? shows that your modem is 'Online', the target upgrade was successful.

If you encounter permission issues running the unlock command, contact the Legato Forum for assistance.


Upgrade Legato Beta AF 14.10 to 15.01

Upgrade firmware before upgrading Legato AF

On your development host, go to the Legato build toolchain installation directory (/opt/swi) and remove all files:

$ cd /opt/swi
$ sudo rm -rf *

Installation packages (including toolchain downloads) are available at the Sierra Wireless Source Legato Downloads page.

Select toolchain for either 32 or 64 bits and copy it to /opt/swi

$ cp [Legato-Toolchain-file-name] /opt/swi
$ cd /opt/swi
$ $ cd /opt/swi
$ chmod u+x [extracted.sh file]
$ [extracted.sh file]

Then install and build Legato and setup the target software.

See Legato documentation for full information.