<?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のトピックHard error with MCB1800 and USB PROM version and mouse example</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Hard-error-with-MCB1800-and-USB-PROM-version-and-mouse-example/m-p/525308#M7944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Skyle on Tue Jan 08 16:30:58 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to use the built in ROM version of the drivers, i tested the mouse example mainly as a first simple approach. It works fine in the IAR environmnet, but there it builds for RAM. I ported into an Eclipse environment with GCC. The non ROM version works fine with FreeRTOS. When i switched to using the ROM version I got a hard error exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After going back to the clean non RTOS example, but still compiled with GCC., I still got the hard error. I have tried to figure out what could be different between the comopilers, have studied the descriptor structures in detail trying to find some "packing" differences.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After removing the "const" and "PROGMEM" atributes on the descriptors definitions, getting them, into RAM rather than in flash, it now seems to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I see it there can be 2 possibilities for this, either tha ROM stack tries to write something in the descriptors, or the ROM version cannot read for example 8 bit elements from flash. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is wrong here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the latest version of the USBlib stack.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:53:06 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:53:06Z</dc:date>
    <item>
      <title>Hard error with MCB1800 and USB PROM version and mouse example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Hard-error-with-MCB1800-and-USB-PROM-version-and-mouse-example/m-p/525308#M7944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Skyle on Tue Jan 08 16:30:58 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to use the built in ROM version of the drivers, i tested the mouse example mainly as a first simple approach. It works fine in the IAR environmnet, but there it builds for RAM. I ported into an Eclipse environment with GCC. The non ROM version works fine with FreeRTOS. When i switched to using the ROM version I got a hard error exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After going back to the clean non RTOS example, but still compiled with GCC., I still got the hard error. I have tried to figure out what could be different between the comopilers, have studied the descriptor structures in detail trying to find some "packing" differences.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After removing the "const" and "PROGMEM" atributes on the descriptors definitions, getting them, into RAM rather than in flash, it now seems to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I see it there can be 2 possibilities for this, either tha ROM stack tries to write something in the descriptors, or the ROM version cannot read for example 8 bit elements from flash. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is wrong here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the latest version of the USBlib stack.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:53:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Hard-error-with-MCB1800-and-USB-PROM-version-and-mouse-example/m-p/525308#M7944</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:53:06Z</dc:date>
    </item>
  </channel>
</rss>

