<?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: Strange undocumented Linker warning L4100 in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Strange-undocumented-Linker-warning-L4100/m-p/188850#M6708</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks for the quick answer.&lt;/DIV&gt;&lt;DIV&gt;However, I really question the mental sanity of the guy who decided to&amp;nbsp;define a quote character&amp;nbsp;as a part of the symbol;&amp;nbsp;&amp;nbsp;try to&amp;nbsp;generate&amp;nbsp;PRM files&amp;nbsp;on the fly from shell scripts/makefiles and you know what I mean.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;regards,&lt;/DIV&gt;&lt;DIV&gt;Mark&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Oct 2008 22:38:33 GMT</pubDate>
    <dc:creator>slarti</dc:creator>
    <dc:date>2008-10-02T22:38:33Z</dc:date>
    <item>
      <title>Strange undocumented Linker warning L4100</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Strange-undocumented-Linker-warning-L4100/m-p/188848#M6706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using the Codewarrior compiler/linker for the S12X and recently the linker is issueing a warning which is not listed in the documentation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&lt;SPAN&gt;WARNING L4100: Failed to convert address 0x13FF94 of&amp;nbsp;FOO because of 'Flash area (C000..FFFF) is not paged'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;FOO struct is located at 0x13FF94 by the means of the following lines in the .prm file:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&lt;SPAN&gt;SECTIONS&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&lt;SPAN&gt;MY_FOO_EEPROM_SEG&amp;nbsp;= NO_INIT&amp;nbsp;&amp;nbsp;0x13ff94 0x13ffee;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&lt;SPAN&gt;END&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&lt;SPAN&gt;PLACEMENT&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&lt;SPAN&gt;FOO_EEPROM_SEG&amp;nbsp;INTO MY_FOO_EEPROM_SEG;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&lt;SPAN&gt;END&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and of course the declaration and definition of FOO in the C source are guarded by&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&lt;SPAN&gt;#pragma DATA_SEG FOO_EEPROM_SEG&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-family: 'Courier New';"&gt;#pragma DATA_SEG DEFAULT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can't make any sense from this message (I fear I couldn't even if it had a less strange wording). Any hints?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2008 20:52:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Strange-undocumented-Linker-warning-L4100/m-p/188848#M6706</guid>
      <dc:creator>slarti</dc:creator>
      <dc:date>2008-09-26T20:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Strange undocumented Linker warning L4100</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Strange-undocumented-Linker-warning-L4100/m-p/188849#M6707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="http://forums.freescale.com/../view_profile?user.id=12285" rel="nofollow" target="top"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;Hello slarti,&lt;BR /&gt;&lt;BR /&gt;The problem is that your address range is not really valid. I would assume that your intention is to define a memory range using addresses as they can be seen in the global memory map (i.e. global addresses). In this case you have to add a memory space designator to your address:&lt;BR /&gt;&lt;FONT face="Courier New"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;SPAN&gt;MY_FOO_EEPROM_SEG&amp;nbsp;= NO_INIT&amp;nbsp;&amp;nbsp;0x13ff94'G TO 0x13ffee'G;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;BR /&gt;Otherwise, the address must be a valid logical address. In this case, the lower two bytes of the address do not fall in any of the S12X's paging windows, nor is the address in the local memory map, hence the error. Indeed, the text of the warning does not directly point to the problem. For this issue you can open a &lt;A href="https://www.freescale.com/webapp/servicerequest.create_SR.framework?regFlag=fromOpenSR" rel="nofollow" target="_blank"&gt;service request&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Navidad&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2008 21:25:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Strange-undocumented-Linker-warning-L4100/m-p/188849#M6707</guid>
      <dc:creator>Navidad</dc:creator>
      <dc:date>2008-09-26T21:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Strange undocumented Linker warning L4100</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Strange-undocumented-Linker-warning-L4100/m-p/188850#M6708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks for the quick answer.&lt;/DIV&gt;&lt;DIV&gt;However, I really question the mental sanity of the guy who decided to&amp;nbsp;define a quote character&amp;nbsp;as a part of the symbol;&amp;nbsp;&amp;nbsp;try to&amp;nbsp;generate&amp;nbsp;PRM files&amp;nbsp;on the fly from shell scripts/makefiles and you know what I mean.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;regards,&lt;/DIV&gt;&lt;DIV&gt;Mark&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2008 22:38:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Strange-undocumented-Linker-warning-L4100/m-p/188850#M6708</guid>
      <dc:creator>slarti</dc:creator>
      <dc:date>2008-10-02T22:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Strange undocumented Linker warning L4100</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Strange-undocumented-Linker-warning-L4100/m-p/188851#M6709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;You could also use the paged address instead of the global ones, it means the same thing.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="Courier New"&gt;&lt;SPAN&gt;MY_FOO_EEPROM_SEG&amp;nbsp;= NO_INIT&amp;nbsp;&amp;nbsp;0xf94 0xfee;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2008 23:16:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Strange-undocumented-Linker-warning-L4100/m-p/188851#M6709</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2008-10-02T23:16:32Z</dc:date>
    </item>
  </channel>
</rss>

