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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2010-09-07T07:40:48+02:00</updated>

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

		<entry>
		<author><name><![CDATA[lucky5]]></name></author>
		<updated>2010-09-07T07:40:48+02:00</updated>

		<published>2010-09-07T07:40:48+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15792#p15792</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15792#p15792"/>
		<title type="html"><![CDATA[Re: example for Atmega8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15792#p15792"><![CDATA[
<blockquote><div><cite>christian wrote:</cite>Your questions are too general to be answered in a forum posting. The hardware connections are certainly OK. However, we can't write the firmware for you. If you have a specific problem with the descriptor, with key up/down handling or similar, we may be able to help.</div></blockquote><br />Thanks Christian for your reply. I just wanted to know feedback on my connections and certainly my words not refer to provide firmware code...<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4271">lucky5</a> — Tue Sep 07, 2010 7:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2010-09-06T10:58:10+02:00</updated>

		<published>2010-09-06T10:58:10+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15785#p15785</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15785#p15785"/>
		<title type="html"><![CDATA[Re: example for Atmega8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15785#p15785"><![CDATA[
Your questions are too general to be answered in a forum posting. The hardware connections are certainly OK. However, we can't write the firmware for you. If you have a specific problem with the descriptor, with key up/down handling or similar, we may be able to help.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Mon Sep 06, 2010 10:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[lucky5]]></name></author>
		<updated>2010-09-06T05:15:19+02:00</updated>

		<published>2010-09-06T05:15:19+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15784#p15784</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15784#p15784"/>
		<title type="html"><![CDATA[Re: example for Atmega8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15784#p15784"><![CDATA[
<blockquote><div><cite>christian wrote:</cite>Understanding all of usbconfig-prototype.h may be a bit hard for a newbie. In any case you should know the general architecture, that V-USB drives the USB lines directly and that there is no FT232 involved. Then you should know that USB requires descriptors, what they are good for and what is inside them. Especially the HID report descriptor when your device is of class HID. Starting from a working example is always a good idea.</div></blockquote><br /><br /><br />Hi christian and frank26080115 .Thanks for the replies. I' have modified my hardware to emulate atmega128 as keyboard connected to USB as shown in below<br />D+(INT0) connected to PD0 and D- to PD6(T1). I could see few schematics showing D- conected to INT1.Please let me know if this connected are Ok for me to emulate as a keyboard. And let me the know the needed modifications.This is urgent!!! Thanks in advance.<br /><!-- m --><a class="postlink" href="http://img821.imageshack.us/img821/1070/ddar.png">http://img821.imageshack.us/img821/1070/ddar.png</a><!-- m --><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4271">lucky5</a> — Mon Sep 06, 2010 5:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[lucky5]]></name></author>
		<updated>2010-09-04T07:51:25+02:00</updated>

		<published>2010-09-04T07:51:25+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15773#p15773</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15773#p15773"/>
		<title type="html"><![CDATA[Re: example for Atmega8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15773#p15773"><![CDATA[
Hi christian and frank26080115 .Thanks for the replies. I' have modified my hardware to emulate atmega128 as keyboard connected to USB as shown in below<br />D+(INT0) connected to PD0 and D- to PD6(T1). I could see few schematics showing D- conected to INT1.Please let me know if this connected are Ok for me to emulate as a keyboard. And let me the know the needed modifications.This is urgent!!! Thanks in advance.<br /><!-- m --><a class="postlink" href="http://img821.imageshack.us/img821/1070/ddar.png">http://img821.imageshack.us/img821/1070/ddar.png</a><!-- m --><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4271">lucky5</a> — Sat Sep 04, 2010 7:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2010-08-28T13:53:44+02:00</updated>

		<published>2010-08-28T13:53:44+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15713#p15713</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15713#p15713"/>
		<title type="html"><![CDATA[Re: example for Atmega8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15713#p15713"><![CDATA[
Understanding all of usbconfig-prototype.h may be a bit hard for a newbie. In any case you should know the general architecture, that V-USB drives the USB lines directly and that there is no FT232 involved. Then you should know that USB requires descriptors, what they are good for and what is inside them. Especially the HID report descriptor when your device is of class HID. Starting from a working example is always a good idea.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Sat Aug 28, 2010 1:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-08-27T17:05:10+02:00</updated>

		<published>2010-08-27T17:05:10+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15702#p15702</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15702#p15702"/>
		<title type="html"><![CDATA[Re: example for Atmega8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15702#p15702"><![CDATA[
lucky5<br /><br />the FT232 is irrelevant unless you are using it for debugging<br /><br />go read usbconfig-prototype.h first, all of it, understand all the comments<br />then build your circuit and then edit the hardware configuration section, if you don't know how, then repeat step 1<br />then read usbconfig.h from <!-- m --><a class="postlink" href="http://www.obdev.at/products/vusb/hidkeys.html">http://www.obdev.at/products/vusb/hidkeys.html</a><!-- m --> , then find where it is different from the one you wrote. determine whether or not the difference is because of an variation in hardware or in software. and then determine which areas determine whether or not the device is a keyboard (hints: class, subclass, interface, protocol, hid report descriptor), if a number is not explained in the comments, then look at <!-- m --><a class="postlink" href="http://www.usb.org/developers/defined_class">http://www.usb.org/developers/defined_class</a><!-- m --> and <!-- m --><a class="postlink" href="http://www.usb.org/developers/devclass_docs/HID1_11.pdf">http://www.usb.org/developers/devclass_docs/HID1_11.pdf</a><!-- m --><p>Statistics: Posted by Guest — Fri Aug 27, 2010 5:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-08-27T10:36:32+02:00</updated>

		<published>2010-08-27T10:36:32+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15698#p15698</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15698#p15698"/>
		<title type="html"><![CDATA[Re: example for Atmega8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15698#p15698"><![CDATA[
<blockquote><div><cite>christian wrote:</cite>Should be possible, of course. But you must be careful with the big device because it may need more than 16 bits for pointers. All of the driver must be in the low 64 kB.<br /><br />See <!-- m --><a class="postlink" href="http://blog.flipwork.nl/?x=entry:entry081009-142605">http://blog.flipwork.nl/?x=entry:entry081009-142605</a><!-- m --> for an example of a single key keyboard.</div></blockquote><br /><br />Thanks for your reply, But I still have questions.I have FT232BM which is a rs232 to USB converter in my kit and Usb is connected to CPU.FT232BM is connected to rx and tx pins of atmega128.USB is well detected.But how should I configure and make it detect as keyboard HID with such a hardware setup. I think, D+ and D- should be connected directly to interrupt pins(highest priority) .Please guide me as i am new bie unable to proceed.Will I still be able to emulate Atmega128 as a keyboard.<p>Statistics: Posted by Guest — Fri Aug 27, 2010 10:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[lucky5]]></name></author>
		<updated>2010-08-27T09:13:07+02:00</updated>

		<published>2010-08-27T09:13:07+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15697#p15697</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15697#p15697"/>
		<title type="html"><![CDATA[Re: example for Atmega8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15697#p15697"><![CDATA[
Thanks for your reply, But I still have questions.I have FT232BM which is a rs232 to USB converter in my kit and Usb is connected to CPU.FT232BM is connected to rx and tx pins of atmega128.USB is well detected.But how should I configure and make it detect as keyboard HID with such a hardware setup. I think, D+ and D- should be connected directly  to interrupt pins(highest priority) .Please guide me as i am new bie unable to proceed.Will I still be able to emulate Atmega128 as a keyboard.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4271">lucky5</a> — Fri Aug 27, 2010 9:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2010-08-26T12:05:24+02:00</updated>

		<published>2010-08-26T12:05:24+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15683#p15683</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15683#p15683"/>
		<title type="html"><![CDATA[Re: example for Atmega8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15683#p15683"><![CDATA[
Should be possible, of course. But you must be careful with the big device because it may need more than 16 bits for pointers. All of the driver must be in the low 64 kB.<br /><br />See <!-- m --><a class="postlink" href="http://blog.flipwork.nl/?x=entry:entry081009-142605">http://blog.flipwork.nl/?x=entry:entry081009-142605</a><!-- m --> for an example of a single key keyboard.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Thu Aug 26, 2010 12:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2010-08-26T11:51:57+02:00</updated>

		<published>2010-08-26T11:51:57+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15682#p15682</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15682#p15682"/>
		<title type="html"><![CDATA[doing same task...please respond]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3692&amp;p=15682#p15682"><![CDATA[
Hi, <br />I am trying to do the same task i.e., i want to emulate a keyboard with a switch connected to atmega 128 and USB is connected to PC, please let me know if you are successful in implementing it.It is feasible with Atmega128.Very urgent requirement. Please respond.<br />Thanks in advance,<p>Statistics: Posted by Guest — Thu Aug 26, 2010 11:51 am</p><hr />
]]></content>
	</entry>
	</feed>
