Problem updating WiFi shield firmware

Hi all,

I have got a WiFi shield and managed to make it work. Then I found out of a firmware update available and decided to do it.

The problem is I get an error message during the update and can't find a solution I've read many topics here and on other forums but can't find anyone with the same problem.

$ sudo sh ./ArduinoWifiShield_upgrade_mac.sh -f shield -a /Applications/Arduino.app/Contents/Resources/Java/

       Arduino WiFi Shield upgrade
=========================================
Disclaimer: to access to the USB devices correctly, the dfu-programmer needs to be used as root. Run this script as root.

****Upgrade WiFi Shield firmware****

Error opening the file.
Something went wrong with creating the memory image.

Done. Remove the J3 jumper and press the RESET button on the shield.
Thank you!

I had to fix the update script because it contained a wrong path

WIFI_FW_PATH="/hardware/arduino/firmwares/wifi-shield"

instead of

WIFI_FW_PATH="/hardware/arduino/firmwares/wifishield/binary"

And that solved another issue (some files were not found because of the wrong path).

But the error

Error opening the file.
Something went wrong with creating the memory image.

stays, and now my wifi shield is not working :frowning: I get this error when I run a sketch that was working previously

WiFi shield not present

I can't figure out where that error comes from.

Someone says the files might be corrupted and by downloading them again it could be fixed, but I have downloaded them from several sources and it didn't help

Hi,

I have a very similar issue, did you got a solution for yours?

Sorry, I actually manage to do the update by modifying the location of the files not found previously, shield is working as expected now.

guys would you please tell me what did you do to get it working

I'm using mac and I'm having the same problem :frowning:

Please help :slight_smile:

arkkitekktura:
Sorry, I actually manage to do the update by modifying the location of the files not found previously, shield is working as expected now.

I had the same problem, then used the firmware version that is stored in the Arduino installation Folder (hardware). That worked immediately.

I got the same problem, please someone help me!

Im using this on terminal:
sudo sh /Users/MagoNicolas/Downloads/Arduino.app/Contents/Resources/Java/hardware/arduino/avr/firmwares/wifishield/scripts/ArduinoWifiShield_upgrade.sh -a"/Applications/Arduino.app/Contents/Resources/Java" -f shield

And this is the error:

Upgrade WiFi Shield firmware

Error opening the file.
Something went wrong with creating the memory image.