<?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のトピックLinker script conversion fails</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545219#M9112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a project from pre-7.9 LPCXpresso that includes a bootloader at address 0x00 and has a jump call at address 0xFF0.&amp;nbsp; I used the old style linker script to place my jump function at 0xFF0.&amp;nbsp; I am now needed to make some changes in the code, but when I rebuild in 7.9.2, the linker script is failing.&amp;nbsp; I tried using Tools-&amp;gt; convert, but it still failed.&amp;nbsp; I then took a step back to try to verify functionality.&amp;nbsp; I &lt;SPAN&gt;took&lt;/SPAN&gt; the DEFAULT link_template.ld from the Wizards folder, put it in my linkscripts folder and then did Tools-&amp;gt; convert.&amp;nbsp; It fails - this SHOULD work, I have made NO changes in the linker scripts.&amp;nbsp; The error I am getting is:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;The following has evaluated to null or missing:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;==&amp;gt; memory&amp;nbsp; [in template "rodata.ldt" at line 1, column 22]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;----&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;FTL stack trace ("~" means nesting-related):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; - Failed at: ${memory.alias}&amp;nbsp; [in template "rodata.ldt" at line 1, column 20]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; - Reached through: #include "rodata.ldt"&amp;nbsp; [in template "linkscript.ldt" at line 27, column 1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;----&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found in the FAQs that memory.alias comes from the Alias column of the memory map.&amp;nbsp; This would imply that the error means I left that blank.&amp;nbsp; However, here is what my memory map looks like:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alias&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;Flash&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Flash_SBL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Flash&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x1000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;RAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RamLoc16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x10000000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x3c00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;RAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ram_FWDATABUF RAM2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x10003c00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x400&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;RAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RamAHB16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RAM3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x20007c000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x4000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the problem that I renamed the Flash section from the default to Flash_SBL?&amp;nbsp; If so, how should this be addressed under the new scripting, if not, any explanation of why I'm getting this error and how to resolve it.&amp;nbsp; My first goal is to just get the basic memory map working, then I'll go back and make sure my jump function is placed at the correct location.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jun 2016 20:31:56 GMT</pubDate>
    <dc:creator>ingenutec</dc:creator>
    <dc:date>2016-06-17T20:31:56Z</dc:date>
    <item>
      <title>Linker script conversion fails</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545219#M9112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a project from pre-7.9 LPCXpresso that includes a bootloader at address 0x00 and has a jump call at address 0xFF0.&amp;nbsp; I used the old style linker script to place my jump function at 0xFF0.&amp;nbsp; I am now needed to make some changes in the code, but when I rebuild in 7.9.2, the linker script is failing.&amp;nbsp; I tried using Tools-&amp;gt; convert, but it still failed.&amp;nbsp; I then took a step back to try to verify functionality.&amp;nbsp; I &lt;SPAN&gt;took&lt;/SPAN&gt; the DEFAULT link_template.ld from the Wizards folder, put it in my linkscripts folder and then did Tools-&amp;gt; convert.&amp;nbsp; It fails - this SHOULD work, I have made NO changes in the linker scripts.&amp;nbsp; The error I am getting is:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;The following has evaluated to null or missing:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;==&amp;gt; memory&amp;nbsp; [in template "rodata.ldt" at line 1, column 22]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;----&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;FTL stack trace ("~" means nesting-related):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; - Failed at: ${memory.alias}&amp;nbsp; [in template "rodata.ldt" at line 1, column 20]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&amp;nbsp; - Reached through: #include "rodata.ldt"&amp;nbsp; [in template "linkscript.ldt" at line 27, column 1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;----&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found in the FAQs that memory.alias comes from the Alias column of the memory map.&amp;nbsp; This would imply that the error means I left that blank.&amp;nbsp; However, here is what my memory map looks like:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alias&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;Flash&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Flash_SBL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Flash&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x1000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;RAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RamLoc16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x10000000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x3c00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;RAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ram_FWDATABUF RAM2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x10003c00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x400&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;RAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RamAHB16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RAM3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x20007c000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x4000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the problem that I renamed the Flash section from the default to Flash_SBL?&amp;nbsp; If so, how should this be addressed under the new scripting, if not, any explanation of why I'm getting this error and how to resolve it.&amp;nbsp; My first goal is to just get the basic memory map working, then I'll go back and make sure my jump function is placed at the correct location.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 20:31:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545219#M9112</guid>
      <dc:creator>ingenutec</dc:creator>
      <dc:date>2016-06-17T20:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Linker script conversion fails</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545220#M9113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your linker script, check to see if you have a linker output section with no corresponding named memory. Otherwise you're subject to the default behavior. It's possible the message you see is a side effect of a translation, but I can't be sure without your project. You should update to the latest LPCXpresso installation. LPCXpresso 7.9.2 introduced transitional support for the Freemarker template engine while keeping the legacy linker template mechanism in place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See &lt;A _jive_internal="true" href="https://community.nxp.com/message/630611"&gt;https://community.nxp.com/message/630611&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 21:31:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545220#M9113</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2016-06-17T21:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Linker script conversion fails</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545221#M9114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can reproduce your problem... But I don't think this is what you want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new linker templates are much more flexible than the old scheme, but without seeing the changes you want to make to the linker script, I can't tell you what you need to do. However, if you read the doc pointed to by LPCXpresso Support, and reading the supplied templates in Wizards/linkscripts you should see it is fairly trivial to make changes. If you get stuck, tell me what change you need to make to your linker script and I will tell you how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note to LPCXpresso support: To reproduce the issue, just copy the link_template.ld from the Wizard directory into your project/linkscripts directory, use Tools-&amp;gt;convert to freemarker, and then build the project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jun 2016 17:02:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545221#M9114</guid>
      <dc:creator>thefallguy</dc:creator>
      <dc:date>2016-06-18T17:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Linker script conversion fails</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545222#M9115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:15:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545222#M9115</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Linker script conversion fails</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545223#M9116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My linker script is the link_template.ld copied to a linkscripts folder in my project, then converted using the tools-&amp;gt;convert to freemarker as described by Fall Guy below.&amp;nbsp; I have read through all of the various linker scripting articles in the community.&amp;nbsp; That's what I used to create the linker script for another similar project, but without the freemarker support.&amp;nbsp; It's the freemarker stuff that is causing the problem.&lt;/P&gt;&lt;P&gt;I cannot update to the latest release.&amp;nbsp; We are working on a project going into a certification and changing tools, even an update, is not appropriate at this time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 12:34:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545223#M9116</guid>
      <dc:creator>ingenutec</dc:creator>
      <dc:date>2016-06-20T12:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Linker script conversion fails</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545224#M9117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what does 'bump' mean?&amp;nbsp; is this a message to LPCX Support to raise the priority?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 12:35:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545224#M9117</guid>
      <dc:creator>ingenutec</dc:creator>
      <dc:date>2016-06-20T12:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Linker script conversion fails</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545225#M9118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My original plan was to SPLIT the code space, but I don't think that is possible: originally, my code started at 0x1000 and went up from there.&amp;nbsp; I have a secondary boot loader at 0x0000.&amp;nbsp; I need to add some fixed data blocks (8K worth) and I thought I could keep the SBL pointing to 0x1000 (and hence my code starting at 0x1000) and then put my data block from 0x2000 to 0x3FFF, then continue code from 0x4000.&amp;nbsp; This does not appear to be possible - at least I haven't figured out how to do it.&amp;nbsp; So, what I did was to put the 8K block at 0x1000 and move my code to 0x3000 which, unfortunately, required a change in my SBL.&amp;nbsp; Currently, this data block starts at 0x1000 and goes to 0x2FFF.&amp;nbsp; Without using a custom linker script, I know how to, and am able to get the linker to put my data structures into this block.&amp;nbsp; Where the linker script comes in is that I need to have the data structures at specific addresses in the block.&amp;nbsp; For example, one data structure will be at 0x1000, one will be at 0x2800 and one at 0x2C00.&amp;nbsp; This is done so that I can write data into these locations during run time.&amp;nbsp; By fixing the locations, I can manage the erasing of the pages, the backing up (and read/modify/write) of the data and the application will always be able to access the correct data because the pointer used to access it is always pointing to a fixed location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I did this in the previous linker script was to add the following into my link_template.ld:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .text : ALIGN(${text_align})&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;------ original&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.text*)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* INSERT RODATA */&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* INSERT CPP_INFO */&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;gt; ${CODE}&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .text : ALIGN(${text_align})&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;---- my new entry&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILL(0xff)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.text*)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . = 0x00002800 ;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.dataBuffer1*)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;gt; ${CODE}&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* INSERT EXDATA */&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;---- original next section&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, because the conversion to the freemarker templates doesn't seem to be working, I can't seem to figure out how to do this using the free marker approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 12:54:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545225#M9118</guid>
      <dc:creator>ingenutec</dc:creator>
      <dc:date>2016-06-20T12:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Linker script conversion fails</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545226#M9119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Normally, in forums, 'bump' is used to set an activity date on a thread to ensure the thread appears near the top in the 'most recent posts' list. I guess this is what they have done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the change you need to make to your linker script:&lt;/P&gt;&lt;P&gt;1. take a copy of Wizards/linker/text_section.ldt and place it into the 'linkscripts' directory of your project. This should be the only file in that directory&lt;/P&gt;&lt;P&gt;2. add you changes to the start or end of the file (depending on whether you want you change before the standard text section or after. Your change will looks something like this (almost identical to your current changes)&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14664280228751701 jive_text_macro" data-renderedposition="216_8_904_128" jivemacro_uid="_14664280228751701" modifiedtitle="true"&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .text : ALIGN(${text_align})&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILL(0xff)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.text*)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . = 0x00002800 ;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.dataBuffer1*)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;gt; ${CODE}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;3. build your application (making sure that the project is set up to generate linker scripts)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s. I would recommend updating to latest 8.1.4 version of LPCXpresso, which has removed a few 'wrinkles' from the new freemarker templates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 13:05:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545226#M9119</guid>
      <dc:creator>thefallguy</dc:creator>
      <dc:date>2016-06-20T13:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Linker script conversion fails</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545227#M9120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&amp;nbsp; I'll try that out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 13:23:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545227#M9120</guid>
      <dc:creator>ingenutec</dc:creator>
      <dc:date>2016-06-20T13:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Linker script conversion fails</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545228#M9121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added this to the very beginning of the text_section.ld script (BEFORE ANY of the original script content):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .text_Flash2 : ALIGN(${text_align})&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . = 0x00001000 ;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.cfgBuffer*)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp; } &amp;gt; Flash_CFG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flash_CFG (Flash2) is defined as a 12K block starting at 0x1000 (0x1000 - 0x3FFF), code (Flash_USER) starts at 0x4000. My project does nothing with 0x0000 - 0x0FFF (that's where the bootloader is, which is another project).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works, sort-of.&amp;nbsp; It creates 1K of 0xFF fill and puts cfgBuffer at 0x2000.&amp;nbsp; I had the *(.text*) lines and the FILL lines in and that didn't seem to change anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output linker script also duplicates the Flash_CFG section later in the file, I'm not sure if that's correct or not.&amp;nbsp; I think it may be the second Flash_CFG section that's causing the problem, but I don't know how to prevent it from being created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the script:&lt;/P&gt;&lt;P&gt;-----------------&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .text_Flash2 : ALIGN(${text_align})&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . = 0x00001000 ;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.cfgBuffer*)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp; } &amp;gt; Flash_CFG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;lt;#if configMemory?has_content&amp;gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;lt;#list configMemory as memory&amp;gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;lt;#if memory.flash &amp;amp;&amp;amp; !memory.defaultFlash&amp;gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;lt;#if slaves?has_content&amp;gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp; &amp;lt;#include "text_section_multicore.ldt" &amp;gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;lt;#elseif slavesError??&amp;gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ${slavesError}&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;lt;/#if&amp;gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .text_${memory.alias} : ALIGN(${text_align})&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILL(0xff)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;lt;#include "text.ldt" &amp;gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;lt;#include "rodata.ldt" &amp;gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;gt; ${memory.name}&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;lt;/#if&amp;gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;lt;/#list&amp;gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;lt;/#if&amp;gt;&lt;/P&gt;&lt;P&gt;-----------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the output:&lt;/P&gt;&lt;P&gt;-----------------&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;SECTIONS&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;{&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .text_Flash2 : ALIGN(4)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . = 0x00001000 ;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.cfgBuffer*)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp; } &amp;gt; Flash_CFG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .text_Flash2 : ALIGN(4)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILL(0xff)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.text_Flash2*) /* for compatibility with previous releases */&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.text_Flash_CFG*) /* for compatibility with previous releases */&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.text.$Flash2*)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.text.$Flash_CFG*)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.rodata.$Flash2*)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.rodata.$Flash_CFG*)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;gt; Flash_CFG&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .text_Flash3 : ALIGN(4)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILL(0xff)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.text_Flash3*) /* for compatibility with previous releases */&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.text_Flash_FWID*) /* for compatibility with previous releases */&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.text.$Flash3*)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.text.$Flash_FWID*)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.rodata.$Flash3*)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.rodata.$Flash_FWID*)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;gt; Flash_FWID&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* MAIN TEXT SECTION */&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .text : ALIGN(4)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 15:52:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545228#M9121</guid>
      <dc:creator>ingenutec</dc:creator>
      <dc:date>2016-06-21T15:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Linker script conversion fails</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545229#M9122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am rather confused about what you are trying to do. Perhaps it would be easier if you just described the layout of memory that you are trying to achieve. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would then recommend that you use the memory config editor to divide the memory into named blocks that match the layout. You can then use the 'section macros' to place code or data into those regions. And then let the IDE create the default linker script - without you having to provide any scripts yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See these FAQS&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/630737?sr=search&amp;amp;searchId=b9b67099-4458-46f9-ae5c-db152c01ffd8&amp;amp;searchIndex=0"&gt;Placing data at an address(Message) By LPCware Support, posted May 17, 2016&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/630738?sr=search&amp;amp;searchId=24f7218b-4d7c-41c2-9e02-86eefac742de&amp;amp;searchIndex=3"&gt;Placing code/rodata into different FLASH blocks(Message) By LPCware Support, posted May 17, 2016&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 07:56:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545229#M9122</guid>
      <dc:creator>thefallguy</dc:creator>
      <dc:date>2016-06-22T07:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Linker script conversion fails</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545230#M9123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help.&amp;nbsp; Here is what I have and am doing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: 'courier new', courier;"&gt;Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alias&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: 'courier new', courier;"&gt;Flash&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Flash_USER&amp;nbsp;&amp;nbsp;&amp;nbsp; Flash&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x4000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x3bff0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: 'courier new', courier;"&gt;Flash&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Flash_CFG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Flash2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x1000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x3000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: 'courier new', courier;"&gt;Flash&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Flash_FWID&amp;nbsp;&amp;nbsp;&amp;nbsp; Flash3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x3fff8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt; font-style: inherit;"&gt;RAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RamLoc16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x10000000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x4000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="color: #51626f; font-size: 13px; font-family: 'courier new', courier; font-style: inherit;"&gt;RAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RamAHB16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RAM2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x2007c000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x3000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: 'courier new', courier;"&gt;RAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ram_FWDATABUF RAM3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x10003c00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x1000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;The space from 0x0000 to 0x0FFF is not listed.&amp;nbsp; This is in the bootloader project and written by that project so my project omits that section of memory&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Flash_USER is my code space&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Flash_FWID contains a firmware ID, used by the bootloader to verify that the code image is valid&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Flash_CFG is for configuration data.&amp;nbsp; Currently, there is exactly one symbol in this memory block: cfgBuffer.&amp;nbsp; This buffer is defined in the code for all the default data, but during operation, it can be overwritten via a serial port and IAP Flash programming routines (NOT debug or FlashMagic, but update routines that are part of my application).&amp;nbsp; Because it can be updated during operation AND because I want to add a couple of more symbols in the same Flash_CFG block, I want the symbols at fixed addresses.&amp;nbsp; Specifically, I want cfgBuffer at 0x1000 and I want cfgList at 0x3000 and cfgData at 0x3800.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Currently, since I have only one symbol assigned to that block, it automatically gets placed at 0x1000 but I want the linker forced to place it at 0x1000 and once I add the other symbols I need to be able to specify their locations as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 18:42:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-script-conversion-fails/m-p/545230#M9123</guid>
      <dc:creator>ingenutec</dc:creator>
      <dc:date>2016-06-22T18:42:27Z</dc:date>
    </item>
  </channel>
</rss>

