Hi,
I'm trying to change the firmware on my ATMEGA16U2 and I'm having a few problems with setting up fu-programmer on my mac.
When I run through the procedure on the Arduino site :
I get the following message displayed in my terminal window when trying to erase the old firmware:
dfu-programmer: no device present.
After looking online a while I came across this forum post:
http://forum.arduino.cc/index.php?topic=92148.0
Where it explains that the ATMEGA16U2 is not a know device on dfu-programmer and that dfu-programmer 0.5.4 needs to be installed.
I've followed the instructions through but when I get to using the ./bootstrap.sh command in terminal, terminal kindly gives me the finger with the following lines:
DJ:dfu-programmer-0.5.4 hd334$ ./bootstrap.sh
sh: autom4te: command not found
aclocal: error: echo failed with exit status: 127
./bootstrap.sh: line 3: autoheader: command not found
sh: autoconf: command not found
automake: error: autoconf failed with exit status: 127
./bootstrap.sh: line 5: autoconf: command not found
DJ:dfu-programmer-0.5.4 hd334$
My guess is maybe this is because I have a different OSX then that used during the time of the post. But this is a guess and no answer to my how I upload new firmware to my ATMEGA16U2.
Has anyone got any advice or been in a similar situation ?
BR Danny
OK done a little more digging and found this :
DJ:dfu-programmer-0.6.2 hd334$ sudo dfu-programmer atmega8u2 erase
dfu-programmer: no device present.
DJ:dfu-programmer-0.6.2 hd334$ sudo dfu-programmer atmega erase
Unsupported target 'atmega'.
targets:
at89c51snd1c at89c51snd2c at89c5130 at89c5131
at89c5132 at90usb1287 at90usb1286 at90usb1287-4k
at90usb1286-4k at90usb647 at90usb646 at90usb162
at90usb82 atmega32u6 atmega32u4 atmega32u2
atmega16u4 [b]atmega16u2 atmega8u2[/b] at32uc3a0128
at32uc3a1128 at32uc3a0256 at32uc3a1256 at32uc3a0512
at32uc3a1512 at32uc3a0512es at32uc3a1512es at32uc3a364
at32uc3a364s at32uc3a3128 at32uc3a3128s at32uc3a3256
at32uc3a3256s at32uc3a4256s at32uc3b064 at32uc3b164
at32uc3b0128 at32uc3b1128 at32uc3b0256 at32uc3b1256
at32uc3b0256es at32uc3b1256es at32uc3b0512 at32uc3b1512
at32uc3c064 at32uc3c0128 at32uc3c0256 at32uc3c0512
at32uc3c164 at32uc3c1128 at32uc3c1256 at32uc3c1512
at32uc3c264 at32uc3c2128 at32uc3c2256 at32uc3c2512
atxmega64a1u atxmega128a1u atxmega64a3u atxmega128a3u
atxmega192a3u atxmega256a3u atxmega16a4u atxmega32a4u
atxmega64a4u atxmega128a4u atxmega256a3bu atxmega64b1
atxmega128b1 atxmega64b3 atxmega128b3 atxmega64c3
atxmega128c3 atxmega256c3 atxmega384c3
DJ:dfu-programmer-0.6.2 hd334$
So now I have the right dfu-programmer but still no luck with it finding the chip when connected to the UNO.
Any one help!!!!
I also have this problem. I've been researching but this is really stumping me. Please help.
I had the same problem in updating the wifi-shield. In another thread I found the answer: find a USB-cable that works. I tried two white ones, did not work, maybe they are just for providing power. But it worked with a black cable.