<?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 MSC Device Enumeration Problem in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-MSC-Device-Enumeration-Problem/m-p/582341#M20651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rlund on Tue Feb 10 13:10:10 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the code from the MSC device example project, and incorporating it into my own project.&amp;nbsp; Unfortunately, I am not successfully getting all the way through enumeration.&amp;nbsp; Here is the setup and what I have gathered so far:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PC: Windows 7&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Board/Chip: LPC Xplorer 1837&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Code: Ported from the msc example, with the addition of other drivers an initialization code not currently being utilized.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Power Source: Have tried powering two different ways, once over USB1 and once using an external DC power supply, both with the same result&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Problematic Behavior: The readme states that the disk should show up as an unformatted drive in my computer when the program is run.&amp;nbsp; It doesn't.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Observations: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Drive mapping: The disk does sometimes show up in the device manager under disk drives, but not under the computer tab with a letter mapped to it.&amp;nbsp; I tried to manually assign the letter, but the drive didn't show up in disk management, so there was no option to do that.&amp;nbsp; It also sometimes appears very momentarily, in the computer tab, with a mapped letter, when you disconnect the board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;USB Packets: I put a Beagle USB 480 in the middle to sniff packets going back and forth, and compared the proper enumeration of a flash drive to what I was seeing with the LPC board.&amp;nbsp; I found that when connecting, the LPC board is typically failing partway into the "SCSI Inquiry" command part of enumeration.&amp;nbsp; I did see a more "orphaned" packets though, and repeated transactions with the LPC board, which I didn't experience with the normal flash drive, so maybe noise could be a contributor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems like we're 90% of the way there, but just not quite all the way there.&amp;nbsp; Is there are particular .ini/.inf file I should be using in conjunction with the MSC device example?&amp;nbsp; I've read the data sheet and don't see any obvious setting issue, particularly since we're getting successfully part-way through enumeration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 20:22:03 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T20:22:03Z</dc:date>
    <item>
      <title>USB MSC Device Enumeration Problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-MSC-Device-Enumeration-Problem/m-p/582341#M20651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rlund on Tue Feb 10 13:10:10 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the code from the MSC device example project, and incorporating it into my own project.&amp;nbsp; Unfortunately, I am not successfully getting all the way through enumeration.&amp;nbsp; Here is the setup and what I have gathered so far:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PC: Windows 7&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Board/Chip: LPC Xplorer 1837&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Code: Ported from the msc example, with the addition of other drivers an initialization code not currently being utilized.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Power Source: Have tried powering two different ways, once over USB1 and once using an external DC power supply, both with the same result&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Problematic Behavior: The readme states that the disk should show up as an unformatted drive in my computer when the program is run.&amp;nbsp; It doesn't.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Observations: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Drive mapping: The disk does sometimes show up in the device manager under disk drives, but not under the computer tab with a letter mapped to it.&amp;nbsp; I tried to manually assign the letter, but the drive didn't show up in disk management, so there was no option to do that.&amp;nbsp; It also sometimes appears very momentarily, in the computer tab, with a mapped letter, when you disconnect the board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;USB Packets: I put a Beagle USB 480 in the middle to sniff packets going back and forth, and compared the proper enumeration of a flash drive to what I was seeing with the LPC board.&amp;nbsp; I found that when connecting, the LPC board is typically failing partway into the "SCSI Inquiry" command part of enumeration.&amp;nbsp; I did see a more "orphaned" packets though, and repeated transactions with the LPC board, which I didn't experience with the normal flash drive, so maybe noise could be a contributor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems like we're 90% of the way there, but just not quite all the way there.&amp;nbsp; Is there are particular .ini/.inf file I should be using in conjunction with the MSC device example?&amp;nbsp; I've read the data sheet and don't see any obvious setting issue, particularly since we're getting successfully part-way through enumeration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:22:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-MSC-Device-Enumeration-Problem/m-p/582341#M20651</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:22:03Z</dc:date>
    </item>
  </channel>
</rss>

