My board model is a UNO R3. I'm using linux (Fedora 16 or Ubuntu 11)
When I plug the usb cable, the green LED is lit, the orange LED flashes. But nothing is visible with lsusb. No message in dmesg. Nothing is listed with dfu-util -l. I tried with 3 different PCs (Fedora and Ubuntu) and with four different cables, no difference. =(
Reset the atmega16u2: to do this, briefly bridge the reset pin : the pins are located near the USB connector. Connect them briefly with a piece of wire.
The orange led stays on.
Erase the atmega16u2:
./dfu-programmer atmega16u2 erase
echo $?
The returned value should be 0.
then, flash the chip :
./dfu-programmer atmega16u2 flash Arduino-usbserial-atmega16u2-Uno-Rev3.hex
Validating ...
4034 bytes used (32.83%)
howdy,
i followed all the mentioned instructions (having the same problem with the sketch not uploading) and all went fine until the flashing.
dfu-programmer erased the firmware (by the way, if using the instructions to apply the patch and compile dfu-prog there is no need for the "./")
but flashing gave me this:
:~/arduino-1.0$ dfu-programmer atmega16u2 flash Arduino-usbserial-atmega16u2-Uno-Rev3.hex
Error opening the file.
Something went wrong with creating the memory image.
any ideas?
it seems it might be something wrong with the patch, but i really can't be shure of that.