<?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>S12 / MagniV MicrocontrollersのトピックLinker file</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Linker-file/m-p/2315165#M20847</link>
    <description>&lt;P&gt;I am trying to port code from cosmic to CodeWarrior 5.2 for HCS12 controller, when I am trying to use&amp;nbsp;#pragma CODE_SEG PAGE_32 to make a function under section PAGE 32 ,only the section is getting updated in map file, starting address remains unchanged.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Feb 2026 04:09:35 GMT</pubDate>
    <dc:creator>Aswin_5232</dc:creator>
    <dc:date>2026-02-10T04:09:35Z</dc:date>
    <item>
      <title>Linker file</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Linker-file/m-p/2315165#M20847</link>
      <description>&lt;P&gt;I am trying to port code from cosmic to CodeWarrior 5.2 for HCS12 controller, when I am trying to use&amp;nbsp;#pragma CODE_SEG PAGE_32 to make a function under section PAGE 32 ,only the section is getting updated in map file, starting address remains unchanged.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 04:09:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Linker-file/m-p/2315165#M20847</guid>
      <dc:creator>Aswin_5232</dc:creator>
      <dc:date>2026-02-10T04:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Linker file</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Linker-file/m-p/2315707#M20848</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/259706"&gt;@Aswin_5232&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You did not specify the part number of the MCU.&lt;/P&gt;
&lt;P&gt;Use something like this instead:&lt;/P&gt;
&lt;P&gt;Linker:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;!--ScriptorStartFragment--&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="scriptor-paragraph"&gt;&lt;LI-CODE lang="c"&gt;SEGMENTS
    PAGE_32 = READ_ONLY 0x8000 TO 0xBFFF PAGE 32;
END

PLACEMENT
    MyPage32Funcs INTO PAGE_32;
END&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;DIV class="scriptor-paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="scriptor-paragraph"&gt;&lt;SPAN&gt;Main&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="scriptor-paragraph"&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;!--ScriptorStartFragment--&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="scriptor-paragraph"&gt;
&lt;DIV class="scriptor-paragraph"&gt;&lt;LI-CODE lang="c"&gt;#pragma CODE_SEG MyPage32Funcs
void MyFunc(void) { ... }
#pragma CODE_SEG DEFAULT&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;PRE&gt;Any support, information, and technology (“Materials”) provided by NXP are provided AS IS, without any warranty express or implied, and NXP disclaims all direct and indirect liability and damages in connection with the Material to the maximum extent permitted by the applicable law. &lt;BR /&gt;NXP accepts no liability for any assistance with applications or product design. Materials may only be used in connection with NXP products. Any feedback provided to NXP regarding the Materials may be used by NXP without restriction.&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 15:02:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Linker-file/m-p/2315707#M20848</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2026-02-10T15:02:53Z</dc:date>
    </item>
  </channel>
</rss>

