hi,i have a duemilanove,i use ubuntu 1104+arduino22 can't upload.
the duemilanove on windows is work.
display is:
/usr/share/arduino/hardware/tools/avrdude -C/usr/share/arduino/hardware/tools/avrdude.conf -v -v -v -v -patmega328p -carduino -P/dev/ttyUSB0 -b57600 -D -Uflash:w:/tmp/build2371454917671007761.tmp/Blink.cpp.hex:i
avrdude: Version 5.11.1, compiled on Oct 18 2011 at 21:17:35
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/usr/share/arduino/hardware/tools/avrdude.conf"
User configuration file is "/root/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyUSB0
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude done. Thank you.
I make sure the board and port is corrent.
dmesg |tail display:
[ 9473.923373] USB Serial support registered for FTDI USB Serial Device
[ 9473.923536] ftdi_sio 3-2.2:1.0: FTDI USB Serial Device converter detected
[ 9473.923664] usb 3-2.2: Detected FT232RL
[ 9473.923669] usb 3-2.2: Number of endpoints 2
[ 9473.923673] usb 3-2.2: Endpoint 1 MaxPacketSize 64
[ 9473.923678] usb 3-2.2: Endpoint 2 MaxPacketSize 64
[ 9473.923682] usb 3-2.2: Setting MaxPacketSize 64
[ 9473.926420] usb 3-2.2: FTDI USB Serial Device converter now attached to ttyUSB0
[ 9473.928517] usbcore: registered new interface driver ftdi_sio
[ 9473.928524] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
avrdude: Version 5.10, compiled on Jun 29 2010 at 21:09:48
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
*** Anybody using avrdude 5.11.1, Ubuntu 11.04 and arduino-0022 ?
rodolfo@ubuntu:~$ avrdude -c arduino -P /dev/ttyACM0 -p atmega328p -vvvvv -b 115200
avrdude: Version 5.10, compiled on Jun 29 2010 at 03:44:14
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/home/rodolfo/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyACM0
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
Please get version 5.11.1 and try again. If my memory serves me right, there were some inconsistencies (linux only) in 5.10 regarding how to correctly auto-reset an arduino. If you can't get a binary, get the sources from savannah and just compile it. I didn't have any trouble with that.
If you use an UNO, 115200 should work (optiboot). For older boards 19200 or 57600 is the correct speed.
yes,my avrdude is version 5.11.1,and loop test is no problem.
i try apt-get install arduino, and download nearly deb file install it.
they can't work all.
Where did you get avrdude 5.11.1 for natty? I couldn't find it. I tested this one ( Ubuntu – Error - 5.11 ) and it works on my machine, although its openSUSE tumbleweed
Your hardware works (on winblows), avrdude should work (works on my machine)... all that is left is possibly some strangeness with the ftdi driver. Could you test a 11.10 live CD + avrdude (from usb stick) ?
I just download and compiled avrdude 5.11.1. Compiled and talking (did not install) to my arduino just fine.
@lisux
I installed arduino (Ubuntu 11.10, sudo apt-get install arduino) I got avrdude version 5.10 is my /usr/bin directory. So I am wondering how your is version 5.11.1? @lisux
What type of computer are you on? Not the software the hardware.
@rleibner
If you have more then one avrdude installed. How are you making sure you are using the correct one? The command "which avrdude" will tell you the location of the first one the system finds in it path.
mrtaylor: @rleibner
If you have more then one avrdude installed. How are you making sure you are using the correct one?
I'm sure I'm using the 5.11 version because the msg that avrdude reports:
rodolfo@ubuntu:~$ avrdude -c arduino -P /dev/ttyACM0 -p atmega328p -vvvvv -b 115200
avrdude: Version 5.11, compiled on Oct 17 2011 at 10:38:46
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/home/rodolfo/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyACM0
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude done. Thank you.
I will try to run the arduino 0022 under a Win platform, in order to rule out any hardware problem in the I/O board ...