2013-06-24 38 views
0

我试图到WiFi屏蔽固件升级按照提供 http://arduino.cc/en/Hacking/WiFiShieldFirmwareUpgrading更新的Arduino无线上网屏蔽固件更新

的指示,但我得到了messege作为

[email protected]:/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 
========================================= 

如何为提供root权限我安装的dfu程序员

sudo apt-get install dfu-programmer 

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

+0

该指令要求'sudo apt-get install dfu-programme'。最后没有'r'。这可能是问题吗? – user2461391

+0

我认为这是错字dfu程序不会锻炼 – user2382401

回答

1

你需要使用sudo运行脚本:

sudo ./ArduinoWifiShield_upgrade.sh -f all 

你也将需要的路径添加到您的Arduino IDE文件与-a开关(它必须是前-f开关),所以:

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

与路径,你必须提取Arduino的文件替换PATH/TO/ARDUINO /文件。

+0

这是否回答您的问题?如果不是,如果您提供更多信息,但如果确实如此,我可以尝试提供帮助,请将其投票并将其标记为正确答案。谢谢。 – Lior

+0

谢谢!在Mac上为我工作! – DrJay