Go Down

Topic: WIFI Shield firmware update 1.0.5 attempt (Read 12860 times) previous topic - next topic

trackman75

Jul 02, 2013, 05:07 am Last Edit: Jul 02, 2013, 11:32 pm by trackman75 Reason: 1
I attempted the 1.0.5 firmware update instructions for Windows on http://arduino.cc/en/Hacking/WiFiShieldFirmwareUpgrading and modified the command prompt so it will work and pass all checks.

wifi_dnld.elf update attempt:

I modified the path and put the path in quotes to get the command line to work.
After passing all checks, the shield's green Link LED is lit for a second, and then the blue Data LED is lit and the blue LED does not seem to turn off.  

What does this mean?  I assumed this means the data was being written from the Atmel to the HDG104.

The Atmel on my Arduino wifi shield is a 32UC3A1512-U.  It's an R3.  I've tried using the 1512 and 1256 in the command prompt with the same results.  The USB connection in device manager is removed after the first step and I cannot reconnect to accomplish the second step until I cycle power to the shield.  When the second step is accomplished, I'm unable to get the shield to connect with my network anymore.  

What am I missing on this step?


wifiHD.elf update attempt:

I have tried using direct batchisp.exe command line and using AVR Studio 2.6 with binary/wifiHD.elf.  Both attempts pass all checks from batchisp.exe and AVR Studio 2.6.  When the checks passed, I removed the jumper and hit restart on the shield.  I connected the shield to the UNO R3.  The shield is able to connect to the WPA2 router, but is not able to connect to outside webpages as a client in 1.0.5.  When I use the firmware revision check in the Arduino program, it prints 1.0.0.  I've read a number of comments stating that different firmware revs are using 1.0.0.  When I download to the UNO using 1.0.3, the shield is able to act as a client and read webpages.  This leads me to believe that the new firmware is not taking.  I've tried the wifi firmware that comes with the Arduino 1.0.5 software installation and the latest wifi-master off of github.  

Can someone tell me what I'm doing wrong?

Thanks.

fpga6

It's very difficult to determine the correct revision levels of the wifi firmware either on github or by device read back.  As you note all of the firmware revisions read out as 1.0.0 regardless of the date they were revised.  Also, the firmware has been in more than one repository on github, so how do you know you are loading the most current?

I have tried many combinations of IDE revision level, firmware revision level, and the various examples of wifi shield server sketches and none has produced a reliable system for me.  Add to that trying three different LANs and four different browsers.  You would think that if the design of the wifi shield and software is good, at least something would work.

I have three wifi shields.  My project is a web server.  One works for a while but fails in a week or so.  One stays up for a couple of days.  The third has never successfully operated as a server.  These are the results using identical firmware and software on all three.

I think the conclusion must be that there are design or manufacturing flaws in the wifi shield product.  Given the casual/vague nature of the support and firmware revision controls, the arduino people do not seem to know how to fix it or support it.  If you read the comments in the forum, nobody seems to report success with the product.  I know failing projects get reported more frequently because people want help.  But usually someone will report success if they have encountered it.  Where are the successes?

MrJones

I am having trouble updating the firmware. I have tried on Mac using these instructions:

http://flashgamer.com/arduino/comments/how-to-update-the-official-arduino-wifi-shield

But, I cannot get past step 3 or 4.

I dont understand what it means by "enabling the jumper".

I also dont understand what the instructions mean in step 4. What am I meant to do with these scripts?

Is it easier to upgrade the wifi shield on windows 7?


Any help would be greatly appreciated....


trackman75

Arduino support sent me a wifiHD.elf file for 1.0.5 and it worked perfectly for me.  This is supposed to be the same file in the IDE 1.0.5.  If you are having trouble upgrading the firmware on the wifi shield to 1.0.5, please contact me and I will send you the file and answer other questions you have with upgrading.

fboundy

I'm also struggling with this upgrade. I have downloaded the two .elf files but when I run batchisp I get the following:

Code: [Select]
Running batchisp 1.2.5 on Fri Aug 02 09:13:42 2013

AT32UC3A1256 - USB - USB/DFU

