<?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>CodeWarrior for MCUのトピックRe: LCF file, locate default .text code into multiple sections</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/LCF-file-locate-default-text-code-into-multiple-sections/m-p/432107#M11826</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think an4489 should include the information you need. can you please check it&lt;BR /&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4498.pdf" title="http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4498.pdf"&gt;http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4498.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can this help you?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&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>Tue, 09 Jun 2015 07:37:54 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2015-06-09T07:37:54Z</dc:date>
    <item>
      <title>LCF file, locate default .text code into multiple sections</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/LCF-file-locate-default-text-code-into-multiple-sections/m-p/432104#M11823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a project which requires a routine to be located at a particular address in internal flash, to be accessed from a legacy boot-loader program.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This address lies in the middle of the memory range.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be able to create a section either side of this address.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The default LCF entry for .text is:&lt;/P&gt;&lt;P&gt;.text :&lt;/P&gt;&lt;P&gt;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * (.text)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; . = ALIGN(0x4);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * (.rodata)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; . = ALIGN(0x4);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ___ROM_AT = .;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ___DATA_ROM = .;&lt;/P&gt;&lt;P&gt;&amp;nbsp; } &amp;gt; m_text&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have had to define the m_text section as:&lt;/P&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style=""&gt;m_text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD style=""&gt;&lt;/TD&gt;&lt;TD style=""&gt;(RX) : ORIGIN = 0x0000C410, LENGTH = 0x00053BF0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;to accommodate the boot-loader routine section which appears directly after this section.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to define another section, say m_text_2, above this section to leave my boot-loader routine section intact.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to have the linker place .text into 2 sections automatically?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would prefer to not have to change the address of the boot-loader routine to maintain units in the field.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 08:16:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/LCF-file-locate-default-text-code-into-multiple-sections/m-p/432104#M11823</guid>
      <dc:creator>leccy</dc:creator>
      <dc:date>2015-06-05T08:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: LCF file, locate default .text code into multiple sections</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/LCF-file-locate-default-text-code-into-multiple-sections/m-p/432105#M11824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;the answer depends on what chip and CW version you work with?&lt;/P&gt;&lt;P&gt;if kinetis,&amp;nbsp; you use CW FSL ARM compiler, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&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>Fri, 05 Jun 2015 08:47:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/LCF-file-locate-default-text-code-into-multiple-sections/m-p/432105#M11824</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-06-05T08:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: LCF file, locate default .text code into multiple sections</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/LCF-file-locate-default-text-code-into-multiple-sections/m-p/432106#M11825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is Kinetis, on CW10.3, FSL ARM compiler.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 15:13:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/LCF-file-locate-default-text-code-into-multiple-sections/m-p/432106#M11825</guid>
      <dc:creator>leccy</dc:creator>
      <dc:date>2015-06-08T15:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: LCF file, locate default .text code into multiple sections</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/LCF-file-locate-default-text-code-into-multiple-sections/m-p/432107#M11826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think an4489 should include the information you need. can you please check it&lt;BR /&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4498.pdf" title="http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4498.pdf"&gt;http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4498.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can this help you?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&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>Tue, 09 Jun 2015 07:37:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/LCF-file-locate-default-text-code-into-multiple-sections/m-p/432107#M11826</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-06-09T07:37:54Z</dc:date>
    </item>
  </channel>
</rss>

