<?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のトピックRe: Drivers for LPC11xx ???</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Drivers-for-LPC11xx/m-p/575028#M19151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wellsk on Fri Apr 04 13:13:34 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like you are missing files. Those cmsis_&amp;lt;CHIP&amp;gt;.h files are usually locate din the chip_&amp;lt;CHIP&amp;gt; area in config_&amp;lt;CHIP&amp;gt; directories.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to either add an include path to the directory or copy the files into your inc directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;To me it's not clear at all which configuration to use for the LPC1110-1115.&lt;BR /&gt;As I came to the conclusion that the LPC1125 might be the closest to the LPC1114, where do I get the appropriate files for this ?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use the CHIP_LPC11CXX configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt; * &lt;STRONG&gt;CHIP_LPC11CXX definition&lt;/STRONG&gt;

 * CHIP_LPC11CXX must be defined for all code when building for the LPC1111, LPC1112,
 * LPC1113, LPC1114, LPC11D14, LPC1115, LPC11C12, LPC11C13, LPC11C22, and LPC11C34 devices.
 * This unvalued definition can be added to the compilers argument list or as part of
 * sys_config.h.
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might download and start with the LPC11c24 package - it's the closest match to your device.&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%2Fsystem%2Ffiles%2Flpcopen_v2_00a_lpcxpresso_nxp_lpcxpresso_11c24.zip" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.lpcware.com/system/files/lpcopen_v2_00a_lpcxpresso_nxp_lpcxpresso_11c24.zip&lt;/A&gt;&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%2Fsystem%2Ffiles%2Flpcopen_v2_00a_keil_iar_nxp_lpcxpresso_11c24.zip" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.lpcware.com/system/files/lpcopen_v2_00a_keil_iar_nxp_lpcxpresso_11c24.zip&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you restructure the files from the package (ie, into src and inc directories), copy the contents from the lpcopen\software\lpc_core\lpc_chip\chip_11xx\config_11cxx directory to inc directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 20:15:04 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T20:15:04Z</dc:date>
    <item>
      <title>Drivers for LPC11xx ???</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Drivers-for-LPC11xx/m-p/575027#M19150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Pacman on Fri Apr 04 11:34:48 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have 3 LPC1114/302, but I am having trouble compiling just a simple LED-blinker for them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I did succeed in compiling+flashing LPC1342 and LPC812 yesterday, but the LPC1114 gives me trouble.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've downloaded LPCOpen for lpc11uxx and have tried the following #defines, but most of them throws errors at me:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#define CHIP_LPC11XXLV
