<?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>LPC Microcontrollersのトピック USB ROM Driver examples using LPCXpresso for LPC11Uxx</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Driver-examples-using-LPCXpresso-for-LPC11Uxx/m-p/529989#M9917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kpa on Mon Aug 27 04:52:25 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I have tried the USB ROM CDC demo from this link &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Fusb-rom-driver-examples-using-lpcxpresso-lpc11uxx" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/usb-rom-driver-examples-using-lpcxpresso-lpc11uxx&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I works perfectly on a LPC11U35 but on a LPC11U24 it hard fault quickly and the device is not enumerated at all...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any one have any idea why ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kpa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:30:43 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:30:43Z</dc:date>
    <item>
      <title>USB ROM Driver examples using LPCXpresso for LPC11Uxx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Driver-examples-using-LPCXpresso-for-LPC11Uxx/m-p/529989#M9917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kpa on Mon Aug 27 04:52:25 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I have tried the USB ROM CDC demo from this link &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Fusb-rom-driver-examples-using-lpcxpresso-lpc11uxx" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/usb-rom-driver-examples-using-lpcxpresso-lpc11uxx&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I works perfectly on a LPC11U35 but on a LPC11U24 it hard fault quickly and the device is not enumerated at all...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any one have any idea why ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kpa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:30:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Driver-examples-using-LPCXpresso-for-LPC11Uxx/m-p/529989#M9917</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:30:43Z</dc:date>
    </item>
    <item>
      <title>Re:  USB ROM Driver examples using LPCXpresso for LPC11Uxx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Driver-examples-using-LPCXpresso-for-LPC11Uxx/m-p/529990#M9918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kpa on Mon Aug 27 06:15:03 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have catched the problem. Below is the solution with explenation if it could help someone...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The LPC11U24 that I am using have only 6kB RAM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the main.c of the demo the RAM allowed for the USB stack is defined like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; usb_param.mem_base = 0x10001000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; usb_param.mem_size = 0x1000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the RAM on the MCU start at 0x10000000 and finish at 0x10001800. So the RAM allowed for the USB stack goes over the 6KB of RAM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have changed the declaration like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; usb_param.mem_base = 0x10000800;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; usb_param.mem_size = 0x1000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And it works perfectly !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;kpa&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:30:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Driver-examples-using-LPCXpresso-for-LPC11Uxx/m-p/529990#M9918</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:30:44Z</dc:date>
    </item>
    <item>
      <title>Re:  USB ROM Driver examples using LPCXpresso for LPC11Uxx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Driver-examples-using-LPCXpresso-for-LPC11Uxx/m-p/529991#M9919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mrob on Fri Oct 12 07:53:43 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help, I was running into that and having trouble tracking down the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: Ends up that wasn't part of my issue.&amp;nbsp; I'm using the LPC11U24FBD48/401 which does have 8K of ram available (the "/301" version only has 6K)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having an issue with the MSC driver example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code seems to get stuck copying the disk image from the constant to ram.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In lpc11uxx_usbd_msc_mem.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;ErrorCode_t usb_msc_mem_init(USBD_HANDLE_T hUsb, USB_INTERFACE_DESCRIPTOR* pIntfDesc, uint32_t* mem_base, uint32_t* mem_size)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; USBD_MSC_INIT_PARAM_T msc_param;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ErrorCode_t ret = LPC_OK;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; uint32_t n;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; for (n = 0; n &amp;lt; MSC_PhysicalMemorySize; n++) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Copy Initial Disk Image */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Memory[n] = DiskImage[n];&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; from Flash to RAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I comment out the for loop, it seems to work fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else seen this, or is it just me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Update:&amp;nbsp; It ends up I'm still having issues with the CDC example.&amp;nbsp; The Windows Device Manager is saying the device couldn't start.&amp;nbsp; If I reinstall the drivers, it works until my device is either removed or reset.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:30:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Driver-examples-using-LPCXpresso-for-LPC11Uxx/m-p/529991#M9919</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:30:45Z</dc:date>
    </item>
    <item>
      <title>Re:  USB ROM Driver examples using LPCXpresso for LPC11Uxx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Driver-examples-using-LPCXpresso-for-LPC11Uxx/m-p/529992#M9920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Daniel Widyanto on Mon Oct 15 19:55:30 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Please create new thread for new problem..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:30:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Driver-examples-using-LPCXpresso-for-LPC11Uxx/m-p/529992#M9920</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:30:45Z</dc:date>
    </item>
    <item>
      <title>Re:  USB ROM Driver examples using LPCXpresso for LPC11Uxx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Driver-examples-using-LPCXpresso-for-LPC11Uxx/m-p/529993#M9921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by&amp;nbsp; on Tue Oct 16 00:05:21 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi mrob,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;We have fixed this issue with the new release of the Keil Code bundle here &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Fsample-code-bundle-lpc11uxx-peripherals-using-keils-mdk-arm-0" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/sample-code-bundle-lpc11uxx-peripherals-using-keils-mdk-arm-0&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However we are in the process of revising the LPCxpresso codebundle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please momentarily use the code from the Keil bundle? ( you might need to change some keywords to make the code compatible with Xpresso, but it should be similar to the current code you are using)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;let me know if it works,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:30:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Driver-examples-using-LPCXpresso-for-LPC11Uxx/m-p/529993#M9921</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:30:46Z</dc:date>
    </item>
    <item>
      <title>Re:  USB ROM Driver examples using LPCXpresso for LPC11Uxx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Driver-examples-using-LPCXpresso-for-LPC11Uxx/m-p/529994#M9922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by&amp;nbsp; on Wed Oct 24 18:11:37 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi mrob,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the LPCxpresso codebundle with the USB_Rom drivers fixed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Fsample-code-bundle-lpc11uxx-peripherals-using-lpcxpresso" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/sample-code-bundle-lpc11uxx-peripherals-using-lpcxpresso&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:30:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Driver-examples-using-LPCXpresso-for-LPC11Uxx/m-p/529994#M9922</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:30:47Z</dc:date>
    </item>
  </channel>
</rss>

