Page 1 of 1
Wifi firmware update problem
Posted: Tue Apr 30, 2013 5:44 am
by Poiromaniax
I'm using the graphical wifi setup (bundled with the installer) and when I click update firmware it shows "downloading latest firmware image"
It doesn't move past this point. I even left it downloading overnight. (The wifi unit displays a single fast blinking green light)
Is there a way to manually download the firmware and apply it? Also which firmware is the latest stable version?
Thanks
Re: Wifi firmware update problem
Posted: Tue Apr 30, 2013 6:50 am
by rimai
Roving Networks was bought out by Microchip and they have made several changes over the past year, including changes on the ftp server and changes on the firmware.
The latest version is 4.0:
http://www.rovingnetworks.com/Current_Firmware
This is the change log:
http://www.rovingnetworks.com/FAQs/What ... iFly_v4_xx
And here is how to update:
http://www.rovingnetworks.com/FAQs/How_ ... y_versions
You will need a serial terminal such as Tera Term or putty.
Re: Wifi firmware update problem
Posted: Tue Apr 30, 2013 7:56 am
by Poiromaniax
Thank you,
Im using mac, any idea what program to use?
Re: Wifi firmware update problem
Posted: Tue Apr 30, 2013 7:57 am
by rimai
CoolTerm
Re: Wifi firmware update problem
Posted: Tue Apr 30, 2013 8:00 am
by Poiromaniax
Thanks
Also, which module is it? the RN131 or RN171?
Re: Wifi firmware update problem
Posted: Tue Apr 30, 2013 8:01 am
by rimai
RN131
Re: Wifi firmware update problem
Posted: Wed May 01, 2013 10:06 am
by Poiromaniax
What baud rate and data bits must i use etc?
Re: Wifi firmware update problem
Posted: Wed May 01, 2013 10:08 am
by rimai
At factory reset, the module is at 9600 baud 8-N-1, but after it has been setup, it changes to 57600 baud 8-N-1.
Re: Wifi firmware update problem
Posted: Wed May 01, 2013 10:24 am
by Poiromaniax
Im trying to download the update using ftp update wifly3-400.img but it keeps saying "530 Login authentication failure"
Ive looked in their instructions and it doesnt mention login details? am i retarded?
Re: Wifi firmware update problem
Posted: Wed May 01, 2013 10:24 am
by Poiromaniax
rimai wrote:At factory reset, the module is at 9600 baud 8-N-1, but after it has been setup, it changes to 57600 baud 8-N-1.
Thanks

Re: Wifi firmware update problem
Posted: Wed May 01, 2013 10:58 am
by rimai
It's probably that you are trying to use the old ftp server.
The new one is rn.microchip.com, which resolves to 198.175.253.161.
use this command to update the ftp address:
set f a 198.175.253.161
Re: Wifi firmware update problem
Posted: Wed May 01, 2013 12:17 pm
by Poiromaniax
rimai wrote:It's probably that you are trying to use the old ftp server.
The new one is rn.microchip.com, which resolves to 198.175.253.161.
use this command to update the ftp address:
set f a 198.175.253.161
Thanks - will give it a shot

Re: Wifi firmware update problem
Posted: Wed May 01, 2013 11:15 pm
by Poiromaniax
I did what you suggested

- Screen Shot 2013-05-02 at 8.14.31 AM.png (147.74 KiB) Viewed 5286 times
Re: Wifi firmware update problem
Posted: Thu May 02, 2013 8:07 am
by rimai
Give it another shot...
The first 2 looks like the wifi wasn't connected...
The AUTH-ERR shown in the log tells that the wifi was not connected properly.
The 3rd one was issued mid way into the authentication process.
Re: Wifi firmware update problem
Posted: Thu May 02, 2013 2:59 pm
by Poiromaniax
Thanks roberto, seems to have mostly fixed it.
Now i am getting this when i try run "ftp update wifly3-400.mif"

- Screen Shot 2013-05-03 at 12.02.42 AM.png (122 KiB) Viewed 5255 times
Wifi firmware update problem
Posted: Sat May 04, 2013 11:02 am
by Poiromaniax
Bump
Re: Wifi firmware update problem
Posted: Sat May 04, 2013 11:40 am
by rimai
After you do the 1st ftp u for the .img file, you must save and reboot then do the 2nd ftp u with the .mif file.
Wifi firmware update problem
Posted: Sun May 05, 2013 8:35 am
by Poiromaniax
rimai wrote:After you do the 1st ftp u for the .img file, you must save and reboot then do the 2nd ftp u with the .mif file.
Thanks

can I ask what is the command for save and reboot?
Is it just "save" and "reboot"?
Re: Wifi firmware update problem
Posted: Sun May 05, 2013 8:48 am
by rimai
yeap

Re: Wifi firmware update problem
Posted: Mon May 06, 2013 9:53 am
by Poiromaniax
rimai wrote:yeap

I have succesfully performed the updates and using the graphical wifi utility (mac) have connected to my network.
However, after connecting the wifi unit back to my reefangel and trying to browse to it in my web browser (192.168.0.15:2000/wifi) i get a message saying "no data received"
I can ping the unit and have confirmed it is on the network through the router monitoring tools. i feel like it needs the reefangel software/firmware installed on it?
Re: Wifi firmware update problem
Posted: Mon May 06, 2013 10:29 am
by rimai
Did you check wifi attachment when generating the code?
Wifi firmware update problem
Posted: Mon May 06, 2013 1:18 pm
by Poiromaniax
rimai wrote:Did you check wifi attachment when generating the code?
Lights were flashing on it. Yellow I think
Re: Wifi firmware update problem
Posted: Mon May 06, 2013 1:28 pm
by rimai
Ok, but does your code have wifi stuff?
You must either check mark wifi attachment on the wizard when generating or add it later.
Can you post your code?
Wifi firmware update problem
Posted: Mon May 06, 2013 1:56 pm
by Poiromaniax
rimai wrote:Ok, but does your code have wifi stuff?
You must either check mark wifi attachment on the wizard when generating or add it later.
Can you post your code?
My code should have wifi....
Edit - Attached codes
Re: Wifi firmware update problem
Posted: Mon May 06, 2013 2:14 pm
by rimai
I don't see wifi stuff in there.
Make sure to add this right above ShowInterface();