<?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 Re: USB host question in MCUXpresso General</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/USB-host-question/m-p/1086426#M3782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using the FRDM-K64, are you shorting the jumper J21? In case you're using the host functionality this jumper is needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2020 21:00:14 GMT</pubDate>
    <dc:creator>Alexis_A</dc:creator>
    <dc:date>2020-07-31T21:00:14Z</dc:date>
    <item>
      <title>USB host question</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/USB-host-question/m-p/1086421#M3777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I imported the "frdmk64f_host_hid_generic_freertos" example. When I connect a barcode reader I get the error&lt;/P&gt;&lt;P&gt;"enumeration failed". Can someone help to solve this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed that the sysmpu driver is loaded. Do I have to disable the MPU to get this to work?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2020 14:42:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/USB-host-question/m-p/1086421#M3777</guid>
      <dc:creator>elinaiman</dc:creator>
      <dc:date>2020-07-24T14:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: USB host question</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/USB-host-question/m-p/1086422#M3778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think the reason for the bad enumeration is the SYSMPU. Are you sure the class that the barcode is using is the HID class and there isn't any need for the Host to implement extra steps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The enumeration process should fail if in the descriptor there's additional information that the host can't process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2020 18:25:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/USB-host-question/m-p/1086422#M3778</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-07-27T18:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: USB host question</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/USB-host-question/m-p/1086423#M3779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I connect the barcode reader to my PC it enumerates and works fine. Using the Device Manager, it says that it is an HID device.&lt;/P&gt;&lt;P&gt;How do I find out if the descriptor has additional&amp;nbsp;information that the host (in the K64F) can't handle. It would be nice if the host can give some clues as to why the enumeration failed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2020 19:25:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/USB-host-question/m-p/1086423#M3779</guid>
      <dc:creator>elinaiman</dc:creator>
      <dc:date>2020-07-27T19:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: USB host question</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/USB-host-question/m-p/1086424#M3780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you could do is to check in the section where the descriptor is received and compare it with the one received by the PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the following section you can check where the descriptor is received:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;void USB_HostHidGenericTask(void *param)
{
 ...

        case kUSB_HostHidRunSetIdleDone: /* 3. hid get report descriptor */
            /* get report descriptor's length */
            hidDescriptor = NULL;
            descriptor    = (uint8_t *)((usb_host_interface_t *)genericInstance-&amp;gt;interfaceHandle)-&amp;gt;interfaceExtension;
            endPosition   = (uint32_t)descriptor +
 ...
}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following app can help you to check the descriptor received by the PC.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.softpedia.com/get/System/System-Info/USB-Device-Tree-Viewer.shtml" rel="nofollow noopener noreferrer" title="https://www.softpedia.com/get/System/System-Info/USB-Device-Tree-Viewer.shtml" target="_blank"&gt;Download USB Device Tree Viewer 3.4.0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2020 22:54:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/USB-host-question/m-p/1086424#M3780</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-07-30T22:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: USB host question</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/USB-host-question/m-p/1086425#M3781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alexis, thanks for the TreeViewer.&lt;/P&gt;&lt;P&gt;In the k64f, the software never gets to "&lt;CODE style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;case kUSB_HostHidRunSetIdleDone:"&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;It goes through "case kUSB_HostHidRunIdle:" 7 times and then the enumeration failed error shows up.&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2020 12:13:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/USB-host-question/m-p/1086425#M3781</guid>
      <dc:creator>elinaiman</dc:creator>
      <dc:date>2020-07-31T12:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: USB host question</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/USB-host-question/m-p/1086426#M3782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using the FRDM-K64, are you shorting the jumper J21? In case you're using the host functionality this jumper is needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2020 21:00:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/USB-host-question/m-p/1086426#M3782</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-07-31T21:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: USB host question</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/USB-host-question/m-p/1086427#M3783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I have J21 shorted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2020 22:28:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/USB-host-question/m-p/1086427#M3783</guid>
      <dc:creator>elinaiman</dc:creator>
      <dc:date>2020-07-31T22:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: USB host question</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/USB-host-question/m-p/1086428#M3784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are different reasons why this state can be called without being enumerated, one of&amp;nbsp;these is if the descriptor length is to wide, the buffer set by default is 100 and if it's wider this state will be called. Another is if the device is detached in the enumeration process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is any of these two present?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2020 23:36:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/USB-host-question/m-p/1086428#M3784</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-08-05T23:36:48Z</dc:date>
    </item>
  </channel>
</rss>

