<?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 USB_HostEhciTaskFunction hangs in USB_HostEhciPortChange in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/USB-HostEhciTaskFunction-hangs-in-USB-HostEhciPortChange/m-p/990757#M147052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the MCUXpresso SDK USB version 2.2.1 with MCUXpresso SDK 2.6.2. Disconnect a device sometimes causes the host task (USB_HostEhciTaskFunction) to hang in USB_HostEhciPortChange. The break condition is never satisfied so the code spins in the while(1) loop. My application code is based on the USB_host_cdc example and the CONTROLLER_ID I'm using is kUSB_ControllerEhci0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2020 15:10:10 GMT</pubDate>
    <dc:creator>jeffthompson</dc:creator>
    <dc:date>2020-03-19T15:10:10Z</dc:date>
    <item>
      <title>USB_HostEhciTaskFunction hangs in USB_HostEhciPortChange</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-HostEhciTaskFunction-hangs-in-USB-HostEhciPortChange/m-p/990757#M147052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the MCUXpresso SDK USB version 2.2.1 with MCUXpresso SDK 2.6.2. Disconnect a device sometimes causes the host task (USB_HostEhciTaskFunction) to hang in USB_HostEhciPortChange. The break condition is never satisfied so the code spins in the while(1) loop. My application code is based on the USB_host_cdc example and the CONTROLLER_ID I'm using is kUSB_ControllerEhci0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 15:10:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-HostEhciTaskFunction-hangs-in-USB-HostEhciPortChange/m-p/990757#M147052</guid>
      <dc:creator>jeffthompson</dc:creator>
      <dc:date>2020-03-19T15:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: USB_HostEhciTaskFunction hangs in USB_HostEhciPortChange</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-HostEhciTaskFunction-hangs-in-USB-HostEhciPortChange/m-p/990758#M147053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jeffery,&lt;/P&gt;&lt;P&gt;Hope you are doing well.&lt;/P&gt;&lt;P&gt;Could you please confirm the microcontroller you are using so that I can test it from my end?&lt;/P&gt;&lt;P&gt;Also, is this reproducible using the example directly or were there modifications made?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 05:24:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-HostEhciTaskFunction-hangs-in-USB-HostEhciPortChange/m-p/990758#M147053</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-03-25T05:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: USB_HostEhciTaskFunction hangs in USB_HostEhciPortChange</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-HostEhciTaskFunction-hangs-in-USB-HostEhciPortChange/m-p/990759#M147054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sabina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you and yours are safe and well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’m using the MIMXRT1062DVJ6A. I did not try this with the example code, but I’ve made no changes to the USB_HostTaskFn, and run it as a separate task. My changes are to the USB_HostCdcTask, where I make calls to my application from the DEV_Attached and DEV_Detached state changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff Thompson  |  Senior Electrical Engineer-Firmware&lt;/P&gt;&lt;P&gt;+1 704 752 6513 x1394&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/www.invue.com" target="test_blank"&gt;www.invue.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 12:24:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-HostEhciTaskFunction-hangs-in-USB-HostEhciPortChange/m-p/990759#M147054</guid>
      <dc:creator>jeffthompson</dc:creator>
      <dc:date>2020-03-25T12:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: USB_HostEhciTaskFunction hangs in USB_HostEhciPortChange</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-HostEhciTaskFunction-hangs-in-USB-HostEhciPortChange/m-p/990760#M147055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jeffery,&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made a test with the hostcdc example by attaching and detaching a device and had no problems.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/98214iB67F5C077DC34360/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you please try using the example and attempt the same. Is the behavior the same as you are experiencing?&lt;/P&gt;&lt;P&gt;If so, could you please provide more details so that I can check it with detail. Such as the code, the type of device you are connecting. If possible please reproduce the behavior on our evaluation board so that I can work with it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2020 16:43:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-HostEhciTaskFunction-hangs-in-USB-HostEhciPortChange/m-p/990760#M147055</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-03-29T16:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: USB_HostEhciTaskFunction hangs in USB_HostEhciPortChange</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-HostEhciTaskFunction-hangs-in-USB-HostEhciPortChange/m-p/990761#M147056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I'm now longer able to duplicate the problem, so there must have been something subtle that I did to break it. I'll definitely be&amp;nbsp;looking for it to reappear, and will try to duplicate it.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2020 11:58:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-HostEhciTaskFunction-hangs-in-USB-HostEhciPortChange/m-p/990761#M147056</guid>
      <dc:creator>jeffthompson</dc:creator>
      <dc:date>2020-04-06T11:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: USB_HostEhciTaskFunction hangs in USB_HostEhciPortChange</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-HostEhciTaskFunction-hangs-in-USB-HostEhciPortChange/m-p/990762#M147057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a problem, let me know if you are able to reproduce the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 15:33:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-HostEhciTaskFunction-hangs-in-USB-HostEhciPortChange/m-p/990762#M147057</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-04-07T15:33:25Z</dc:date>
    </item>
  </channel>
</rss>

