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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2011-10-11T16:25:24+02:00</updated>

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

		<entry>
		<author><name><![CDATA[herp derp]]></name></author>
		<updated>2011-10-11T16:25:24+02:00</updated>

		<published>2011-10-11T16:25:24+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5606&amp;p=19828#p19828</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5606&amp;p=19828#p19828"/>
		<title type="html"><![CDATA[Re: Atmega8 and v-usb (HIDKeys)]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5606&amp;p=19828#p19828"><![CDATA[
As far as I can see usb-tiny needs a 12MHz crystal !<br />I saw that too, the problem is that I don't have an 12Mhz @ the moment. Because I couldn't find the 12 Mhz value back in the code, I tought it wouldn't mather as long the crystal value would be higher then 12.<br /><br />I'm going to try the V-USB code.<a href="http://phone-card-cards.com/" class="postlink">phone Card Calling Cards</a><br /><br />Thanks for the help! (so far Wink )<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5850">herp derp</a> — Tue Oct 11, 2011 4:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[4ndreas]]></name></author>
		<updated>2011-06-16T16:23:49+02:00</updated>

		<published>2011-06-16T16:23:49+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18735#p18735</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18735#p18735"/>
		<title type="html"><![CDATA[Re: Atmega8 and v-usb (HIDKeys)]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18735#p18735"><![CDATA[
Try disable the UART<br />If i enable the (UCSRB, RXEN) my device is not detected <br />without the uart all works fine... my bee someone else can help.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5347">4ndreas</a> — Thu Jun 16, 2011 4:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Daid]]></name></author>
		<updated>2011-04-18T13:22:49+02:00</updated>

		<published>2011-04-18T13:22:49+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18234#p18234</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18234#p18234"/>
		<title type="html"><![CDATA[Re: Atmega8 and v-usb (HIDKeys)]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18234#p18234"><![CDATA[
Ok (forgetting the fuse settings is my most common error <img class="smilies" src="./../../../images/smilies/icon_razz.gif" alt=":P" title="Razz" />)<br /><br />I have no experience using the 12Mhz version (I overclock my ATMega8 to 20Mhz) but it should work.<br />First, make sure the device is really running. Your computer will try to enumerate the USB device with just the resistor from VCC to D- (remove the uC, and plug it in, most likely you'll see the same error in Linux)<br /><br />One other problem I noticed is the USB cable. I once wired a USB cable directly to the board, which didn't work. Once I shortened the cable to 15cm it worked. Now I'm always using B-type connectors, with an A-&gt;B cable, which hasn't caused me any problems yet.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5154">Daid</a> — Mon Apr 18, 2011 1:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nussi]]></name></author>
		<updated>2011-04-16T17:56:36+02:00</updated>

		<published>2011-04-16T17:56:36+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18213#p18213</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18213#p18213"/>
		<title type="html"><![CDATA[Re: Atmega8 and v-usb (HIDKeys)]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18213#p18213"><![CDATA[
<blockquote><div><cite>Daid wrote:</cite>Did you configure the fuses to use the crystal? By default the ATMega8 runs on internal 1Mhz.</div></blockquote><br /><br />Sure! I double checked this! <img class="smilies" src="./../../../images/smilies/icon_smile.gif" alt=":)" title="Smile" /><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5142">Nussi</a> — Sat Apr 16, 2011 5:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2011-04-16T17:33:00+02:00</updated>

		<published>2011-04-16T17:33:00+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18212#p18212</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18212#p18212"/>
		<title type="html"><![CDATA[Re: Atmega8 and v-usb (HIDKeys)]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18212#p18212"><![CDATA[
Did you configure the fuses to use the crystal? By default the ATMega8 runs on internal 1Mhz.<p>Statistics: Posted by Guest — Sat Apr 16, 2011 5:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nussi]]></name></author>
		<updated>2011-04-16T13:09:52+02:00</updated>

		<published>2011-04-16T13:09:52+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18208#p18208</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18208#p18208"/>
		<title type="html"><![CDATA[Re: Atmega8 and v-usb (HIDKeys)]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18208#p18208"><![CDATA[
Linux gives me this info (dmesg excerpt)<br /><br /><blockquote class="uncited"><div>[ 1999.404061] usb 6-2: new low speed USB device using uhci_hcd and address 22<br />[ 1999.584078] usb 6-2: device descriptor read/64, error -71<br />[ 1999.812065] usb 6-2: device descriptor read/64, error -71<br />[ 2000.084064] usb 6-2: new low speed USB device using uhci_hcd and address 23<br />[ 2000.208079] usb 6-2: device descriptor read/64, error -71<br />[ 2000.488076] usb 6-2: device descriptor read/64, error -71<br />[ 2000.704075] usb 6-2: new low speed USB device using uhci_hcd and address 24<br />[ 2001.117043] usb 6-2: device not accepting address 24, error -71<br />[ 2001.229058] usb 6-2: new low speed USB device using uhci_hcd and address 25<br />[ 2001.644059] usb 6-2: device not accepting address 25, error -71<br />[ 2001.644084] hub 6-0:1.0: unable to enumerate USB device on port 2<br /><br /></div></blockquote><br /><br />Voltage on D-: 3,6V .. D+ is 0V<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5142">Nussi</a> — Sat Apr 16, 2011 1:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nussi]]></name></author>
		<updated>2011-04-15T20:53:50+02:00</updated>

		<published>2011-04-15T20:53:50+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18199#p18199</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18199#p18199"/>
		<title type="html"><![CDATA[Atmega8 and v-usb (HIDKeys)]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5606&amp;p=18199#p18199"><![CDATA[
Hello there,<br /><br />I started to use V-USB yesterday, but could not figure out how to use the whole thing.<br />I use an AtMega8, wiring is correct, used the shortest distances between the components.<br />If I download and compile the HIDKeys Example it wont work.<br />The crystal I use is a 12Mhz Xtal, defined correct in the main.c<br /><br />The wiring is exactly as shown on the circuit. If I plug it in it says, it is an unknown device.<br /><br />I have no clue where to start. With UARt it was all easy, but with USB things get complicated.<br /><br />Used WinAVR to compile it, commented checksize out. Compiles without a problem to main.hex.<br />I program the hardware with a USP ISP with the BASCOM Programmer.<br /><br />What could be the problem? I *really* have no clue where to start debugging! <br />Do i need other VID/PID settings? It is done on a PCB <img class="smilies" src="./../../../images/smilies/icon_smile.gif" alt=":-)" title="Smile" /><br /><br />Thank you <img class="smilies" src="./../../../images/smilies/icon_smile.gif" alt=":)" title="Smile" /><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5142">Nussi</a> — Fri Apr 15, 2011 8:53 pm</p><hr />
]]></content>
	</entry>
	</feed>
