<?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: linker ram config strangeness in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/linker-ram-config-strangeness/m-p/264415#M7901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello BillND,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;according to The &lt;SPAN class="emphasis"&gt;&lt;EM&gt;Procedure Call Standard for the ARM Architecture&lt;/EM&gt;&lt;/SPAN&gt; (AAPCS), stack should be 8 byte aligned (this can be set in Cortex M4 to either 4byte aligned or 8byte aligned - &lt;A href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553a/Bhcjabhi.html" title="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553a/Bhcjabhi.html"&gt;ARM Information Center&lt;/A&gt;). MQX linkers define it as 4byte aligned. Therefore the RAM end address has 0 (last 4 bytes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A link on KEIL website, you can find more information also in the document for AAPCS, which is available online&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.keil.com/support/man/docs/armcc/armcc_Cacbjbad.htm" title="http://www.keil.com/support/man/docs/armcc/armcc_Cacbjbad.htm"&gt;Compiler User Guide: Compiler eight-byte alignment features&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;0xc0170&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Oct 2013 05:45:32 GMT</pubDate>
    <dc:creator>c0170</dc:creator>
    <dc:date>2013-10-07T05:45:32Z</dc:date>
    <item>
      <title>linker ram config strangeness</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/linker-ram-config-strangeness/m-p/264414#M7900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do many (maybe all) of the supplied linker files set the end of ram 0xf lower than the last physical ram location. Example time...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This linker definition...&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_RAM_start__&amp;nbsp;&amp;nbsp; = 0x1fff0000;&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_RAM_end__&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x2000FFF0;&lt;/P&gt;&lt;P&gt;...is from the twrk53n512 bsp. Clearly stating that the last address of ram should be 0x2000FFF0. However in the device, the last actual ram address is 0x2000FFF&lt;STRONG&gt;F.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Does anyone know why its done like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;BillND&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 13:12:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/linker-ram-config-strangeness/m-p/264414#M7900</guid>
      <dc:creator>billnd</dc:creator>
      <dc:date>2013-10-04T13:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: linker ram config strangeness</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/linker-ram-config-strangeness/m-p/264415#M7901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello BillND,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;according to The &lt;SPAN class="emphasis"&gt;&lt;EM&gt;Procedure Call Standard for the ARM Architecture&lt;/EM&gt;&lt;/SPAN&gt; (AAPCS), stack should be 8 byte aligned (this can be set in Cortex M4 to either 4byte aligned or 8byte aligned - &lt;A href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553a/Bhcjabhi.html" title="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553a/Bhcjabhi.html"&gt;ARM Information Center&lt;/A&gt;). MQX linkers define it as 4byte aligned. Therefore the RAM end address has 0 (last 4 bytes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A link on KEIL website, you can find more information also in the document for AAPCS, which is available online&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.keil.com/support/man/docs/armcc/armcc_Cacbjbad.htm" title="http://www.keil.com/support/man/docs/armcc/armcc_Cacbjbad.htm"&gt;Compiler User Guide: Compiler eight-byte alignment features&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;0xc0170&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 05:45:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/linker-ram-config-strangeness/m-p/264415#M7901</guid>
      <dc:creator>c0170</dc:creator>
      <dc:date>2013-10-07T05:45:32Z</dc:date>
    </item>
  </channel>
</rss>

