<?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>LPCXpresso IDEのトピックMultiple memory regions</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Multiple-memory-regions/m-p/541600#M7490</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by SolomonViveros on Thu May 05 13:46:14 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;So after following the directions outlined by the usb bootloader I can successfully create a custom linkscript...what I'd like to do now is create multiple memory regions and have folders within my project compile to what region I decide. Do I edit my myprog_mem.ld file with something as follows?&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;&amp;nbsp; MFlash512 (rx) : ORIGIN = 0x0, LENGTH = 0x40000
&amp;nbsp; MFlashRegion2 (rx) : ORIGIN = 0x40000 , LENGTH = 0x20000
&amp;nbsp; MFlashRegion3 (rx) : ORIGIN = 0x60000 , LENGTH = 0x20000
&amp;nbsp; RamLoc32 (rwx) : ORIGIN = 0x10000000, LENGTH = 0x8000 /* 32k */
&amp;nbsp; RamAHB32 (rwx) : ORIGIN = 0x2007c000, LENGTH = 0x8000 /* 32k */

}
&amp;nbsp; /* Define a symbol for the top of each memory region */
&amp;nbsp; __top_MFlash512 = 0x0 + 0x40000;
&amp;nbsp; __top_MFlashRegion2 = 0x40000 + 0x20000;
&amp;nbsp; __top_MFlashRegion3 = 0x60000 + 0x20000;
&amp;nbsp; __top_RamLoc32 = 0x10000000 + 0x8000;
&amp;nbsp; __top_RamAHB32 = 0x2007c000 + 0x8000;&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I group some *.c files in a folder -- is it possible to assign that folder one of the specific flash regions? If so, how?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:57:13 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:57:13Z</dc:date>
    <item>
      <title>Multiple memory regions</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Multiple-memory-regions/m-p/541600#M7490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by SolomonViveros on Thu May 05 13:46:14 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;So after following the directions outlined by the usb bootloader I can successfully create a custom linkscript...what I'd like to do now is create multiple memory regions and have folders within my project compile to what region I decide. Do I edit my myprog_mem.ld file with something as follows?&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;&amp;nbsp; MFlash512 (rx) : ORIGIN = 0x0, LENGTH = 0x40000
&amp;nbsp; MFlashRegion2 (rx) : ORIGIN = 0x40000 , LENGTH = 0x20000
&amp;nbsp; MFlashRegion3 (rx) : ORIGIN = 0x60000 , LENGTH = 0x20000
&amp;nbsp; RamLoc32 (rwx) : ORIGIN = 0x10000000, LENGTH = 0x8000 /* 32k */
&amp;nbsp; RamAHB32 (rwx) : ORIGIN = 0x2007c000, LENGTH = 0x8000 /* 32k */

}
&amp;nbsp; /* Define a symbol for the top of each memory region */
&amp;nbsp; __top_MFlash512 = 0x0 + 0x40000;
&amp;nbsp; __top_MFlashRegion2 = 0x40000 + 0x20000;
&amp;nbsp; __top_MFlashRegion3 = 0x60000 + 0x20000;
&amp;nbsp; __top_RamLoc32 = 0x10000000 + 0x8000;
&amp;nbsp; __top_RamAHB32 = 0x2007c000 + 0x8000;&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I group some *.c files in a folder -- is it possible to assign that folder one of the specific flash regions? If so, how?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:57:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Multiple-memory-regions/m-p/541600#M7490</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple memory regions</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Multiple-memory-regions/m-p/541601#M7491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by SolomonViveros on Thu May 05 15:23:53 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Similar question with a solution would appear to be the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=1775&amp;amp;highlight=text+segment&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:57:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Multiple-memory-regions/m-p/541601#M7491</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple memory regions</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Multiple-memory-regions/m-p/541602#M7492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by SolomonViveros on Thu May 05 17:16:37 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In effort to answer my own question but not without passing on the trail to the solution, I expect the following to be where the answer resides:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/EnhancedManagedLinkScripts&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:57:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Multiple-memory-regions/m-p/541602#M7492</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:57:14Z</dc:date>
    </item>
  </channel>
</rss>

