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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2007-08-02T16:22:25+02:00</updated>

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

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-08-02T16:22:25+02:00</updated>

		<published>2007-08-02T16:22:25+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=633&amp;p=1904#p1904</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=633&amp;p=1904#p1904"/>
		<title type="html"><![CDATA[How to add endpoints ?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=633&amp;p=1904#p1904"><![CDATA[
Correcting myself: You might be able to share endpoints even if all functions run simultaneously. You can probably use endpoint 0 for all three functions because the function can be distinguished by the request. You can also probably share the interrupt endpoint because CDC does not really require interrupts. Then the two bulk endpoints are free for CDC.<br /><br />The critical question is whether you can share the interrupt-in endpoint. That's worth an experiment.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Thu Aug 02, 2007 4:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-08-02T16:20:01+02:00</updated>

		<published>2007-08-02T16:20:01+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=633&amp;p=1903#p1903</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=633&amp;p=1903#p1903"/>
		<title type="html"><![CDATA[How to add endpoints ?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=633&amp;p=1903#p1903"><![CDATA[
I don't think so, because you need separate endpoints for each function in the composite device.<br /><br />You can share endpoints if the various functions are mutually exclusive and you choose one of them with a configuration value. But that's probably not what you want.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Thu Aug 02, 2007 4:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-08-02T16:15:47+02:00</updated>

		<published>2007-08-02T16:15:47+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=633&amp;p=1902#p1902</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=633&amp;p=1902#p1902"/>
		<title type="html"><![CDATA[How to add endpoints ?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=633&amp;p=1902#p1902"><![CDATA[
I want to make the composite USB device consisting of three parts.<br />1. Vendor Request Device (1interrupt-in endpoint)<br />2. Hid-Class (Keyboard)<br />3. CDC-Class<br />Now the my the device consist of items 1 and 2. <br />I wish add item 3 in my device, it is possible with last version of the driver?<p>Statistics: Posted by Guest — Thu Aug 02, 2007 4:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-08-02T15:52:09+02:00</updated>

		<published>2007-08-02T15:52:09+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=633&amp;p=1901#p1901</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=633&amp;p=1901#p1901"/>
		<title type="html"><![CDATA[How to add endpoints ?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=633&amp;p=1901#p1901"><![CDATA[
This is the latest version of our driver. Yes, it supports 4 endpoints: One control endpoint (0), two interrupt- or bulk-in endpoints and one interrupt- or bulk-out endpoint.<br /><br />The interrupt-out endpoint can have the same number as one of the interrupt-in endpoints, we therefore need only one bit to distinguish them.<br /><br />I had the impression that you want 4 interrupt/bulk endpoints. This is not easily possible. If you want to enable the endpoints as described above, see AVR-CDC for an example.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Thu Aug 02, 2007 3:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-08-02T15:47:53+02:00</updated>

		<published>2007-08-02T15:47:53+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=633&amp;p=1900#p1900</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=633&amp;p=1900#p1900"/>
		<title type="html"><![CDATA[How to add endpoints ?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=633&amp;p=1900#p1900"><![CDATA[
Thanks for the answer!<br />On a site <!-- m --><a class="postlink" href="http://www.recursion.jp/avrcdc/">http://www.recursion.jp/avrcdc/</a><!-- m --> there are source codes from 2007-07-07 in which is present usbdrvasm.S under 12, 16 and 16,5 MHz. It will not suit?<p>Statistics: Posted by Guest — Thu Aug 02, 2007 3:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-08-02T14:29:43+02:00</updated>

		<published>2007-08-02T14:29:43+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=633&amp;p=1899#p1899</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=633&amp;p=1899#p1899"/>
		<title type="html"><![CDATA[How to add endpoints ?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=633&amp;p=1899#p1899"><![CDATA[
More endpoints would require a change in the assembler modules. Since the bits of the endpoint field are scattered over two bytes, we only evaluate one of them.<br /><br />To distinguish more endpoints, you must reconstruct the full endpoint address, mask it and then compare. There are no spare cycles left in the 12 MHz module. It might be possible to add this feature at 16 MHz, but that's definitely not easy.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Thu Aug 02, 2007 2:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-08-02T08:19:00+02:00</updated>

		<published>2007-08-02T08:19:00+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=633&amp;p=1891#p1891</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=633&amp;p=1891#p1891"/>
		<title type="html"><![CDATA[How to add endpoints ?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=633&amp;p=1891#p1891"><![CDATA[
For my device 4 endpoints of type bulk/interrupt are required. How I can add 2 more endpoints?<br />Thanks!<p>Statistics: Posted by Guest — Thu Aug 02, 2007 8:19 am</p><hr />
]]></content>
	</entry>
	</feed>
