更新Arduino Wifi shield固件更新

时间:2013-06-24 18:08:37

标签: arduino wifi

我试图按照提供的说明升级wifi屏蔽固件 http://arduino.cc/en/Hacking/WiFiShieldFirmwareUpgrading

但我正在把这个消息作为

root@Joms-PC:/home/joms/arduino-1.0.5/hardware/arduino/firmwares/wifishield/scripts#      ./ArduinoWifiShield_upgrade.sh -f all

   Arduino WiFi Shield upgrade
 =========================================
 Instructions:
To access to the USB devices correctly, the dfu-programmer needs to have the root           permissions.

You can upgrade the firmware of the antenna togheter with the shield firmware or only    the shield firmware
if there aren't changes on the antenna firmware.
  Use the '-h' parameter for help
=========================================

如何为我安装的dfu-programmer提供root权限

sudo apt-get install dfu-programmer

如果那是问题???或者我应该尝试其他的东西

1 个答案:

答案 0 :(得分:1)

您需要使用sudo运行脚本:

sudo ./ArduinoWifiShield_upgrade.sh -f all

你还需要使用-a开关添加Arduino IDE文件的路径(它必须在-f开关之前),所以:

sudo ./ArduinoWifiShield_upgrade.sh -a PATH/TO/ARDUINO/FILES -f all

将PATH / TO / ARDUINO / FILES替换为您解压缩Arduino文件的路径。