<?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 enumeration fails with some PC hosts in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-enumeration-fails-with-some-PC-hosts/m-p/444796#M26243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try a different cable. They are not all created equal and some are down right junk. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Nov 2015 13:10:16 GMT</pubDate>
    <dc:creator>bobpaddock</dc:creator>
    <dc:date>2015-11-02T13:10:16Z</dc:date>
    <item>
      <title>USB enumeration fails with some PC hosts</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-enumeration-fails-with-some-PC-hosts/m-p/444795#M26242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to run the USB CDC virtual com example that comes in KSDK 1.2 on a custom board with the KL27 MCU (MKL27Z256VFM4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do so, first I have build the USB library for this MCU (I cloned the provided &lt;EM&gt;usbd_sdk_frdmkl27z_mqx&lt;/EM&gt; library and followed the attached guide in this post: &lt;A href="https://community.nxp.com/message/567827" rel="nofollow noopener noreferrer" target="_blank"&gt;Re: USB CDC on KL27 processor&lt;/A&gt; ). From there, we successfully built the CDC example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is, the board successfully appears as Virtual COM when connected with some PCs but it doesn't with others (where the enumaration phase fails). I mean, the same unit and the same cable works OK on some hosts (a Windows 8.1 workstation, a Windows 10 laptop, a Windows 7 laptop) but fails on others (another Windows 8.1 workstation, a Windows XP laptop)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody throw any light about what could be happening? I totally ran out of ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More clues:&lt;/P&gt;&lt;P&gt;- I think the issue is in the board side because I also have tested this example on a FRDM-KL27 board and it worked fine with all hosts listed above (same cables also)&lt;/P&gt;&lt;P&gt;- Tracking the error with the tool USBView reports this:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_14462289775796359 jive_macro_code jive_text_macro" data-renderedposition="281_8_1232_416" jivemacro_uid="_14462289775796359" modifiedtitle="true"&gt;&lt;P&gt;[Port1] FailedEnumeration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is Port User Connectable:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yes&lt;/P&gt;&lt;P&gt;Is Port Debug Capable:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no&lt;/P&gt;&lt;P&gt;Companion Port Number:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Companion Hub Symbolic Link Name:&lt;/P&gt;&lt;P&gt;Protocols Supported:&lt;/P&gt;&lt;P&gt;USB 1.1:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yes&lt;/P&gt;&lt;P&gt;USB 2.0:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yes&lt;/P&gt;&lt;P&gt;USB 3.0:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ---===&amp;gt;Device Information&amp;lt;===---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ConnectionStatus:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FailedEnumeration&lt;/P&gt;&lt;P&gt;Current Config Value:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00&amp;nbsp; -&amp;gt; Device Bus Speed: Low&lt;/P&gt;&lt;P&gt;Device Address:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00&lt;/P&gt;&lt;P&gt;Open Pipes:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;*!*ERROR:&amp;nbsp; No open pipes!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ===&amp;gt;Device Descriptor&amp;lt;===&lt;/P&gt;&lt;P&gt;*!*ERROR:&amp;nbsp; bLength of 0 incorrect, should be 18&lt;/P&gt;&lt;P&gt;bLength:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00&lt;/P&gt;&lt;P&gt;bDescriptorType:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00&lt;/P&gt;&lt;P&gt;bcdUSB:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000&lt;/P&gt;&lt;P&gt;bDeviceClass:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00&lt;/P&gt;&lt;P&gt;*!*ERROR:&amp;nbsp; Device enumeration failure&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, just to mention I work with KDS 3.0, KSDK 1.2, MQX and our custom KL27 board has no external crystal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 18:30:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-enumeration-fails-with-some-PC-hosts/m-p/444795#M26242</guid>
      <dc:creator>alexferreirós</dc:creator>
      <dc:date>2015-10-30T18:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration fails with some PC hosts</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-enumeration-fails-with-some-PC-hosts/m-p/444796#M26243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try a different cable. They are not all created equal and some are down right junk. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 13:10:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-enumeration-fails-with-some-PC-hosts/m-p/444796#M26243</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2015-11-02T13:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration fails with some PC hosts</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-enumeration-fails-with-some-PC-hosts/m-p/444797#M26244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Also not all hubs are create equal. My KL27 won't work with one of the Hubs on my development PC. If I install an external hub between the PC and the KL27, then the KL27 works. I've run into things like Intel based hubs would work and NEC based ones don't; that was a AVR project. Look at the system information for the working and non-working PCs to see if there is something like this going on. The USB Gurus of the world hang out here if still stuck:&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://janaxelson.com/forum/index.php?board=2.0" rel="nofollow"&gt;http://janaxelson.com/forum/index.php?board=2.0&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 13:15:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-enumeration-fails-with-some-PC-hosts/m-p/444797#M26244</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2015-11-02T13:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration fails with some PC hosts</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-enumeration-fails-with-some-PC-hosts/m-p/444798#M26245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try reducing the line resistors of D+ and D-. I've seen this problem several times and reducing/changing the line resistors fixed the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 15:36:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-enumeration-fails-with-some-PC-hosts/m-p/444798#M26245</guid>
      <dc:creator>santiago_gonzal</dc:creator>
      <dc:date>2015-11-02T15:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration fails with some PC hosts</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-enumeration-fails-with-some-PC-hosts/m-p/444799#M26246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your time Santiago.&lt;/P&gt;&lt;P&gt;I've tried your suggestion changing those resistors from 22&lt;SPAN style="color: #333333; font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: #f9f9f9;"&gt;Ω&lt;/SPAN&gt; to 11&lt;SPAN style="color: #333333; font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: #f9f9f9;"&gt;Ω&lt;/SPAN&gt;, 0&lt;SPAN style="color: #333333; font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: #f9f9f9;"&gt;Ω&lt;/SPAN&gt; and even 33&lt;SPAN style="color: #333333; font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: #f9f9f9;"&gt;Ω but unfortunately the behavior remains the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 12:04:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-enumeration-fails-with-some-PC-hosts/m-p/444799#M26246</guid>
      <dc:creator>alexferreirós</dc:creator>
      <dc:date>2015-11-04T12:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration fails with some PC hosts</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-enumeration-fails-with-some-PC-hosts/m-p/444800#M26247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Bob for getting into this.&lt;/P&gt;&lt;P&gt;I guess cable is fine since I'm using the same in all the scenarios and everything works fine in some of them.&lt;/P&gt;&lt;P&gt;Regarding the hubs manufacturers, it could be related, I don't know. I just ordered an external hub to bypass this issue in my development PC. Anyway, this wouldn't be a final solution for the problem, of course.&lt;/P&gt;&lt;P&gt;Besides, the fact that the FRDM-KL27 development board actually works fine with all tested PCs (and the same cable) makes me suspect my board (HW or SW).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 12:43:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-enumeration-fails-with-some-PC-hosts/m-p/444800#M26247</guid>
      <dc:creator>alexferreirós</dc:creator>
      <dc:date>2015-11-04T12:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration fails with some PC hosts</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-enumeration-fails-with-some-PC-hosts/m-p/444801#M26248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a similar issue on a custom board using a KL27Z on a CDC device. It is actually not OS related but it seems that the KL27Z has issues with certain PC host hubs. Specifically, the KL27Z seems to always work with Intel 8 C220 host hubs (across multiple OS's) and it never works with the KL27Z on Intel 6 C200 host hubs. However, it always to connects if I go through an unpowered USB hub, regardless of the PC's host hub.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not had this problem with the KL46 or the K24/K64 micros. All of my USB devices are set up the same with KDS 3.0.0 and KSDK 1.2.0 or 1.3.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found it interesting the OP said the FRDM-KL27Z works because I checked the schematic for the FRDM and it has the same line resistors and everything as our custom board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 13:58:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-enumeration-fails-with-some-PC-hosts/m-p/444801#M26248</guid>
      <dc:creator>jonathanscofiel</dc:creator>
      <dc:date>2017-03-13T13:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration fails with some PC hosts</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-enumeration-fails-with-some-PC-hosts/m-p/444802#M26249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been fighting with this issues on a K70 for months. We're actually looking to integrate a hub into our product to work around it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CDC device, MQX 4.2, works on some machines but not others, a hub solves it in every case. Tracing out the enumeration, the K70 doesn't even try on some PCs. No response to the initial attach. Do I just need to sit there and manually poll the attach interrupt until a connection occurs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone solve this, or find a workaround?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 23:34:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-enumeration-fails-with-some-PC-hosts/m-p/444802#M26249</guid>
      <dc:creator>davecoleman</dc:creator>
      <dc:date>2017-07-05T23:34:34Z</dc:date>
    </item>
  </channel>
</rss>

