<?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 LPCusblib on LPC1837 target in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCusblib-on-LPC1837-target/m-p/702014#M28254</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As an add-on for an existing project, i trying to get my embedded USB2.0 Full speed device working on a Windows machine. Originally the USB host is a Variscite Var-som-mx6 board with a dedicated USB kernel driver written in C.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On Windows i've used the InfWizard tool from tLibUsbDotNet to create an appropriated driver.&lt;/P&gt;&lt;P&gt;In the device manager my device is properly configured, but my device crashes.&lt;/P&gt;&lt;P&gt;After putting the LPCUSBLIB debug info on, i get a GetDescriptor Request irq, while&amp;nbsp; the Device_STATE_Configured flag is on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;By putting a breakpoint after the EVENT_USB_Device_ConfigurationChanged() function , i'm able to step through the code and run the USB slave.&lt;/P&gt;&lt;P&gt;Because i'm not familiar with the USB2.0 stack, i don't have clue how to dig further in to the problem.&lt;/P&gt;&lt;P&gt;I've attached to good and bad slave debug output.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337951"&gt;HTBS_S_DEBUG_VARISCITE_DEAMON_-OFF.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337951"&gt;HTBS_S_DEBUG_WINDOWS_.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Oct 2017 14:24:16 GMT</pubDate>
    <dc:creator>karlstockman</dc:creator>
    <dc:date>2017-10-10T14:24:16Z</dc:date>
    <item>
      <title>LPCusblib on LPC1837 target</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCusblib-on-LPC1837-target/m-p/702014#M28254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As an add-on for an existing project, i trying to get my embedded USB2.0 Full speed device working on a Windows machine. Originally the USB host is a Variscite Var-som-mx6 board with a dedicated USB kernel driver written in C.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On Windows i've used the InfWizard tool from tLibUsbDotNet to create an appropriated driver.&lt;/P&gt;&lt;P&gt;In the device manager my device is properly configured, but my device crashes.&lt;/P&gt;&lt;P&gt;After putting the LPCUSBLIB debug info on, i get a GetDescriptor Request irq, while&amp;nbsp; the Device_STATE_Configured flag is on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;By putting a breakpoint after the EVENT_USB_Device_ConfigurationChanged() function , i'm able to step through the code and run the USB slave.&lt;/P&gt;&lt;P&gt;Because i'm not familiar with the USB2.0 stack, i don't have clue how to dig further in to the problem.&lt;/P&gt;&lt;P&gt;I've attached to good and bad slave debug output.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337951"&gt;HTBS_S_DEBUG_VARISCITE_DEAMON_-OFF.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337951"&gt;HTBS_S_DEBUG_WINDOWS_.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 14:24:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCusblib-on-LPC1837-target/m-p/702014#M28254</guid>
      <dc:creator>karlstockman</dc:creator>
      <dc:date>2017-10-10T14:24:16Z</dc:date>
    </item>
  </channel>
</rss>

