<?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 Mass storage host not working.... in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-Mass-storage-host-not-working/m-p/519418#M3149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Phani on Tue Dec 31 01:01:29 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using nxpUSBlib for using LPC1768 as host reading the memory sticks. I am using CooCox as the compiler/ linker development environment. It took some time to port nxpUsblib to CooCox. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some how after porting - I do not see nothing happens &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. MassStorageHost_Task(); - This always returns, as "if (USB_HostState[FlashDisk_MS_Interface.Config.PortNumber] != HOST_STATE_Configured)" fails. Always, I get USB_HostState[FlashDisk_MS_Interface.Config.PortNumber as 0 and HOST_STATE_Configured as 11.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. MS_Host_USBTask(&amp;amp;FlashDisk_MS_Interface); This seems to be just a variable - (void)MSInterfaceInfo&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. USB_USBTask(); Also comes out. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Some how I do not see "USB_IRQHandler" getting called. Seems some thing missed in configuration..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Is there any step step guide (or note) which I can refer to find if the configuration is correct and isolate the problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Phani.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:37:58 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:37:58Z</dc:date>
    <item>
      <title>USB Mass storage host not working....</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-Mass-storage-host-not-working/m-p/519418#M3149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Phani on Tue Dec 31 01:01:29 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using nxpUSBlib for using LPC1768 as host reading the memory sticks. I am using CooCox as the compiler/ linker development environment. It took some time to port nxpUsblib to CooCox. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some how after porting - I do not see nothing happens &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. MassStorageHost_Task(); - This always returns, as "if (USB_HostState[FlashDisk_MS_Interface.Config.PortNumber] != HOST_STATE_Configured)" fails. Always, I get USB_HostState[FlashDisk_MS_Interface.Config.PortNumber as 0 and HOST_STATE_Configured as 11.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. MS_Host_USBTask(&amp;amp;FlashDisk_MS_Interface); This seems to be just a variable - (void)MSInterfaceInfo&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. USB_USBTask(); Also comes out. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Some how I do not see "USB_IRQHandler" getting called. Seems some thing missed in configuration..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Is there any step step guide (or note) which I can refer to find if the configuration is correct and isolate the problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Phani.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:37:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-Mass-storage-host-not-working/m-p/519418#M3149</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:37:58Z</dc:date>
    </item>
  </channel>
</rss>

