User`s guide
RN-WIFLYCR-UG
www.rovingnetworks.com Version 1.2r 4/30/13 page 85
4.5.2 Upgrading Firmware to Version 4.0
To update the firmware from a version lower than 4.0, follow this process:
1. Update the firmware .img file to version 4.xx using the command:
•ftp update wifly3-400.img// For RN131 module
•ftp update wifly7-400.img// For RN171 module
Reboot the module to boot into the new image.
2. Download the .mif file using the command:
•ftp update wifly3-400.mif// For RN131 module
•ftp update wifly7-400.mif// For RN171 module
After the module downloads the .mif file, the module automatically reboots into the boot
image with all of the associated files installed into the module’s flash memory. Refer
back to Tab l e 4-3 for a description of these files. You can verify the firmware image,
applications, and associated files in the flash memory using the ls command (see
Example 4-15).
4.5.3 Upgrading Firmware (Pre-Version 4.0)
To update the firmware to a version lower than 4.0 (e.g., from version 2.45 to 3.07),
issue the command ftp update <filename>, where <filename> is an optional filename
(use the optional name to bypass the default firmware file name).
The module retrieves the file and switches the boot image to the new file, resulting in
the following messages:
<2.20> ftp update
<2.20> FTP connecting to 208.109.78.34
FTP file=30
......................................................................
.
FTP OK.
The previous firmware becomes the backup image. The following example shows the
file system after a successful update:
FL# SIZ FLAGS
11 18 3 WiFly_GSX-2.20
29 1 10 config
30 18 3 WiFly_GSX-2.21
208 Free, Boot=30, Backup=11
NOTICE
You MUST reset the module to factory default settings at this point using the factory
RESET and reboot commands.
Note: After the module reboots with the new firmware, Roving Networks recom-
mends that you reset the module to the factory default parameters using the
factory RESET command. Failure to do so may result in some variables
being initialized with random values.