harlequin-tech / WiFlyHQ

WiFly RN-XV Arduino Library
Other
110 stars 68 forks source link

updating the firmware sketch #30

Closed psegov closed 10 years ago

psegov commented 10 years ago

Hello,

I am running crashing issues on the rn-xv that has 2.32 version of the firmware installed. I have been trying to find away to easily upgrade to version 2.38 and version 4.0 to see if these resolve the crashing issues. I noticed in ftp.cpp a function to restore that includes downloading ftping in downloading. but there is not an example that uses the ftp functionality. Has anyone create a .ino script to do this that I can leverage?

kasperkamperman commented 10 years ago

I think its not directly in this Library, however with the library below I've included a sketch to upload the Firmware. Hope it helps. Once you have the new software you can continue with this library.

https://github.com/kasperkamperman/WiFly_communicator

harlequin-tech commented 10 years ago

It's very easy to upgrade the firmware using a serial terminal or a small sketch where you call wifly.terminal() after you've set up the wifi connection to your network.

Once the terminal is running, send "$$$" with no newline to get access to the command prompt on the wifly.

Roving networks has a simple guide to do the update using the ftp update command: http://www.rovingnetworks.com/FAQs/How_do_I_upgrade_to_WiFly_v4_00_from_earlier_WiFly_versions

anshul119 commented 9 years ago

when i enter $ it gives me CMD but i can not run any command after that