Pages: [1]   Go Down
Author Topic: Upload Issues  (Read 477 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.  
Logged

Wuppertal/Germany
Offline Offline
God Member
*****
Karma: 1
Posts: 895
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
ls -all /dev/ttyUSB*
plug your arduino into your machine and list the devices again
Code:
ls -all /dev/ttyUSB*
You should now see the device created for the Ardunio.
If not, please check the system log with
Code:
dmesg
It should contain some kind of error report.

Eberhard
Logged

0
Offline Offline
Shannon Member
****
Karma: 159
Posts: 10409
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you have the FDTI drivers?
Logged

[ I won't respond to messages, use the forum please ]

Wuppertal/Germany
Offline Offline
God Member
*****
Karma: 1
Posts: 895
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I noticed no change in /dev/.  My dmesg output is below.
Code:
[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.    
Logged

Wuppertal/Germany
Offline Offline
God Member
*****
Karma: 1
Posts: 895
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Lancashire, UK
Offline Offline
Edison Member
*
Karma: 8
Posts: 1992
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'd try a new USB cable first.
Logged


Pages: [1]   Go Up
Jump to: