<?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: Variables or data declared and allocated in external SDRAM in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Variables-or-data-declared-and-allocated-in-external-SDRAM/m-p/591914#M29809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wmues on Wed Jan 27 08:21:32 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;A memory region is not a section!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Define a section in your linker file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:47:09 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:47:09Z</dc:date>
    <item>
      <title>Variables or data declared and allocated in external SDRAM</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Variables-or-data-declared-and-allocated-in-external-SDRAM/m-p/591913#M29808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by marcolando on Wed Jan 27 04:16:30 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm working with an LPC1788 with external SDRAM. The memory is already configured in my code but I'm facing a problem regarding memory access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone tell a simple way to declare a variable or a structure (for example a frame buffer for an LCD display...) so that the linker will place them in the external SDRAM?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to specify a new memory region through Project Property -&amp;gt; MCU settings called SDRAM starting at address 0xA0000000 as mapped in the EMC interface but a simple variable declaration of the form &lt;/SPAN&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;__attribute__((section("SDRAM"))) long my_variable;&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt;doesn't work: my_variable is anyway allocated in internal RAM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any comment will be appreciated,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:47:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Variables-or-data-declared-and-allocated-in-external-SDRAM/m-p/591913#M29808</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Variables or data declared and allocated in external SDRAM</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Variables-or-data-declared-and-allocated-in-external-SDRAM/m-p/591914#M29809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wmues on Wed Jan 27 08:21:32 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;A memory region is not a section!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Define a section in your linker file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:47:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Variables-or-data-declared-and-allocated-in-external-SDRAM/m-p/591914#M29809</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Variables or data declared and allocated in external SDRAM</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Variables-or-data-declared-and-allocated-in-external-SDRAM/m-p/591915#M29810</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 Jan 27 08:31:58 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Simplest way in LPCXpresso IDE is to use the macros described in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; [*]&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fdata-different-ram-blocks" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/faq/lpcxpresso/data-different-ram-blocks&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For more complex requirements, look at using the Freemarker linker script mechanism :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; [*]&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Ffreemarker-linker-script-templates" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/faq/lpcxpresso/freemarker-linker-script-templates&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:47:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Variables-or-data-declared-and-allocated-in-external-SDRAM/m-p/591915#M29810</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Variables or data declared and allocated in external SDRAM</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Variables-or-data-declared-and-allocated-in-external-SDRAM/m-p/591916#M29811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by marcolando on Wed Feb 10 00:49:09 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I just changed my declaration on:&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;__SECTION(data, SDRAM) long my_variable;&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt;and this seems to be ok.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:47:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Variables-or-data-declared-and-allocated-in-external-SDRAM/m-p/591916#M29811</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:47:10Z</dc:date>
    </item>
  </channel>
</rss>

