<?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: mimxrt1170-EVK, redlib, relocating .data section to SRAM_ITC_cm7 in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/mimxrt1170-EVK-redlib-relocating-data-section-to-SRAM-ITC-cm7/m-p/1824414#M29241</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/230339"&gt;@honey_the_codewitch&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Make sure to follow the steps shown on the following blog post in order to better manage your linker scripts and prevent errors when changing them:&amp;nbsp;&lt;A href="https://mcuoneclipse.com/2021/05/26/placing-code-in-sections-with-managed-gnu-linker-scripts/" target="_blank"&gt;Placing Code in Sections with managed GNU Linker Scripts | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2024 20:40:19 GMT</pubDate>
    <dc:creator>EdwinHz</dc:creator>
    <dc:date>2024-03-08T20:40:19Z</dc:date>
    <item>
      <title>mimxrt1170-EVK, redlib, relocating .data section to SRAM_ITC_cm7</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/mimxrt1170-EVK-redlib-relocating-data-section-to-SRAM-ITC-cm7/m-p/1824216#M29235</link>
      <description>&lt;P&gt;I need to relocate the entire .data section of my code to a different portion of RAM. I can use my own .ld linker scripts for that, but then it won't work with redlib, and therefore my flasher will not flash using the onboard LinkServer compatible flashing circuitry.&lt;/P&gt;&lt;P&gt;So I need to be able to do this and keep redlib in the mix. The problem is that I am already reallocating everything significant that I have access to using __attribute__((section(...)). to do it manually, but it's not enough.&lt;/P&gt;&lt;P&gt;What can I do here? The simplest thing - which compiles and links, but won't flash, seems to be to use a custom linker script, but again it won't flash with that option.&lt;/P&gt;&lt;P&gt;Curiously, the build output shows -T"mylinkerscript.ld" even though it's not using it.&lt;/P&gt;&lt;P&gt;Maybe my other option is to use a different flashing mechanism, probably involving reflashing the bootloader to use something else, but I have no idea where to begin and it seems less than ideal.&lt;/P&gt;&lt;P&gt;Any help would be appreciated&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Memory region Used Size Region Size %age Used&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SRAM_DTC_cm7: 389804 B 256 KB 148.70%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SRAM_ITC_cm7: 167324 B 256 KB 63.83%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SRAM_OC1: 57984 B 512 KB 11.06%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SRAM_OC2: 160 KB 512 KB 31.25%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SRAM_OC_ECC1: 0 GB 64 KB 0.00%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SRAM_OC_ECC2: 0 GB 64 KB 0.00%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SRAM_OC_cm7: 0 GB 128 KB 0.00%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;collect2.exe: error: ld returned 1 exit status&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Mar 2024 14:24:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/mimxrt1170-EVK-redlib-relocating-data-section-to-SRAM-ITC-cm7/m-p/1824216#M29235</guid>
      <dc:creator>honey_the_codewitch</dc:creator>
      <dc:date>2024-03-08T14:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: mimxrt1170-EVK, redlib, relocating .data section to SRAM_ITC_cm7</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/mimxrt1170-EVK-redlib-relocating-data-section-to-SRAM-ITC-cm7/m-p/1824414#M29241</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/230339"&gt;@honey_the_codewitch&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Make sure to follow the steps shown on the following blog post in order to better manage your linker scripts and prevent errors when changing them:&amp;nbsp;&lt;A href="https://mcuoneclipse.com/2021/05/26/placing-code-in-sections-with-managed-gnu-linker-scripts/" target="_blank"&gt;Placing Code in Sections with managed GNU Linker Scripts | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 20:40:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/mimxrt1170-EVK-redlib-relocating-data-section-to-SRAM-ITC-cm7/m-p/1824414#M29241</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2024-03-08T20:40:19Z</dc:date>
    </item>
  </channel>
</rss>

