<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic I need help with the jm60 and the usb stack in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/I-need-help-with-the-jm60-and-the-usb-stack/m-p/204682#M17024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, i'm using the cmx stack code for de jm60 usb stack, specially the source code of the generic HID, what i'm trying to do is to make transfers in other enpoints like endpoint 2, i have changed the descriptors and the computer read them, so she know that there are 2 endpoints, endpoint 1 for in transfers, and endpoint 2 for in transfers too. I like to know what else do i need to change to the code to set transfers on others enpoints&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tnx to everyone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2009 00:21:17 GMT</pubDate>
    <dc:creator>luciano</dc:creator>
    <dc:date>2009-08-04T00:21:17Z</dc:date>
    <item>
      <title>I need help with the jm60 and the usb stack</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/I-need-help-with-the-jm60-and-the-usb-stack/m-p/204682#M17024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, i'm using the cmx stack code for de jm60 usb stack, specially the source code of the generic HID, what i'm trying to do is to make transfers in other enpoints like endpoint 2, i have changed the descriptors and the computer read them, so she know that there are 2 endpoints, endpoint 1 for in transfers, and endpoint 2 for in transfers too. I like to know what else do i need to change to the code to set transfers on others enpoints&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tnx to everyone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 00:21:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/I-need-help-with-the-jm60-and-the-usb-stack/m-p/204682#M17024</guid>
      <dc:creator>luciano</dc:creator>
      <dc:date>2009-08-04T00:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: I need help with the jm60 and the usb stack</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/I-need-help-with-the-jm60-and-the-usb-stack/m-p/204683#M17025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look back in this forum, someone found a C code bug which limits the number to one.&lt;/P&gt;&lt;P&gt;This may be something to do with your problem.&lt;/P&gt;&lt;P&gt;It would be great if CMX supported this code with examples of what you are doing, as I want it also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Aug 2009 04:47:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/I-need-help-with-the-jm60-and-the-usb-stack/m-p/204683#M17025</guid>
      <dc:creator>donw</dc:creator>
      <dc:date>2009-08-09T04:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: I need help with the jm60 and the usb stack</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/I-need-help-with-the-jm60-and-the-usb-stack/m-p/204684#M17026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found where the trick is !!! The takes the number of endpoints and everything from the descriptors, you need to modify two things. In the function is_ep_ndx you need to put&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;return((hcc_u8)(endx &amp;lt;&amp;nbsp;"HERE WRITHE THE NUMBER OF ENDPOINTS"&amp;nbsp;? 1 : 0));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and finally need to put in *get_ep_descriptor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;return((void*)(kbd_config_descriptor+9+3+9+9+7*(endx-1)))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have any doubts you can ask me...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The trouble that i have right now is that&amp;nbsp;when i try to use it with my driver made using the winusb&amp;nbsp;library from windows, i get a code 10 error telling me that the device can't start. But when i&amp;nbsp;use the windriver library i don't get any&amp;nbsp;error code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a peculiar trouble&amp;nbsp;and i don't&amp;nbsp;thing that anyone can help me ... but .... you never know hahaha&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tnx for your reply&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2009 01:12:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/I-need-help-with-the-jm60-and-the-usb-stack/m-p/204684#M17026</guid>
      <dc:creator>luciano</dc:creator>
      <dc:date>2009-08-10T01:12:36Z</dc:date>
    </item>
  </channel>
</rss>

