User`s guide

RN-WIFLYCR-UG
www.rovingnetworks.com Version 1.2r 4/30/13 page 83
With these settings enabled, the module connects to the web server every time it
receives data on the RX line. Serial data is sent to the host web server according to the
flush timer and the flush size.
You can view the data you sent to the Roving Networks web server at http://rovingnet-
works.com/wiflys/view.
4.5 UPGRADING FIRMWARE VIA FTP
The module has a file system for storing firmware and configuration files. Use the ls
command to view files. The file size is displayed in sectors and the active boot image
is identified in the final message. For example:
FL# SIZ FLAGS
11 18 3 WiFly_GSX-2.21
29 1 10 config
190 Free, Boot=11, Backup=0
You can store multiple firmware images and configuration files.
The module contains a built-in FTP client for downloading files and updating the firm-
ware. The client uses passive mode FTP, which allows operation through firewalls and
the Internet. To connect to Roving Networks to obtain the latest released firmware, use
the settings shown in Table 4 - 2 .
Note: You cannot append the sampled sensor data to the UART data. Enabling
option format 7 with set uart mode 2 results in erroneous data.
Note: The module’s flash file system only is used to store firmware and configu-
ration files. Currently, the file system cannot be used to store data files.
TABLE 4-2: FTP SETTINGS
Setting Description
FTP server rn.microchip.com (set FTP server using the set dns backup <string> com-
mand)
FTP username roving
FTP password Pass123
FTP filename Refer to the following sections for the filename used in different versions of
firmware.
FTP directory ./public (this parameter cannot be modified)
Note: Before using FTP to upgrade the firmware, the module must first be asso-
ciated with an access point that is connected to the Internet.