Go Down

Topic: WIFI Shield - Firmware upgrade fail (Read 1 time) previous topic - next topic

ImXron

Aug 20, 2013, 04:28 am Last Edit: Aug 20, 2013, 04:31 am by ImXron Reason: 1
Been trying to upgrade the firmware on my new WIFI shield. Keep getting this error in cmd prompt. Followed the instructions from here: http://arduino.cc/en/Hacking/WiFiShieldFirmwareUpgrading

"Parsing ELF file....................... Can't open input file "/Arduino/hardware
/arduino/firmware/wifishield/binary/wifi_dnld.elf"
FAIL     Reading error

Happens for both wifi_dnld.elf and wifiHD.elf

Using R3 on IDE 1.0.5, window 7 64-bit. Tried downloading the latest firmwares on github, already have the 2 firmware pins jumped. Tried changing file permissions. Sketches upload fine, serial monitor shows WIFI shield not present.

Any ideas?

Thanks

ImXron

Followed Ludgy's instructions here: http://forum.arduino.cc/index.php?PHPSESSID=0g864usaihcj5af5uckifaso93&topic=180445.0

Fixed it!

Don't know if it was my ELF files or the directory.

trekkie

Just giving props to Ludgy's fix.  (Link is above). 

Darned if I can see what the problem was.  Maybe corrupt files that I downloaded from GitHub.  (Dang, that site is a pain to deal with.) 

But, whatever the reason, his files successfully flashed the card, and his sketch successfully serves his web page. 

Figured recommending his fix was the appropriate thing to do. 

SurferTim

I cheat. I copied both those files to my root directory from the
/arduino-1.0.5/hardware/arduino/firmwares/wifishield/binary/ directory.
That makes the commands easy.

Code: [Select]
batchisp.exe -device AT32UC3A1256 -hardware usb -operation erase f memory flash blankcheck loadbuffer c:/wifi_dnld.elf program verify start reset 0

batchisp.exe -device AT32UC3A1256 -hardware usb -operation erase f memory flash blankcheck loadbuffer c:/wifiHD.elf program verify start reset 0

Go Up