<?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 Link Application to RAM: different load and run address for .data in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Link-Application-to-RAM-different-load-and-run-address-for-data/m-p/1723847#M9176</link>
    <description>&lt;P&gt;I want to link my application to on-chip SRAM.&amp;nbsp; I will debug in RAM and my second bootloader will copy from flash to RAM.&lt;/P&gt;&lt;P&gt;If I locate .data in a different section from the default where .text is placed, the generated linker script specifies the load address in the default RAM region and the run address in the region I have chosen.&lt;/P&gt;&lt;P&gt;I only want the .data at the run address as the sbl will copy it to the right place and my default region (SRAM_ITC on the RT1050) doesn't have enough space for .text and .data.&lt;/P&gt;&lt;P&gt;Can I tick a box or press a button to prevent the load address being different from the run address, or do I need to maintain my own linker script and stop using the managed linker script?&lt;/P&gt;</description>
    <pubDate>Fri, 15 Sep 2023 10:03:45 GMT</pubDate>
    <dc:creator>gavin5342</dc:creator>
    <dc:date>2023-09-15T10:03:45Z</dc:date>
    <item>
      <title>Link Application to RAM: different load and run address for .data</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Link-Application-to-RAM-different-load-and-run-address-for-data/m-p/1723847#M9176</link>
      <description>&lt;P&gt;I want to link my application to on-chip SRAM.&amp;nbsp; I will debug in RAM and my second bootloader will copy from flash to RAM.&lt;/P&gt;&lt;P&gt;If I locate .data in a different section from the default where .text is placed, the generated linker script specifies the load address in the default RAM region and the run address in the region I have chosen.&lt;/P&gt;&lt;P&gt;I only want the .data at the run address as the sbl will copy it to the right place and my default region (SRAM_ITC on the RT1050) doesn't have enough space for .text and .data.&lt;/P&gt;&lt;P&gt;Can I tick a box or press a button to prevent the load address being different from the run address, or do I need to maintain my own linker script and stop using the managed linker script?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 10:03:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Link-Application-to-RAM-different-load-and-run-address-for-data/m-p/1723847#M9176</guid>
      <dc:creator>gavin5342</dc:creator>
      <dc:date>2023-09-15T10:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Link Application to RAM: different load and run address for .data</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Link-Application-to-RAM-different-load-and-run-address-for-data/m-p/1726303#M9190</link>
      <description>&lt;P&gt;I think you should probably play with the linker scripts templates used by the IDE. I suggest you go through ch. 19 from the User Guide and see if the customization level offered by the linker script templates management (ch. 19.14) helps you. As far as I can tell, there's no checkbox to achieve what you need.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 11:57:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Link-Application-to-RAM-different-load-and-run-address-for-data/m-p/1726303#M9190</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2023-09-20T11:57:40Z</dc:date>
    </item>
  </channel>
</rss>

