Go Down

Topic: Upload Issues (Read 650 times) previous topic - next topic

itc55

Hi,
I've been trying to get my first program uploaded to a Duemilanove w/ ATmega328.  I keep getting the following error though.

avrdude: stk500_recv(): programmer is not responding

My best guess is the listed serial port is wrong. /dev/ttyS0 is the only one listed in tools-serial port. Most posts I've read list /dev/ttyUSB0 as the correct port but there isn't anything in /dev/ like that.  The only thing with usb is usbmon0-5.  The board is blinking in it's default program so I know it's getting power. Any ideas?

I'm running xubuntu 9.10 with the 2.6.31 kernel.  I downloaded the sowtware through the ppa.  

wayoda

Hi,
when a arduino is plugged in the device /dev/ttyUSB0 will be created by the operating system, and it will be removed when the arduino is unplugged.
Test:
Unplug your arduino
Open a console window and list the current devices with
Code: [Select]
ls -all /dev/ttyUSB*
plug your arduino into your machine and list the devices again
Code: [Select]
ls -all /dev/ttyUSB*
You should now see the device created for the Ardunio.
If not, please check the system log with
Code: [Select]
dmesg
It should contain some kind of error report.

Eberhard

MarkT

Do you have the FDTI drivers?
[ I won't respond to messages, use the forum please ]

wayoda

The FTDI driver is part of the Linux kernel. There is no need to install manually.
Eberhard

itc55

I noticed no change in /dev/.  My dmesg output is below.
Code: [Select]
[48876.377581] usb 1-4: USB disconnect, address 11
[49049.352105] usb 3-2: new full speed USB device using uhci_hcd and address 4
[49049.472071] usb 3-2: device descriptor read/64, error -71
[49049.696135] usb 3-2: device descriptor read/64, error -71
[49049.912139] usb 3-2: new full speed USB device using uhci_hcd and address 5
[49050.032102] usb 3-2: device descriptor read/64, error -71
[49050.256108] usb 3-2: device descriptor read/64, error -71
[49050.472101] usb 3-2: new full speed USB device using uhci_hcd and address 6
[49050.884115] usb 3-2: device not accepting address 6, error -71
[49051.000112] usb 3-2: new full speed USB device using uhci_hcd and address 7
[49051.408129] usb 3-2: device not accepting address 7, error -71
[49051.408165] hub 3-0:1.0: unable to enumerate USB device on port 2

I think this is the relevant part.  If not I really don't know because everything else seemed to be related to file systems.    

wayoda

Hi,
bad news.
On the Linux-USB subsytem error 71 is a  "Protocol error".
If the error does not go away when you use a different cable or use a different USB-Port/Hub it looks like your board (the USB2Serial adapater at least) is damaged.

Eberhard

pluggy

I'd try a new USB cable first.
http://pluggy.is-a-geek.com/index.html

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy