avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-chat] Problem with USB 3.0


From: Thomas D. Dean
Subject: [avr-chat] Problem with USB 3.0
Date: Wed, 06 Mar 2013 23:45:29 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3

> uname -a
Linux P9X79 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

> lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.2 LTS
Release:        12.04
Codename:       precise

Avrdude is the only app that has a problem with this driver/hardware.

I have been using this USB 3.0 devices for a month, or so.
I have partitioned, formatted and copied large amounts of data thru this device. This AM, I wrote 4GB to a USB disk drive with dd. No problem.

When I attempt to upload to an ATxmega128a1 with avrdude, the linux driver crashes. To recover, I have to reboot!

> avrdude -c avrisp2 -p x128a1 -P usb -v -U flash:w:main.hex:i

The usb hub shuts down.  dmesg has:

[ 62.020731] xhci_hcd 0000:09:00.0: xHCI host not responding to stop endpoint command.
[   62.020733] xhci_hcd 0000:09:00.0: Assuming host is dying, halting host.
[   62.020752] xhci_hcd 0000:09:00.0: HC died; cleaning up
[   62.020816] usb 5-1: USB disconnect, device number 2
[   62.020817] usb 5-1.1: USB disconnect, device number 3
[   62.020818] usb 5-1.1.1: USB disconnect, device number 4
[   62.020819] usb 5-1.1.1.1: USB disconnect, device number 5
[ 62.020914] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[   62.020921] pl2303 5-1.1.1.1:1.0: device disconnected
[   62.021095] usb 5-1.1.4: USB disconnect, device number 6

After reboot,

from usb-devices
T:  Bus=05 Lev=03 Prnt=03 Port=03 Cnt=02 Dev#=  6 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS=16 #Cfgs=  1
P:  Vendor=03eb ProdID=2104 Rev=02.00
S:  Manufacturer=ATMEL
S:  Product=AVRISP mkII
S:  SerialNumber=000200006818
C:  #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)

> lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 005 Device 002: ID 2109:3431
Bus 002 Device 003: ID 050d:0237 Belkin Components F5U237 USB 2.0 7-Port Hub
Bus 002 Device 004: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Bus 005 Device 003: ID 2109:2812
Bus 002 Device 005: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 002 Device 006: ID 045e:0768 Microsoft Corp. Sidewinder X4
Bus 005 Device 004: ID 2109:2812
Bus 005 Device 005: ID 0557:2008 ATEN International Co., Ltd UC-232A Serial Port [pl2303]
Bus 005 Device 006: ID 03eb:2104 Atmel Corp. AVR ISP mkII

>avrdude -c avrisp2 -p x128a1 -P usb -v -t
avrdude: Version 5.11.1, compiled on Oct 30 2011 at 10:37:28
         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/tomdean/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
         Using Port                    : usb
         Using Programmer              : avrisp2
avrdude: usbdev_open(): Found AVRISP mkII, serno: 000200006818
avrdude: usbdev_send(): wrote -19 out of 1 bytes, err = error submitting URB: No such device
avrdude: stk500_send_mk2(): failed to send command to serial port

From dmesg
[ 1884.572420] xhci_hcd 0000:09:00.0: xHCI host not responding to stop endpoint command.
[ 1884.572425] xhci_hcd 0000:09:00.0: Assuming host is dying, halting host.
[ 1884.572453] xhci_hcd 0000:09:00.0: HC died; cleaning up
[ 1884.572500] usb 5-1: USB disconnect, device number 2
[ 1884.572504] usb 5-1.1: USB disconnect, device number 3
[ 1884.572507] usb 5-1.1.1: USB disconnect, device number 4
[ 1884.572510] usb 5-1.1.1.1: USB disconnect, device number 5
[ 1884.572714] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[ 1884.572732] pl2303 5-1.1.1.1:1.0: device disconnected
[ 1884.573182] usb 5-1.1.4: USB disconnect, device number 6

> lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 050d:0237 Belkin Components F5U237 USB 2.0 7-Port Hub
Bus 002 Device 004: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Bus 002 Device 005: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 002 Device 006: ID 045e:0768 Microsoft Corp. Sidewinder X4

Any ideas what I can try?

Tom Dean



reply via email to

[Prev in Thread] Current Thread [Next in Thread]