<?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>i.MX ProcessorsのトピックIsochronous iMX6 USB gadget Implementation Issue</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Isochronous-iMX6-USB-gadget-Implementation-Issue/m-p/947296#M141690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" style="color: #242729; border: 0px; margin: 0px 0px 5px;"&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;Got the same question as this previous post &lt;A _jive_internal="true" href="https://community.nxp.com/thread/447496"&gt;https://community.nxp.com/thread/447496&lt;/A&gt;&amp;nbsp;back in 2017 but there is no answer to the problem. Just wondering if someone has solution already?&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;I'm trying to implement a USB gadget using Linux on NXP iMX6 which implements an isochronous IN endpoint but got stuck as the gadget application on the iMX6 seems to hang, and eventually resulting a reboot of my i.MX6 platform.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;Started with the usb.c example from &lt;A href="http://www.linux-usb.org/gadget/usb.c" rel="nofollow noreferrer" style="color: #005999; border: 0px; font-weight: inherit; text-decoration: underline;"&gt;http://www.linux-usb.org/gadget/usb.c&lt;/A&gt; and modifying it for the iMX6.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;The Linux Kernel used for this development is Ver. 4.1.15.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;Then, mounting the gadgetfs framework using: modprobe gadgetfs mkdir /dev/gadget mount -t gadgetfs none /dev/gadget&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;This results in a 2184000.usb file in the /dev/gadget directory.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;Modified the usb.c example to look for this 2184000.usb file and fill a set of USB descriptors. The host computer did recognizing the iMX6 as a USB device with the USB descriptors which I configured. But then, the gadget application on the i.MX6 seems to just hang and then reboot my Linux platform eventually.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;Has anyone experience the same situation and got a solution? Please can you share source code or suggestion? Thanks!&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #242729; border: 0px; font-size: 13px; margin: -2px 0px 10px;"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Oct 2019 06:44:00 GMT</pubDate>
    <dc:creator>william2</dc:creator>
    <dc:date>2019-10-04T06:44:00Z</dc:date>
    <item>
      <title>Isochronous iMX6 USB gadget Implementation Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Isochronous-iMX6-USB-gadget-Implementation-Issue/m-p/947296#M141690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" style="color: #242729; border: 0px; margin: 0px 0px 5px;"&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;Got the same question as this previous post &lt;A _jive_internal="true" href="https://community.nxp.com/thread/447496"&gt;https://community.nxp.com/thread/447496&lt;/A&gt;&amp;nbsp;back in 2017 but there is no answer to the problem. Just wondering if someone has solution already?&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;I'm trying to implement a USB gadget using Linux on NXP iMX6 which implements an isochronous IN endpoint but got stuck as the gadget application on the iMX6 seems to hang, and eventually resulting a reboot of my i.MX6 platform.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;Started with the usb.c example from &lt;A href="http://www.linux-usb.org/gadget/usb.c" rel="nofollow noreferrer" style="color: #005999; border: 0px; font-weight: inherit; text-decoration: underline;"&gt;http://www.linux-usb.org/gadget/usb.c&lt;/A&gt; and modifying it for the iMX6.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;The Linux Kernel used for this development is Ver. 4.1.15.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;Then, mounting the gadgetfs framework using: modprobe gadgetfs mkdir /dev/gadget mount -t gadgetfs none /dev/gadget&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;This results in a 2184000.usb file in the /dev/gadget directory.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;Modified the usb.c example to look for this 2184000.usb file and fill a set of USB descriptors. The host computer did recognizing the iMX6 as a USB device with the USB descriptors which I configured. But then, the gadget application on the i.MX6 seems to just hang and then reboot my Linux platform eventually.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;Has anyone experience the same situation and got a solution? Please can you share source code or suggestion? Thanks!&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #242729; border: 0px; font-size: 13px; margin: -2px 0px 10px;"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2019 06:44:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Isochronous-iMX6-USB-gadget-Implementation-Issue/m-p/947296#M141690</guid>
      <dc:creator>william2</dc:creator>
      <dc:date>2019-10-04T06:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Isochronous iMX6 USB gadget Implementation Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Isochronous-iMX6-USB-gadget-Implementation-Issue/m-p/947297#M141691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi William&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately I am not aware of solution for this case, probably may help&lt;/P&gt;&lt;P&gt;FreeRTOS SDK&amp;nbsp; MX6UL(L) usb device examples, in particular described in&lt;/P&gt;&lt;P&gt;sect.3.12 USB VIDEO Class driver MCUXpresso SDK USB Stack Device &lt;BR /&gt;Reference Manual.pdf.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome | MCUXpresso SDK Builder&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2019 23:12:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Isochronous-iMX6-USB-gadget-Implementation-Issue/m-p/947297#M141691</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-10-04T23:12:58Z</dc:date>
    </item>
  </channel>
</rss>

