<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/4740" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2010-08-15T11:54:21+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/4740</id>

		<entry>
		<author><name><![CDATA[amateur_24]]></name></author>
		<updated>2010-08-15T11:54:21+02:00</updated>

		<published>2010-08-15T11:54:21+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4740&amp;p=15525#p15525</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4740&amp;p=15525#p15525"/>
		<title type="html"><![CDATA[problematic usb many unable to enumerate usb device messages]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4740&amp;p=15525#p15525"><![CDATA[
Hi<br />I'm an issue with my usb interface. I can't get it to register properly. I'm using the following tutorial <br />to write a boot loader that allows me to flash the firmware of my avr without my programmer. <br /><!-- m --><a class="postlink" href="http://www.workinprogress.ca/v-usb-tutorial-software-only-usb-for-mega-tiny/">http://www.workinprogress.ca/v-usb-tuto ... mega-tiny/</a><!-- m --><br /><br />I press the reset boot to get into the bootloader then I plug in the usb cable. I get loads<br />of [ 1922.791885] hub 4-0:1.0: unable to enumerate USB device on port 5 in the dmesg.<br /><br />[ 4730.400048] usb 4-5: new low speed USB device using ohci_hcd and address 93<br />[ 4730.550047] usb 4-5: device descriptor read/64, error -62<br />[ 4730.811863] usb 4-5: device descriptor read/64, error -62<br />[ 4731.090049] usb 4-5: new low speed USB device using ohci_hcd and address 94<br />[ 4731.240040] usb 4-5: device descriptor read/64, error -62<br />[ 4731.500052] usb 4-5: device descriptor read/64, error -62<br />[ 4731.670055] hub 4-0:1.0: unable to enumerate USB device on port 5<br />[ 4732.380047] usb 4-5: new low speed USB device using ohci_hcd and address 96<br />[ 4732.530077] usb 4-5: device descriptor read/64, error -62<br />[ 4732.790050] usb 4-5: device descriptor read/64, error -62<br />[ 4733.070158] usb 4-5: new low speed USB device using ohci_hcd and address 97<br />[ 4733.220040] usb 4-5: device descriptor read/64, error -62<br />[ 4733.480040] usb 4-5: device descriptor read/64, error -62<br />[ 4733.771827] usb 4-5: new low speed USB device using ohci_hcd and address 98<br />[ 4734.190035] usb 4-5: device not accepting address 98, error -62<br />[ 4734.360048] usb 4-5: new low speed USB device using ohci_hcd and address 99<br />[ 4734.790042] usb 4-5: device not accepting address 99, error -62<br />[ 4734.790068] hub 4-0:1.0: unable to enumerate USB device on port 5<br />[ 4756.130042] usb 4-5: new low speed USB device using ohci_hcd and address 100<br />[ 4756.280045] usb 4-5: device descriptor read/64, error -62<br />[ 4756.540041] usb 4-5: device descriptor read/64, error -62<br />[ 4756.800047] usb 4-5: new low speed USB device using ohci_hcd and address 101<br />[ 4756.950045] usb 4-5: device descriptor read/64, error -62<br />[ 4757.210042] usb 4-5: device descriptor read/64, error -62<br />[ 4757.470042] usb 4-5: new low speed USB device using ohci_hcd and address 102<br />[ 4757.890041] usb 4-5: device not accepting address 102, error -62<br />[ 4758.040096] usb 4-5: new low speed USB device using ohci_hcd and address 103<br />[ 4758.460047] usb 4-5: device not accepting address 103, error -62<br /><br /><br /><br />It goes on and on until I switch it off/unplug it. I have d+ connected to pin3 and d- to pin2 of a typeB usb 1.1 socket.<br />It definitely not a dodgy cable since it's the same cable I use to flash the firmware. I'm 100% sure it's working<br />since my led comes on when I push the button to get into the bootloader.<br /><br />I'm using the recommended setup with 68R resistors and 3.6V zener diodes. According to maplin, they're rates for 0.6watts <br />of power. On the zener I measure 0.8V D+  0.5V D-.<br /><br />I've made sure I've connected to the right pins on my avr.  I 'm using a 20MHZ crystal with a full swing oscillator of my atmega328p<br /><br />Also accasionally I do see  3075.610064] usb 4-5: new low speed USB device using ohci_hcd and address 12<br />[ 3075.760050] usb 4-5: device descriptor read/64, error -62.<br /><br />#define  USB_CFG_VENDOR_ID       0xc0, 0x16<br />#define  USB_CFG_DEVICE_ID       0xdf, 0x05<br />#define USB_CFG_DEVICE_VERSION  0x00, 0x01<br />#define USB_CFG_VENDOR_NAME     'o', 'b', 'd', 'e', 'v', '.', 'a', 't'<br />#define USB_CFG_VENDOR_NAME_LEN 8<br />#define USB_CFG_DEVICE_NAME     'U','S','B','B', 'O', 'O', 'T','L','O','A','D','E','R' <br />#define USB_CFG_DEVICE_NAME_LEN 13<br />#define USB_CFG_SERIAL_NUMBER   'B', 'O', 'O', 'T','L','O','A','D','E','R' <br />#define USB_CFG_SERIAL_NUMBER_LEN   10<br />#define USB_CFG_DEVICE_CLASS        0<br />#define USB_CFG_DEVICE_SUBCLASS     0<br />#define USB_CFG_INTERFACE_CLASS     3   /* HID */<br />#define USB_CFG_INTERFACE_SUBCLASS  0<br />#define USB_CFG_INTERFACE_PROTOCOL  0<br />#define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH    33<br /><br />my supply voltage is 5V<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4202">amateur_24</a> — Sun Aug 15, 2010 11:54 am</p><hr />
]]></content>
	</entry>
	</feed>
