<?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: flash memory re-map using linker control (ld) file. in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-memory-re-map-using-linker-control-ld-file/m-p/362491#M18508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. BTW, I was trying to post my issue to the Kinetis forum by clicking the Ask it botton. But the post never showed up, maybe I am not doing wright. How do I make a post?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2014 12:23:34 GMT</pubDate>
    <dc:creator>Ming</dc:creator>
    <dc:date>2014-10-06T12:23:34Z</dc:date>
    <item>
      <title>flash memory re-map using linker control (ld) file.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-memory-re-map-using-linker-control-ld-file/m-p/362489#M18506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I would like to partition m_text (RX) section into two separate sections. One contains all ProcessorExpert generated code while the other one takes care of my application specific code. Within ld file, I divided m_text spaces into two sections: m_text2 and m_text. I attempted to specify a particular object generated by ProcessorExpert and place it under m_text2 while keeping the rest of code (.text) under m_text. The linker doesn't like it and generated an error. &lt;BR /&gt;The only usable method I have tried so far is using __attribute__((section(".xxxx"))) method, but it is impractical to manually place it before every functions generated by ProcessorExpert. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.generated_code : &lt;BR /&gt;&amp;nbsp; { &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AD1.o (.text) &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . = ALIGN(4); &lt;BR /&gt;&amp;nbsp; } &amp;gt; m_text2 /* new section to include AD1.o generated by ProcessorExpert, that's the intention, NOT working */ &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; /* The program code and other data goes into INTERNAL_FLASH */ &lt;BR /&gt;&amp;nbsp; .text : &lt;BR /&gt;&amp;nbsp; { &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; . = ALIGN(4); &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.text)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* .text sections (code) */ &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.text*)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* .text* sections (code) */ &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.rodata)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* .rodata sections (constants, strings, etc.) */ &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.rodata*)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* .rodata* sections (constants, strings, etc.) */ &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEEP (*(.init)) &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEEP (*(.fini)) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; . = ALIGN(4); &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 14:01:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-memory-re-map-using-linker-control-ld-file/m-p/362489#M18506</guid>
      <dc:creator>Ming</dc:creator>
      <dc:date>2014-10-02T14:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: flash memory re-map using linker control (ld) file.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-memory-re-map-using-linker-control-ld-file/m-p/362490#M18507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ming Jiang:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you should use this format instead (check the asterisks):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.generated_code :&lt;/P&gt;&lt;P&gt;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *AD1.o (.text*)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . = ALIGN(4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; } &amp;gt; m_text2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PS.&lt;/STRONG&gt; Always try to post to specialized forum spaces. Otherwise your questions gets lost and you get no answers.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 22:05:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-memory-re-map-using-linker-control-ld-file/m-p/362490#M18507</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-10-02T22:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: flash memory re-map using linker control (ld) file.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-memory-re-map-using-linker-control-ld-file/m-p/362491#M18508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. BTW, I was trying to post my issue to the Kinetis forum by clicking the Ask it botton. But the post never showed up, maybe I am not doing wright. How do I make a post?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 12:23:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-memory-re-map-using-linker-control-ld-file/m-p/362491#M18508</guid>
      <dc:creator>Ming</dc:creator>
      <dc:date>2014-10-06T12:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: flash memory re-map using linker control (ld) file.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-memory-re-map-using-linker-control-ld-file/m-p/362492#M18509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ming:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Ask it" button should work. But I have known of some threads submitted to review due to some used words that could be classified as spam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still have problems to post, try asking about this issue in &lt;A href="https://community.nxp.com/space/2001"&gt;Using Freescale Community&lt;/A&gt;, and I hope you can at least post your question there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 20:53:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-memory-re-map-using-linker-control-ld-file/m-p/362492#M18509</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-10-06T20:53:48Z</dc:date>
    </item>
  </channel>
</rss>

