Wifi firmware update problem

Expansion modules and attachments
Post Reply
Poiromaniax
Posts: 180
Joined: Thu Apr 05, 2012 6:20 am
Location: JHB, South Africa

Wifi firmware update problem

Post 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
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Wifi firmware update problem

Post 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.
Roberto.
Poiromaniax
Posts: 180
Joined: Thu Apr 05, 2012 6:20 am
Location: JHB, South Africa

Re: Wifi firmware update problem

Post by Poiromaniax »

rimai wrote: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.
Thank you,

Im using mac, any idea what program to use?
Last edited by Poiromaniax on Tue Apr 30, 2013 7:59 am, edited 2 times in total.
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Wifi firmware update problem

Post by rimai »

CoolTerm
Roberto.
Poiromaniax
Posts: 180
Joined: Thu Apr 05, 2012 6:20 am
Location: JHB, South Africa

Re: Wifi firmware update problem

Post by Poiromaniax »

Thanks

Also, which module is it? the RN131 or RN171?
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Wifi firmware update problem

Post by rimai »

RN131
Roberto.
Poiromaniax
Posts: 180
Joined: Thu Apr 05, 2012 6:20 am
Location: JHB, South Africa

Re: Wifi firmware update problem

Post by Poiromaniax »

What baud rate and data bits must i use etc?
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Wifi firmware update problem

Post 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.
Roberto.
Poiromaniax
Posts: 180
Joined: Thu Apr 05, 2012 6:20 am
Location: JHB, South Africa

Re: Wifi firmware update problem

Post 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?
Image
Poiromaniax
Posts: 180
Joined: Thu Apr 05, 2012 6:20 am
Location: JHB, South Africa

Re: Wifi firmware update problem

Post 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 :)
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Wifi firmware update problem

Post 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
Roberto.
Poiromaniax
Posts: 180
Joined: Thu Apr 05, 2012 6:20 am
Location: JHB, South Africa

Re: Wifi firmware update problem

Post 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 ;)
Image
Poiromaniax
Posts: 180
Joined: Thu Apr 05, 2012 6:20 am
Location: JHB, South Africa

Re: Wifi firmware update problem

Post by Poiromaniax »

I did what you suggested
Screen Shot 2013-05-02 at 8.14.31 AM.png
Screen Shot 2013-05-02 at 8.14.31 AM.png (147.74 KiB) Viewed 4446 times
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Wifi firmware update problem

Post 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.
Roberto.
Poiromaniax
Posts: 180
Joined: Thu Apr 05, 2012 6:20 am
Location: JHB, South Africa

Re: Wifi firmware update problem

Post 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
Screen Shot 2013-05-03 at 12.02.42 AM.png (122 KiB) Viewed 4415 times
Image
Poiromaniax
Posts: 180
Joined: Thu Apr 05, 2012 6:20 am
Location: JHB, South Africa

Wifi firmware update problem

Post by Poiromaniax »

Bump
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Wifi firmware update problem

Post 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.
Roberto.
Poiromaniax
Posts: 180
Joined: Thu Apr 05, 2012 6:20 am
Location: JHB, South Africa

Wifi firmware update problem

Post 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"?
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Wifi firmware update problem

Post by rimai »

yeap :)
Roberto.
Poiromaniax
Posts: 180
Joined: Thu Apr 05, 2012 6:20 am
Location: JHB, South Africa

Re: Wifi firmware update problem

Post 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?
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Wifi firmware update problem

Post by rimai »

Did you check wifi attachment when generating the code?
Roberto.
Poiromaniax
Posts: 180
Joined: Thu Apr 05, 2012 6:20 am
Location: JHB, South Africa

Wifi firmware update problem

Post by Poiromaniax »

rimai wrote:Did you check wifi attachment when generating the code?
Lights were flashing on it. Yellow I think
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Wifi firmware update problem

Post 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?
Roberto.
Poiromaniax
Posts: 180
Joined: Thu Apr 05, 2012 6:20 am
Location: JHB, South Africa

Wifi firmware update problem

Post 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
Attachments
Memory.ino
(1.15 KiB) Downloaded 331 times
Binder_Homescreen.ino
Main Code
(4.71 KiB) Downloaded 328 times
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Wifi firmware update problem

Post by rimai »

I don't see wifi stuff in there.
Make sure to add this right above ShowInterface();

Code: Select all

ReefAngel.Portal("Poiromaniax");
Roberto.
Post Reply