Device selection....................... PASS
Hardware selection..................... PASS
Opening port........................... PASS
Reading Bootloader version............. PASS    1.0.2
Erasing................................ PASS
Selecting FLASH........................ PASS
Blank checking......................... PASS    0x00000 0x3ffff
Parsing ELF file....................... Can't open input file "c:\temp\wifi_dnld
.elf"
FAIL    Reading error.
(A)bort, (R)etry, (I)gnore ?


I've tried moving the .elf files local to the \bin directory and that doesn't help. Any suggestions?

trackman75

Hi fboundy, can you please provide the statement you used for batchisp?

glevet

i've the same problem, instead i used avr32 studio 2.6 and succesfully upgrade the firmware but its still not working i cant get through the examples in the arduino IDE. anyone know how to make the official wifi shield work with and arduino UNO R3 ??

trackman75

Can you verify the firmware updated to the wifi shield by adding Serial.println(WiFi.firmwareVersion()) to your program on the UNO and making sure it comes back as 1.1.0?  I tested that my 1.0.5 IDE works with the UNO R3.

glevet

#8
Aug 08, 2013, 10:51 pm Last Edit: Aug 08, 2013, 10:53 pm by glevet Reason: 1
i'm sure the version is 1.1.0 and seems to be working with some of the examples in the arduino IDE but not with all of them, i'll keep trying some of the examples and post the ones in wich is not working.


monticello

Hi,
I got the same problem with updating the firmware and I found a simlpe solution:
I took a copy of "wifi_dnld.elf" into the main path "C:\Program Files (x86)\Atmel\Flip 3.4.7\bin"
and erased the path in the statement.
That's not elegant but worked well.

This did not work:

cd C:\Program Files (x86)\Atmel\Flip 3.4.7\bin

C:\Program Files (x86)\Atmel\Flip 3.4.7\bin>batchisp.exe -device AT32UC3A1256 -h
ardware usb -operation erase f memory flash blankcheck loadbuffer /Arduino/hardw
are/arduino/firmwares/wifishield/binary/wifi_dnld.elf program verify start reset
0
Running batchisp 1.2.5 on Fri Oct 18 20:19:58 2013



AT32UC3A1256 - USB - USB/DFU


Device selection....................... PASS
Hardware selection..................... PASS
Opening port........................... PASS
Reading Bootloader version............. PASS    1.0.2
Erasing................................ PASS
Selecting FLASH........................ PASS
Blank checking......................... PASS    0x00000 0x3ffff
Parsing ELF file....................... Can't open input file "/Arduino/hardware
/arduino/firmwares/wifishield/binary/wifi_dnld.elf"
FAIL    Reading error.
(A)bort, (R)etry, (I)gnore ? a



But this worked well:
C:\Program Files (x86)\Atmel\Flip 3.4.7\bin>
C:\Program Files (x86)\Atmel\Flip 3.4.7\bin>batchisp.exe -device AT32UC3A1256 -h
ardware usb -operation erase f memory flash blankcheck loadbuffer wifi_dnld.elf
program verify start reset 0
Running batchisp 1.2.5 on Fri Oct 18 20:22:48 2013



AT32UC3A1256 - USB - USB/DFU


Device selection....................... PASS
Hardware selection..................... PASS
Opening port........................... PASS
Reading Bootloader version............. PASS    1.0.2
Erasing................................ PASS
Selecting FLASH........................ PASS
Blank checking......................... PASS    0x00000 0x3ffff
Parsing ELF file....................... PASS    wifi_dnld.elf
WARNING: The user program and the bootloader overlap!
Programming memory..................... PASS    0x00000 0x2902b
Verifying memory....................... PASS    0x00000 0x2902b
Starting Application................... PASS    RESET   0

Summary:  Total 11   Passed 11   Failed 0

Onamission71

Does the UDP send/receive example work since your upgrade?

rperegrino

#11
Feb 13, 2014, 08:28 am Last Edit: Feb 13, 2014, 09:13 pm by rperegrino Reason: 1
Hello,
***************************************************
Update:

I got the UDP send/receive to work!

In summary, need to install USB driver for Shield from Flip usb directory,
then need to use wifiHD.elf file to update,
then it works

***************************************************

I'm having some similar issues.
Right out of the box, I could use the WiFi simple web server example to connect to a network, but couldn't get a web server to see the device (via the reported IP address).

I then tried upgrading the shield firmware (have 1.0.5 IDE), and after some effort got what almost looked ok except the bootloader overlap warning (see below).

