简体   繁体   English

更新Arduino Wifi屏蔽固件更新

[英]Updating Arduino Wifi shield firmware update

I was trying to upgrade the wifi shield firmware as per the instructions provided on http://arduino.cc/en/Hacking/WiFiShieldFirmwareUpgrading 我正在尝试按照http://arduino.cc/en/Hacking/WiFiShieldFirmwareUpgradeing提供的说明升级wifi屏蔽固件。

But I am getting the messege as 但是我得到的信息是

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
=========================================

How to provide root permission for dfu-programmer which I installed by 如何为我安装的dfu-programmer提供root权限

sudo apt-get install dfu-programmer

if that is the issue??? 如果那是问题??? Or should I try something else 还是我应该尝试其他

You need to run the script with sudo: 您需要使用sudo运行脚本:

sudo ./ArduinoWifiShield_upgrade.sh -f all

also you will need to add the path to your Arduino IDE files with the -a switch (it has to be before the -f switch) so: 同样,您还需要使用-a开关(必须在-f开关之前)将路径添加到Arduino IDE文件中,因此:

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

replace PATH/TO/ARDUINO/FILES with the path to where you have extracted the Arduino files. 用提取Arduino文件的路径替换PATH / TO / ARDUINO / FILES。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM