<?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/3090" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2009-08-07T16:21:35+02:00</updated>

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

		<entry>
		<author><name><![CDATA[johan]]></name></author>
		<updated>2009-08-07T16:21:35+02:00</updated>

		<published>2009-08-07T16:21:35+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3090&amp;p=10413#p10413</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3090&amp;p=10413#p10413"/>
		<title type="html"><![CDATA[BootloadHID problem, &quot;unable to enumerate USB device&quot;]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3090&amp;p=10413#p10413"><![CDATA[
Hi everyone!<br /><br />I am trying to get BootloadHID working on my atmega324P, and it does not seem to work. A dmesg returns a long long list of this:<br /><br />[ 7113.100044] hub 4-0:1.0: unable to enumerate USB device on port 2<br />[ 7114.028509] usb 4-2: new low speed USB device using uhci_hcd and address 37<br />[ 7114.092036] hub 4-0:1.0: unable to enumerate USB device on port 2<br />[ 7115.020013] usb 4-2: new low speed USB device using uhci_hcd and address 38<br />[ 7115.084763] hub 4-0:1.0: unable to enumerate USB device on port 2<br />[ 7116.016010] usb 4-2: new low speed USB device using uhci_hcd and address 39<br /><br />I have looked through threads with similar problems so I will summarize my key things.<br /><br />atmega324p on 5 volts, 16 MHz external crystal<br />1k8 pullup from D-<br />300 mW zener diodes BZX384 (C3V6) from ground to D+ and D-<br />#define USB_CFG_DMINUS_BIT      3  (PD3 INT1)<br />#define USB_CFG_DPLUS_BIT       2  (PD2 INT0)<br />68 Ohm between D and pins<br /><img src="http://vusb.wikidot.com/local--files/hardware/level-conversion-with-zener.gif" class="postimage" alt="Image" /><br />This is the circuit I copied.<br /><br />I know for sure that the bootloader enters and stays in the &quot;main event loop&quot; because I have it turning on some LEDs<br /><br />Do you have any suggestions on what the problem might be?<br /><br />Thank you<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2627">johan</a> — Fri Aug 07, 2009 4:21 pm</p><hr />
]]></content>
	</entry>
	</feed>
