<?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: Null Pointer Exception when trying to compile with external DRAM defined in memory configuration editor in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Null-Pointer-Exception-when-trying-to-compile-with-external-DRAM/m-p/538452#M6023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dwjperry on Mon Dec 16 15:58:46 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Okay, where do I send the .cproject file to? I can't find a bug report / support email or form...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd rather not attach it here as it might give away some IP...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:24:55 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:24:55Z</dc:date>
    <item>
      <title>Null Pointer Exception when trying to compile with external DRAM defined in memory configuration editor</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Null-Pointer-Exception-when-trying-to-compile-with-external-DRAM/m-p/538450#M6021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dwjperry on Tue Nov 26 17:21:42 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to put some data in the external DRAM on my Embedded Artists LPC4357 dev board. I can read and write to the DRAM directly, but when I try and define the memory in the Memory Configuration Editor (starting address 0x28000000, size of 0x2000000, alias of RAM6) I get the following exception during compilation:&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;java.lang.NullPointerException&lt;BR /&gt;&amp;nbsp; at com.crt.advproject.linker.CreateLinkerScript2.addMemoryProperties(Unknown Source)&lt;BR /&gt;&amp;nbsp; at com.crt.advproject.linker.CreateLinkerScript2.buildLinkerMacros(Unknown Source)&lt;BR /&gt;&amp;nbsp; at com.crt.advproject.linker.CreateLinkerScript2.create(Unknown Source)&lt;BR /&gt;&amp;nbsp; at com.crt.advproject.linker.CreateLinkerScript2.buildScripts(Unknown Source)&lt;BR /&gt;&amp;nbsp; at com.crt.advproject.custom.CRTGnuMakefileGenerator.regenerateMakefiles(Unknown Source)&lt;BR /&gt;&amp;nbsp; at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performMakefileGeneration(CommonBuilder.java:1006)&lt;BR /&gt;&amp;nbsp; at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performPrebuildGeneration(CommonBuilder.java:873)&lt;BR /&gt;&amp;nbsp; at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:748)&lt;BR /&gt;&amp;nbsp; at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:513)&lt;BR /&gt;&amp;nbsp; at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:459)&lt;BR /&gt;&amp;nbsp; at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:726)&lt;BR /&gt;&amp;nbsp; at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)&lt;BR /&gt;&amp;nbsp; at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)&lt;BR /&gt;&amp;nbsp; at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)&lt;BR /&gt;&amp;nbsp; at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)&lt;BR /&gt;&amp;nbsp; at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)&lt;BR /&gt;&amp;nbsp; at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)&lt;BR /&gt;&amp;nbsp; at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)&lt;BR /&gt;&amp;nbsp; at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:394)&lt;BR /&gt;&amp;nbsp; at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)&lt;BR /&gt;&amp;nbsp; at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)&lt;BR /&gt;&amp;nbsp; at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)&lt;BR /&gt;&amp;nbsp; at org.eclipse.core.internal.resources.Project.build(Project.java:114)&lt;BR /&gt;&amp;nbsp; at com.crt.ctrlcenter.launch.BuildUtils.buildProjects(Unknown Source)&lt;BR /&gt;&amp;nbsp; at com.crt.ctrlcenter.launch.BuildUtils.access$0(Unknown Source)&lt;BR /&gt;&amp;nbsp; at com.crt.ctrlcenter.launch.BuildUtils$2.run(Unknown Source)&lt;BR /&gt;&amp;nbsp; at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The compilation still succeeds, but when I run the code, the variables I try to place in RAM6 (using the prefix __BSS(RAM6) ) don't end up there, and are placed on the built-in RAM instead. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running LPCxpresso 6.0.4. Is this a bug, or have I done something wrong? A workaround for the moment is to directly write data to the DRAM addresses, but it would be nicer if I could let the compiler handle it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:24:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Null-Pointer-Exception-when-trying-to-compile-with-external-DRAM/m-p/538450#M6021</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer Exception when trying to compile with external DRAM defined in memory configuration editor</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Null-Pointer-Exception-when-trying-to-compile-with-external-DRAM/m-p/538451#M6022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Wed Nov 27 01:23:35 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Any Null Pointer Exception is a bug...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please send your .cproject file (located in the root of the project) so we can investigate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To recover, I suggest you recreate your memory configuration:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- open the Properties for the project&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- select the MCU Settings page&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- reset the existing memory by selecting another MCU and then reselecting the LPC4357&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- add your memory configuration again&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:24:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Null-Pointer-Exception-when-trying-to-compile-with-external-DRAM/m-p/538451#M6022</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer Exception when trying to compile with external DRAM defined in memory configuration editor</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Null-Pointer-Exception-when-trying-to-compile-with-external-DRAM/m-p/538452#M6023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dwjperry on Mon Dec 16 15:58:46 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Okay, where do I send the .cproject file to? I can't find a bug report / support email or form...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd rather not attach it here as it might give away some IP...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:24:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Null-Pointer-Exception-when-trying-to-compile-with-external-DRAM/m-p/538452#M6023</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer Exception when trying to compile with external DRAM defined in memory configuration editor</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Null-Pointer-Exception-when-trying-to-compile-with-external-DRAM/m-p/538453#M6024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Dec 17 01:34:25 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Attach it here. There is none of your IP in the .cproject file&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:24:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Null-Pointer-Exception-when-trying-to-compile-with-external-DRAM/m-p/538453#M6024</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer Exception when trying to compile with external DRAM defined in memory configuration editor</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Null-Pointer-Exception-when-trying-to-compile-with-external-DRAM/m-p/538454#M6025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dwjperry on Tue Dec 17 15:12:13 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh, sorry, you're quite right. Was worried about including the names of some of our internal libraries, but haven't added them yet anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(I've added the .c extension to allow it to be uploaded.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:24:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Null-Pointer-Exception-when-trying-to-compile-with-external-DRAM/m-p/538454#M6025</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer Exception when trying to compile with external DRAM defined in memory configuration editor</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Null-Pointer-Exception-when-trying-to-compile-with-external-DRAM/m-p/538455#M6026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Dec 17 15:38:22 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Which version of LPCXpresso are you using? I am pretty certain this bug was fixed in v6.1.0 - and we are currently shipping 6.1.2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please install the latest version and try again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:24:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Null-Pointer-Exception-when-trying-to-compile-with-external-DRAM/m-p/538455#M6026</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:24:57Z</dc:date>
    </item>
  </channel>
</rss>

