<?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_SendControlREquest hangs: LPC_1837_Xpresso in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-Host-SendControlREquest-hangs-LPC-1837-Xpresso/m-p/524223#M6859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by braincs on Sat Jun 14 06:55:16 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello waltwallach,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also using LPC1837 xplorer, Have you tried to use nxpUSBlib. It has some example about LCP1830xplorer. Maybe helpful to look at.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, one question. Does your timer work well? When I debug my LPC1837 using lpc1830 demo code, i find PR (prescale registion) cannot be set to customer value. it is always 0xFFFF FFFF. Did you meet this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Braincs&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:47:59 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:47:59Z</dc:date>
    <item>
      <title>USB_Host_SendControlREquest hangs: LPC_1837_Xpresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-Host-SendControlREquest-hangs-LPC-1837-Xpresso/m-p/524222#M6858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by waltwallach on Sun Mar 16 16:23:55 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am extending the LPC USB stack to support hubs and multiple devices. As a start, I am configuring the Mass Storage demo to use pipe 1 as its EP0, and pipes 2 and 3 as its data pipes (pipe 0 remains for the host control endpoint).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I set the device address to 1, and pipe 1 to EP0 for device 1. I can get the device descriptor and config descriptors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, when I get the string descriptor, or set the configuration, the request never completes.&amp;nbsp; Here is the stack for USB_Host_GetDeviceStringDescriptor:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ngx_xplorer_1830_lpcusblib_DualDeviceAudioMSC Debug (1) [C/C++ (NXP Semiconductors) MCU Application]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ngx_xplorer_1830_lpcusblib_DualDeviceAudioMSC.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thread [1] &amp;lt;main&amp;gt; (Suspended : Signal : SIGINT:Interrupt)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HcdQHD() at EHCI.c:857 0x1a00f472&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WaitForTransferComplete() at EHCI.c:797 0x1a00f314&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HcdControlTransfer() at EHCI.c:317 0x1a00deac&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;USB_Host_SendControlRequest() at HostStandardReq.c:56 0x1a00a7d8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;USB_Host_GetDeviceStringDescriptor() at HostStandardReq.c:281 0x1a00aa46&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EVENT_USB_Host_DeviceEnumerationComplete() at MassStorageHost.c:372 0x1a004abe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;USB_Host_ProcessNextHostState() at Host.c:181 0x1a00a610&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;USB_HostTask() at USBTask.c:91 0x1a00b8aa&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;USB_USBTask() at USBTask.c:62 0x1a00b800&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;main() at DualDevice.c:181 0x1a00421a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gdb&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HcdQHD&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since the device descriptor calls out string descriptor indexes, I wopuild expect the device will support get string descriptor requests.&amp;nbsp; In any case, as the demo stack is delivered (with USB_SetDeviceAddress stubbed out), all device communication is using device address 0 and these calls work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there some issue using non-zero device addresses with the LPC1837 and the LPCUSB stack?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:47:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-Host-SendControlREquest-hangs-LPC-1837-Xpresso/m-p/524222#M6858</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: USB_Host_SendControlREquest hangs: LPC_1837_Xpresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-Host-SendControlREquest-hangs-LPC-1837-Xpresso/m-p/524223#M6859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by braincs on Sat Jun 14 06:55:16 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello waltwallach,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also using LPC1837 xplorer, Have you tried to use nxpUSBlib. It has some example about LCP1830xplorer. Maybe helpful to look at.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, one question. Does your timer work well? When I debug my LPC1837 using lpc1830 demo code, i find PR (prescale registion) cannot be set to customer value. it is always 0xFFFF FFFF. Did you meet this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Braincs&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:47:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-Host-SendControlREquest-hangs-LPC-1837-Xpresso/m-p/524223#M6859</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:47:59Z</dc:date>
    </item>
  </channel>
</rss>

