Hi,
Could someone help me with the problems I faced trying to update firmware on Arduino WiFi Shield R3. I'm working on OS X 10.9.2, Arduino IDE 1.0.5. I was acting in accordance with arduino.cc instruction "Updating the Atmega8U2 and 16U2 on an Uno or Mega2560 using DFU".
- I downloaded wifishield-master from github, copied the files from wifishield-master/firmware/binary to Arduino IDE folder /Contents/Resources/Java/hardware/arduino/firmwares/wifishield/binary;
- I installed MacPorts-2.2.1-10.9-Mavericks package;
- After issuing "sudo port install dfu-programmer" I got the message:
……….
sudo port install dfu-programmer
---> Computing dependencies for dfu-programmer
---> Dependencies to be installed: libusb-compat libusb
---> Fetching distfiles for libusb
---> Attempting to fetch libusb-1.0.18.tar.bz2 from http://citylan.dl.sourceforge.net/libusb
………………………
---> Attempting to fetch libusb-1.0.18.tar.bz2 from http://svn.macports.org/repository/macports/distfiles/libusb
Error: org.macports.fetch for port libusb returned: fetch failed
Error: Failed to install libusb
Please see the log file for port libusb for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libusb/libusb/main.log
Error: The following dependencies were not installed: libusb-compat libusb
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port dfu-programmer failed
……..
The above mentioned main.log-file contents:
:debug:fetch Fetching distfile failed: The requested URL returned error: 403 OK
:error:fetch org.macports.fetch for port libusb returned: fetch failed
:debug:fetch Error code: NONE
:debug:fetch Backtrace: fetch failed
while executing
"portfetch::fetchfiles"
(procedure "portfetch::fetch_main" line 17)
invoked from within
"$procedure $targetname"
:info:fetch Warning: targets not executed for libusb: org.macports.activate org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:fetch Failed to install libusb
:debug:fetch couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
while executing
"open [file join $dir tclIndex]"
:notice:fetch Please see the log file for port libusb for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libusb/libusb/main.log"
—————————————————
I understand that "libusb-1.0.18" is missing. I downloaded libusb-1.0.18 from sourceforge. Where to put these library files? The /libusb, /libusb-compat and /libusb-devel folders in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel content the "Portfiles" only:
/libusb - Portfile
/libusb-compat - Portfile
/libusb-devel - Portfile
/libusb-legacy
/files
patch-configure.in.diff
patch-darwin.c.diff
rename.patch
Portfile
——————————————————
What else shall I do?
Thanks.