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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2009-12-22T17:19:00+02:00</updated>

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

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2009-12-22T17:19:00+02:00</updated>

		<published>2009-12-22T17:19:00+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3681&amp;p=12577#p12577</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3681&amp;p=12577#p12577"/>
		<title type="html"><![CDATA[Re: V-USB on ATMega162]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3681&amp;p=12577#p12577"><![CDATA[
Since the PC recognizes the device by name, USB communication is working as such. There must be an issue with I/O ports for key inputs.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Tue Dec 22, 2009 5:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gknigh_t]]></name></author>
		<updated>2009-12-22T05:52:55+02:00</updated>

		<published>2009-12-22T05:52:55+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3681&amp;p=12566#p12566</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3681&amp;p=12566#p12566"/>
		<title type="html"><![CDATA[V-USB on ATMega162]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3681&amp;p=12566#p12566"><![CDATA[
Sorry guys for possibly beating a dead horse here.  I am trying to get AVR-USB working on the ATMega162 as well.<br />I have got the device running of a 12MHz external crystal with the appropriate fuse bits set.<br /><br />The problem is that I am using UART0 for serial comms and both INT0/1 pins are given to USB.<br />PD2/INT0 is D+<br />PD3/INT1 is D-<br /><br />TCCR0 = 0x05.<br /><br />In usbconfig.h I have<br />#define USB_CFG_IOPORTNAME      D<br />#define USB_CFG_DMINUS_BIT      2<br />#define USB_CFG_DPLUS_BIT       3<br /><br />I am using AVR Studio with WinAVR installed.<br /><br />When I plug in the USB, the PC recognizes the device and displays the device name I specified in usbconfig.h<br /><br />After that, I am unable to successfully issue single key commands over USB to the PC.<br />What I did is take the example <!-- m --><a class="postlink" href="http://www.obdev.at/products/vusb/hidkeys.html">http://www.obdev.at/products/vusb/hidkeys.html</a><!-- m --> and graft the code into AVR studio for ATMega162.<br /><br />Are there any TIMER/Interrupt related settings that I have missed?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=3294">gknigh_t</a> — Tue Dec 22, 2009 5:52 am</p><hr />
]]></content>
	</entry>
	</feed>
