RN-131G
rn-131-um.pdf 5/14/2009
www.rovingnetworks.com
Phone 408-395-6539
- 19 -
10
Firmware Upgrade over FTP
WiFly module has a file system for storing firmware, web pages and config files. Use the
ls
command to view files. File size is displayed in sectors and the active boot image is identifyied.
FL# SIZ FLAGS
11 18 3
WiFly_GSX-2.05
29 1
10
config
190 Free, Boot=11, Backup=0
Multiple firmware images and config files can be stored in the module filesystem.
FTP Upload and Upgrade
WiFly contains a built in FTP client for getting files and updating the firmware. The client uses
passive mode FTP, which allows operation thru firewalls and the Internet.
To upload the latest released firmware from Roving Networks the following setting are required:
FTP username =
roving
FTP password =
Pass123
FTP filename =
wifly-GSX.img
FTP directory =
./public
(this parameter can not be modified)
To use FTP to upgrade the firmware, enter the following command:
ftp upload <string>
(string is an optional filename, use to bypass the stored FTP filename)
The ftp upload command will retrieve the file and switch the boot image to the new file. The
previous firmware will become the backup image. Here is an example of what you should see
after a successful update:
FL# SIZ FLAGS
11 18 3
WiFly_GSX-2.05
29 1
10
config
30 18 3
WiFly_GSX-2.06
208 Free, Boot=30, Backup=11
Note the module must be rebooted or power cycled to use the new firmware. To boot a different
firmware use the following command:
Boot image <num>
sets the current boot image <num>
To upload your own firmware or config file to the module, change the stored FTP settings: See
section 5.3 for more details on these commands and get your file by entering the following
command:
ftp get <string>
Retrieves remote file with name <string>