[color=#c00]/Users/jens/Library/uCode/libraries/lpc11uxx/inc/cmsis.h:55:26: fatal error: cmsis_11lvxx.h: No such file or directory[/color]&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#define CHIP_LPC1125/* does not work */
[color=#c00]/Users/jens/Library/uCode/libraries/lpc11uxx/inc/cmsis.h:40:24: fatal error: cmsis_1125.h: No such file or directory[/color]&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#define CHIP_LPC110x
[color=#c00]/Users/jens/Library/uCode/libraries/lpc11uxx/inc/cmsis.h:58:2: error: #error "No CHIP_* definition is defined"[/color]&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#define CHIP_LPC11CXX
[color=#c00]/Users/jens/Library/uCode/libraries/lpc11uxx/inc/cmsis.h:46:25: fatal error: cmsis_11cxx.h: No such file or directory[/color]&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#define CHIP_LPC11UXX
[color=#c00]/Users/jens/Library/uCode/libraries/lpc11uxx/inc/chip.h:248:25: fatal error: gpio_11xx_2.h: No such file or directory[/color]&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#define CHIP_LPC11EXX
[color=#c00]/Users/jens/Library/uCode/libraries/lpc11uxx/inc/cmsis.h:49:25: fatal error: cmsis_11exx.h: No such file or directory[/color]&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#define CHIP_LPC11AXX
[color=#c00]/Users/jens/Library/uCode/libraries/lpc11uxx/inc/cmsis.h:43:25: fatal error: cmsis_11axx.h: No such file or directory[/color]&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to me that none of the possible configurations will build.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To me it's not clear at all which configuration to use for the LPC1110-1115.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As I came to the conclusion that the LPC1125 might be the closest to the LPC1114, where do I get the appropriate files for this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How/where do I get the cmsis_*.h files needed for the different chips ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Shouldn't they be included with the archive ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If any other kind of drivers/CMSIS exists for the LPC1114, I would be very interested.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:15:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Drivers-for-LPC11xx/m-p/575027#M19150</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Drivers for LPC11xx ???</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Drivers-for-LPC11xx/m-p/575028#M19151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wellsk on Fri Apr 04 13:13:34 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like you are missing files. Those cmsis_&amp;lt;CHIP&amp;gt;.h files are usually locate din the chip_&amp;lt;CHIP&amp;gt; area in config_&amp;lt;CHIP&amp;gt; directories.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to either add an include path to the directory or copy the files into your inc directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;To me it's not clear at all which configuration to use for the LPC1110-1115.&lt;BR /&gt;As I came to the conclusion that the LPC1125 might be the closest to the LPC1114, where do I get the appropriate files for this ?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use the CHIP_LPC11CXX configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt; * &lt;STRONG&gt;CHIP_LPC11CXX definition&lt;/STRONG&gt;

 * CHIP_LPC11CXX must be defined for all code when building for the LPC1111, LPC1112,
 * LPC1113, LPC1114, LPC11D14, LPC1115, LPC11C12, LPC11C13, LPC11C22, and LPC11C34 devices.
 * This unvalued definition can be added to the compilers argument list or as part of
 * sys_config.h.
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might download and start with the LPC11c24 package - it's the closest match to your device.&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%2Fsystem%2Ffiles%2Flpcopen_v2_00a_lpcxpresso_nxp_lpcxpresso_11c24.zip" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.lpcware.com/system/files/lpcopen_v2_00a_lpcxpresso_nxp_lpcxpresso_11c24.zip&lt;/A&gt;&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%2Fsystem%2Ffiles%2Flpcopen_v2_00a_keil_iar_nxp_lpcxpresso_11c24.zip" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.lpcware.com/system/files/lpcopen_v2_00a_keil_iar_nxp_lpcxpresso_11c24.zip&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you restructure the files from the package (ie, into src and inc directories), copy the contents from the lpcopen\software\lpc_core\lpc_chip\chip_11xx\config_11cxx directory to inc directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:15:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Drivers-for-LPC11xx/m-p/575028#M19151</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Drivers for LPC11xx ???</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Drivers-for-LPC11xx/m-p/575029#M19152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Pacman on Fri Apr 04 22:31:03 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you, Kevin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This really helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm writing a new IDE, thus I'm trying to bring in support for as many different devices as possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-I'm also trying to test OpenOCD's SWD compatibility before the 0.8.0 release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(So far, there's a good chance that both LPC1342 and LPC812 will work right out-of-the-box with adapters that support SWD).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was downloading the Expresso version, as to me it was the simplest and easiest to navigate and the directory-structure that's easiest to integrate in my IDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I now see there's a lot more files in the IAR version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems there's a minor bug in the cmsis_11cxx.h from the expresso archive:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;File: lpcopen_v2_03_lpcxpresso_nxp_lpcxpresso_11u37h/lpc_chip_11uxx_lib/inc/cmsis_11cxx.h&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#if !defined(CHIP_LPC11CXX)
#error Incorrect or missing device variant (CHIP_LPC11AXX)
#endif
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;... I've now successfully gotten the LPC1114 flashed using OpenOCD and SWD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for your help. &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:15:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Drivers-for-LPC11xx/m-p/575029#M19152</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:15:05Z</dc:date>
    </item>
  </channel>
</rss>

