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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2007-04-13T12:07:18+02:00</updated>

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

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-04-13T12:07:18+02:00</updated>

		<published>2007-04-13T12:07:18+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=397&amp;p=1210#p1210</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1210#p1210"/>
		<title type="html"><![CDATA[Problems with usb 2.0 hosts]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1210#p1210"><![CDATA[
You should call usbPoll() at least every 50 ms (see documentation in usbdrv.h). You may get away with longer intervals after the device enumeration is completed, though.<br /><br />If you call usbPoll() from other places than the main loop, you should be aware that usbFunctionSetup(), usbFunctionRead() and usbFunctionWrite() are called from usbPoll(). If such a long running function is called by (e.g.) usbFunctionSetup(), you may get recursions which are hard to control.<br /><br />You may also get undesired effects if usbPoll() calls any of your usb*() functions, thereby modifying global variables. The long running function may not expect this side effect.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Fri Apr 13, 2007 12:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zak]]></name></author>
		<updated>2007-04-13T11:38:49+02:00</updated>

		<published>2007-04-13T11:38:49+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=397&amp;p=1208#p1208</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1208#p1208"/>
		<title type="html"><![CDATA[Problems with usb 2.0 hosts]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1208#p1208"><![CDATA[
I solve problem. I call usbPoll() function too rarely. I just add usbPoll() calls into my long funclions, and all works fine. Thanks for help.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=219">Zak</a> — Fri Apr 13, 2007 11:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-04-12T19:28:06+02:00</updated>

		<published>2007-04-12T19:28:06+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=397&amp;p=1204#p1204</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1204#p1204"/>
		<title type="html"><![CDATA[Problems with usb 2.0 hosts]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1204#p1204"><![CDATA[
I doubt that it's the cable -- this is low speed USB anyway.<br /><br />You must be violating the USB standard somehow. USB 2.0 controllers are more modern and may therefore enforce better standards compliance.<br /><br />I can assure you that the driver itself is good enough for compatibility with all host controllers and hubs we have heard about so far.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Thu Apr 12, 2007 7:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zak]]></name></author>
		<updated>2007-04-12T18:31:30+02:00</updated>

		<published>2007-04-12T18:31:30+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=397&amp;p=1203#p1203</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1203#p1203"/>
		<title type="html"><![CDATA[Problems with usb 2.0 hosts]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1203#p1203"><![CDATA[
I check in addition two machines (with USB 1.1 and 2.0), result is same. I used USB 1.1 cable, maybe USB 2.0 cable will help?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=219">Zak</a> — Thu Apr 12, 2007 6:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-04-11T23:33:23+02:00</updated>

		<published>2007-04-11T23:33:23+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=397&amp;p=1199#p1199</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1199#p1199"/>
		<title type="html"><![CDATA[Problems with usb 2.0 hosts]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1199#p1199"><![CDATA[
I can confirm that the driver itself works well with USB 2.0 hosts as well with USB 1.0 / 1.1 hosts. I would suspect either a hardware problem or something in the firmware which interfers with the driver, e.g. by modifying the status of D+ and D-.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Wed Apr 11, 2007 11:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-04-11T22:06:09+02:00</updated>

		<published>2007-04-11T22:06:09+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=397&amp;p=1198#p1198</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1198#p1198"/>
		<title type="html"><![CDATA[Problems with usb 2.0 hosts]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1198#p1198"><![CDATA[
I've tried four hosts. Two hosts with USB 1.1, and two hosts with USB 2.0. On both USB 1.1 hosts my device work fine. On both USB 2.0 hosts device don't recognized. Tomorrow I'll trying more machnes and answer result here.<p>Statistics: Posted by Guest — Wed Apr 11, 2007 10:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-04-11T19:00:34+02:00</updated>

		<published>2007-04-11T19:00:34+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=397&amp;p=1194#p1194</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1194#p1194"/>
		<title type="html"><![CDATA[Problems with usb 2.0 hosts]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1194#p1194"><![CDATA[
Are you sure that this is a USB 2.0 specific problem and not a problem with this particular host? The USB port of this host might be damaged, at least the low speed / full speed circuit.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Wed Apr 11, 2007 7:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zak]]></name></author>
		<updated>2007-04-11T17:14:42+02:00</updated>

		<published>2007-04-11T17:14:42+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=397&amp;p=1193#p1193</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1193#p1193"/>
		<title type="html"><![CDATA[Problems with usb 2.0 hosts]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1193#p1193"><![CDATA[
Do you have a scope (storage scope would be ideal) to check the wave forms and levels on D+ and D-? <br /><br />Yes, i have simple scope. I check waveforms on D+ and D-, it's looks different. On usb 1.1 machine waveforms have visually ideal fronts, and on usb 2.0 machine fronts are more longer. Levels in both cases approximately identical.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=219">Zak</a> — Wed Apr 11, 2007 5:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-04-11T15:17:35+02:00</updated>

		<published>2007-04-11T15:17:35+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=397&amp;p=1187#p1187</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1187#p1187"/>
		<title type="html"><![CDATA[Problems with usb 2.0 hosts]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1187#p1187"><![CDATA[
Do you have a scope (storage scope would be ideal) to check the wave forms and levels on D+ and D-?<br /><br />If you power your AVR from 3.3V, there should be no common mode range problem. But a scope often reveals trivial problems which would otherwise be hard to find.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Wed Apr 11, 2007 3:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zak]]></name></author>
		<updated>2007-04-11T14:02:00+02:00</updated>

		<published>2007-04-11T14:02:00+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=397&amp;p=1184#p1184</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1184#p1184"/>
		<title type="html"><![CDATA[Problems with usb 2.0 hosts]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=397&amp;p=1184#p1184"><![CDATA[
Hi. I have built device on Mega32. It's work fine on old machines with USB 1.1 controller . But on new machines with USB 2.0 controller, WinXP says &quot;usb device not recognized&quot;. My device powered from 3.3 V source (i have same result with Vcc from 3.0 to 3.6 Volts). I've used 68 ohm resistors on D- and D+ lines, and don't used 3.6v zeners diodes. <br /><br />Can anybody help me?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=219">Zak</a> — Wed Apr 11, 2007 2:02 pm</p><hr />
]]></content>
	</entry>
	</feed>
