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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2008-02-05T20:57:36+02:00</updated>

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

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-02-05T20:57:36+02:00</updated>

		<published>2008-02-05T20:57:36+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=657&amp;p=4139#p4139</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=657&amp;p=4139#p4139"/>
		<title type="html"><![CDATA[AVR USB device not recognized]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=657&amp;p=4139#p4139"><![CDATA[
It turned out that there was a copy/paste bug in the 15 and 16 MHz modules. This bug affected device enumeration depending on the USB timing.<br /><br />Please get at least version 2008-02-05 of PowerSwitch for the latest release of AVR-USB which fixes this issue.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Tue Feb 05, 2008 8:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-08-13T12:50:40+02:00</updated>

		<published>2007-08-13T12:50:40+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=657&amp;p=2049#p2049</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=657&amp;p=2049#p2049"/>
		<title type="html"><![CDATA[AVR USB device not recognized]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=657&amp;p=2049#p2049"><![CDATA[
The debug log shows that the host sends a request and the device answers, but the host does not recognize the answer and retries the request several times until it decides to issue another reset and start from scratch.<br /><br />I have not decoded the host request to see whether it makes sense. But if the clock frequency is not precise enough (as you suspected), this is a possible behavior.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Mon Aug 13, 2007 12:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mastastefant]]></name></author>
		<updated>2007-08-12T05:40:23+02:00</updated>

		<published>2007-08-12T05:40:23+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=657&amp;p=2037#p2037</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=657&amp;p=2037#p2037"/>
		<title type="html"><![CDATA[Fixed problem]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=657&amp;p=2037#p2037"><![CDATA[
Hi,<br /><br />I am using now a AtMega48-20, which works well at 12Mhz and 16Mhz. The oszillator on the development board i was using seems to work slower than specified, so this caused most likely the problems.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=365">mastastefant</a> — Sun Aug 12, 2007 5:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mastastefant]]></name></author>
		<updated>2007-08-10T04:02:32+02:00</updated>

		<published>2007-08-10T04:02:32+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=657&amp;p=2022#p2022</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=657&amp;p=2022#p2022"/>
		<title type="html"><![CDATA[AVR USB device not recognized]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=657&amp;p=2022#p2022"><![CDATA[
Hi,<br /><br />I am using an AtMega16, 16Mhz at 5 Volt, connected with zehner and 1k5 pullup, with the current usbdrv sources, fuse bits set to external clock. <br /><br />When I connect the device to the PC (Debian 4), i only get the 'device descriptor read/64, error -71' messages a few times in syslog. <br /><br />With DEBUG_LEVEL=2 i get the following output:<br /><br /><div class="codebox"><p>Code: </p><pre><code>ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />12: 80 06 00 01 00 00 40 00<br />20: 4b 12 01 10 01 00 00 00 08 11 77<br />12: 80 06 00 01 00 00 40 00<br />20: 4b 12 01 10 01 00 00 00 08 11 77<br />12: 80 06 00 01 00 00 40 00<br />20: 4b 12 01 10 01 00 00 00 08 11 77<br />&lt;repeated several times&gt;<br />ff:<br />ff:<br />ff:<br />ff:<br />ff:<br />12: 00 05 17 00 00 00 00 00<br />20: 4b 00 00<br />12: 00 05 17 00 00 00 00 00<br />20: 4b 00 00<br /></code></pre></div><br /><br />The two lines 12: and 20: are repeated very often, interrupted by some resets (0xff) when the host tries a new device id.<br /><br />I think this is a Device Descriptor request, but i could not figure out what the response code (06 00 01 ..) means, where it comes from and especially if it is correct.<br /><br />I am reading voltage levels of 2.97V on D-, on D+ i get some (weak) activity on a LED (doesn't work with LED disconnected either), but only 0.2V on the multimeter at most (but maybe it's just to slow to measure the peak voltages).<br /><br />Can there be a problem with the electrical connection or is this a firmware/configuration problem (or both <img class="smilies" src="./../../../images/smilies/icon_smile.gif" alt=":)" title="Smile" /> )? (I'm using a static HID-descriptor, so nothing fancy here).<br /><br />Any help would be appreciated.<br /><br />Thanks<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=365">mastastefant</a> — Fri Aug 10, 2007 4:02 am</p><hr />
]]></content>
	</entry>
	</feed>
