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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2009-10-01T18:43:36+02:00</updated>

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

		<entry>
		<author><name><![CDATA[objective]]></name></author>
		<updated>2009-10-01T18:43:36+02:00</updated>

		<published>2009-10-01T18:43:36+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2789&amp;p=11160#p11160</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=11160#p11160"/>
		<title type="html"><![CDATA[Re: V-USB with Arduino Duemilanove 328?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=11160#p11160"><![CDATA[
I did get the Arduino code running on my 328  <img class="smilies" src="./../../../images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /> Just compile it as if you're using the 168 and then burn the hex file normally as for the 328. I did the same thing to get the example HID-mouse code working, too.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2893">objective</a> — Thu Oct 01, 2009 6:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[objective]]></name></author>
		<updated>2009-10-01T04:30:28+02:00</updated>

		<published>2009-10-01T04:30:28+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2789&amp;p=11156#p11156</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=11156#p11156"/>
		<title type="html"><![CDATA[Re: V-USB with Arduino Duemilanove 328?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=11156#p11156"><![CDATA[
Thanks for the link, Christian. I'm not sure if the fuses need to be set differently than the 168... I thought that the 328p and the 168 are pretty much the same except for the memory size.<br /><br />I did try compiling with the same fuses as recommended in the Makefile for the 168 since there was no mention of the 328p.<br /><br />Also, the two threads are a bit different. This thread, in particular, is more geared towards getting the code to run in the Arduino environment. This is interesting to me as coding in Arduino is easier for me than having to remember all the port pins and such.<br /><br />Either way, I can't get the avr working with the 328p while it seems to work fine with the 168... I hope the issue is just a matter of setting the right fuses (though I am still not sure how).<br /><br />Thanks again for your helpfulness!<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2893">objective</a> — Thu Oct 01, 2009 4:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2009-09-30T22:37:09+02:00</updated>

		<published>2009-09-30T22:37:09+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2789&amp;p=11154#p11154</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=11154#p11154"/>
		<title type="html"><![CDATA[Re: V-USB with Arduino Duemilanove 328?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=11154#p11154"><![CDATA[
If the problem is only with the 328p, please look at the following thread: <!-- l --><a class="postlink-local" href="http://forums.obdev.at/viewtopic.php?f=8&amp;t=2663">viewtopic.php?f=8&amp;t=2663</a><!-- l --><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Wed Sep 30, 2009 10:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[objective]]></name></author>
		<updated>2009-09-30T22:19:02+02:00</updated>

		<published>2009-09-30T22:19:02+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2789&amp;p=11153#p11153</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=11153#p11153"/>
		<title type="html"><![CDATA[Re: V-USB with Arduino Duemilanove 328?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=11153#p11153"><![CDATA[
Hi Michael,<br /><br />I, too, have been trying to get the rancidbacon code to work with the 328 but have been unsuccessful. I was able to find a 168 and have it up and running. Hopefully, you've had some success getting the code to run on the 328.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2893">objective</a> — Wed Sep 30, 2009 10:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[miketeo]]></name></author>
		<updated>2009-06-06T05:32:40+02:00</updated>

		<published>2009-06-06T05:32:40+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2789&amp;p=9660#p9660</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=9660#p9660"/>
		<title type="html"><![CDATA[Re: V-USB with Arduino Duemilanove 328?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=9660#p9660"><![CDATA[
Hi, Christian.<br />Yes, I have verified that the clock rate used for V-USB matches the crystal and the bootloader for Arduino at 16.000MHz.<br /><br />I have ordered some 1N5227A zener diodes from Farnell; will try them out when it arrives next week.<br /><br />Michael<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2303">miketeo</a> — Sat Jun 06, 2009 5:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2009-06-05T17:36:27+02:00</updated>

		<published>2009-06-05T17:36:27+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2789&amp;p=9646#p9646</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=9646#p9646"/>
		<title type="html"><![CDATA[Re: V-USB with Arduino Duemilanove 328?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=9646#p9646"><![CDATA[
The voltage levels should be OK.<br /><br />V-USB in conjunction with Arduino's runtime environment can be a bit problematic because Arduino was not made for real-time systems.<br /><br />The error message you see probably means that USB does not work at all. The first step of initialization, assigning an ID to the device, fails. Have you checked that the clock rate you use for V-USB matches your Arduino's clock rate?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Fri Jun 05, 2009 5:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[miketeo]]></name></author>
		<updated>2009-05-30T17:56:32+02:00</updated>

		<published>2009-05-30T17:56:32+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2789&amp;p=9529#p9529</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=9529#p9529"/>
		<title type="html"><![CDATA[Re: V-USB with Arduino Duemilanove 328?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=9529#p9529"><![CDATA[
Hi, reginr.<br />I have gotten my zener diodes from a local hardware store. There weren't any part numbers on the diodes, but they were listed as 3.6V 1/2W.<br /><br />Michael<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2303">miketeo</a> — Sat May 30, 2009 5:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[reginr]]></name></author>
		<updated>2009-05-28T09:28:04+02:00</updated>

		<published>2009-05-28T09:28:04+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2789&amp;p=9508#p9508</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=9508#p9508"/>
		<title type="html"><![CDATA[Re: V-USB with Arduino Duemilanove 328?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=9508#p9508"><![CDATA[
Hi Micheal,<br />We have the same problem, I am suspecting it is the diode.  Did you managed to use the same number (1N5227 3.6V -  0.5 watt) ?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2326">reginr</a> — Thu May 28, 2009 9:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[miketeo]]></name></author>
		<updated>2009-05-23T10:55:23+02:00</updated>

		<published>2009-05-23T10:55:23+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2789&amp;p=9441#p9441</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=9441#p9441"/>
		<title type="html"><![CDATA[V-USB with Arduino Duemilanove 328?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2789&amp;p=9441#p9441"><![CDATA[
Hi, have anyone gotten V-USB working on an Arduino Duemilanove 328?<br /><br />I have tried using rancidbacon keyboard demo <a href="http://code.rancidbacon.com/ProjectLogArduinoUSB" class="postlink">http://code.rancidbacon.com/ProjectLogArduinoUSB</a> but have gotten the following error on my Linux console.<br /><div class="codebox"><p>Code: </p><pre><code>May 23 16:34:28 mira kernel: usb 3-2: new low speed USB device using uhci_hcd and address 70<br />May 23 16:34:29 mira kernel: usb 3-2: device descriptor read/64, error -71<br />May 23 16:34:29 mira kernel: usb 3-2: device descriptor read/64, error -71<br />May 23 16:34:29 mira kernel: usb 3-2: new low speed USB device using uhci_hcd and address 71<br />May 23 16:34:29 mira kernel: usb 3-2: device descriptor read/64, error -71<br />May 23 16:34:29 mira kernel: usb 3-2: device descriptor read/64, error -71<br />May 23 16:34:30 mira kernel: usb 3-2: new low speed USB device using uhci_hcd and address 72<br />May 23 16:34:30 mira kernel: usb 3-2: device not accepting address 72, error -71<br />May 23 16:34:30 mira kernel: usb 3-2: new low speed USB device using uhci_hcd and address 73<br />May 23 16:34:30 mira kernel: usb 3-2: device not accepting address 73, error -71<br />May 23 16:34:30 mira kernel: hub 3-0:1.0: unable to enumerate USB device on port 2<br /></code></pre></div><br /><br />My circuit is the recommended setup with 3.6V zener diodes pair with a 1.5k pull resistor on the D- line.<br />I have verified the voltage across the D- line to be 3.29V but D+ line shows close to 0V. <br />Is that the correct observation?<br /><br />Hope someone can help me with this. Thanks.<br /><br />Best regards, <br />Michael<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2303">miketeo</a> — Sat May 23, 2009 10:55 am</p><hr />
]]></content>
	</entry>
	</feed>
