0

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

但我得到的消息是

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

如果这是问题???或者我应该尝试别的

4

1 回答 1

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 文件的路径。

于 2013-08-12T17:43:53.847 回答