After this firmware upgrade though, the example can't find the shield, and the shield has a solid blu LED on (data).

Any clues or help appreciated.

Update:

I tried using the wifiHD.elf file, and now I'm back to connecting to a network. The instructions show using wifi_dnld.elf.
And then I got the UDP send/receive to work!

Regards,
Ric


C:\Program Files\Atmel\Flip 3.4.7\bin>batchisp.exe -device AT32UC3A1256 -hardwar
e usb -operation erase f memory flash blankcheck loadbuffer wifi_dnld.elf progra
m verify start reset 0
Running batchisp 1.2.5 on Wed Feb 12 23:28:34 2014

AT32UC3A1256 - USB - USB/DFU

Device selection....................... PASS
Hardware selection..................... PASS
Opening port........................... PASS
Reading Bootloader version............. PASS    1.0.2
Erasing................................ PASS
Selecting FLASH........................ PASS
Blank checking......................... PASS    0x00000 0x3ffff
Parsing ELF file....................... PASS    wifi_dnld.elf
WARNING: The user program and the bootloader overlap!
Programming memory..................... PASS    0x00000 0x2902b
Verifying memory....................... PASS    0x00000 0x2902b
Starting Application................... PASS    RESET   0

Summary:  Total 11   Passed 11   Failed 0

C:\Program Files\Atmel\Flip 3.4.7\bin>

alexis10clement

Hello rperegrino/everybody,

I have the same problem with my arduino wifi shield (http://arduino.cc/en/uploads/Main/ArduinoWiFiShield_Front_450px.jpg)  : solid blue led !!!  :0

I have Windows 7 with Arduino 1.0.5-r2 !

I use wifi_dnld.elf and wifiHD.elf finding in folder "arduino-1.0.5-r2-windows" :
-  wifi_dnld.elf --> 08/01/2014
-  wifiHD.elf       --> 08/01/2014

I copied two files in C:\Program Files (x86)\Atmel\Flip 3.4.7 ...

To upgrade firmware I installed Atmel/Flip 3.4.7 and I use these command :
- Directory : C:\Program Files (x86)\Atmel\Flip 3.4.7>
- wifi_dnld.elf --> batchisp.exe -device AT32UC3A1512 -hardware usb -operation erase f memory flash blankcheck loadbuffer wifi_dnld.elf program verify start reset 0
-  wifiHD.elf --> batchisp.exe -device AT32UC3A1512 -hardware usb -operation erase f memory flash blankcheck loadbuffer wifiHD.elf program verify start reset 0

Can you explain me what is my problem please ? I need help !!!  =(

Thank you in advance.

Regards,

Alex

alexis10clement

And I use Arduino Mega 2560 ! Sorry.


Hello rperegrino/everybody,

I have the same problem with my arduino wifi shield (http://arduino.cc/en/uploads/Main/ArduinoWiFiShield_Front_450px.jpg)  : solid blue led !!!  :0

I have Windows 7 with Arduino 1.0.5-r2 !

I use wifi_dnld.elf and wifiHD.elf finding in folder "arduino-1.0.5-r2-windows" :
-  wifi_dnld.elf --> 08/01/2014
-  wifiHD.elf       --> 08/01/2014

I copied two files in C:\Program Files (x86)\Atmel\Flip 3.4.7 ...

To upgrade firmware I installed Atmel/Flip 3.4.7 and I use these command :
- Directory : C:\Program Files (x86)\Atmel\Flip 3.4.7>
- wifi_dnld.elf --> batchisp.exe -device AT32UC3A1512 -hardware usb -operation erase f memory flash blankcheck loadbuffer wifi_dnld.elf program verify start reset 0
-  wifiHD.elf --> batchisp.exe -device AT32UC3A1512 -hardware usb -operation erase f memory flash blankcheck loadbuffer wifiHD.elf program verify start reset 0

Can you explain me what is my problem please ? I need help !!!  =(

Thank you in advance.

Regards,

Alex


rperegrino

Hi Alex,

After updating using the wifiHD.elf file, it worked for me.. The wifi_dnld.elf did not work for me. I'm also on Mega 2560.
What output do you see from the Flip program? Perhaps you can copy that here and it might provide some clues.

Regards,
Ric

Go Up