<?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: How to put a whole .o File into ITCM(no IDE) in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-put-a-whole-o-File-into-ITCM-no-IDE/m-p/986826#M5515</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The infos in the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;MCUXpresso IDE v11.0 User Guide did the trick!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I excluded the files from the Flash:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95544i554075CF09126AC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and inserted them:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95596i0FE00380590048B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and voila, it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Nov 2019 12:06:02 GMT</pubDate>
    <dc:creator>david_huwyler</dc:creator>
    <dc:date>2019-11-29T12:06:02Z</dc:date>
    <item>
      <title>How to put a whole .o File into ITCM(no IDE)</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-put-a-whole-o-File-into-ITCM-no-IDE/m-p/986824#M5513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to place two .o Files into ICTM (flash_QuadSpi.o and fsl_flexspi.o) . The rest of the application runs from QSPI Flash.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I succseeded in placeing the files into ITCM with the following linker script lines at the start of the "Sections" section:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95412iEF75175B100B40A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this results in runtime errors (because other stuff is now at the wrong place i guess?). But if i put the "itcm_ram_obj" section at another place in the linker script, the files are not placed into ram (checked with the map-file)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone an idea how to do this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont want to touche the code in those files (one is a library file), therefore I dont want to use the __attribute__((section(".ramfunc.$SRAM_ITC"))) to place single functions into ITCM...&lt;/P&gt;&lt;DIV style="position: absolute; left: 702px; top: 370.068px;"&gt;&lt;DIV class="gtx-trans-icon"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 15:27:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-put-a-whole-o-File-into-ITCM-no-IDE/m-p/986824#M5513</guid>
      <dc:creator>david_huwyler</dc:creator>
      <dc:date>2019-11-28T15:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to put a whole .o File into ITCM(no IDE)</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-put-a-whole-o-File-into-ITCM-no-IDE/m-p/986825#M5514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect that the issue you are running into is that although you are placing the object explicitly, you are not taking into account that with GNU linker scripts the first match wins, rather than any later&amp;nbsp;explicit match. This means that if you have a wildcard that matches earlier in the linker script - that is where your objects will end up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To prevent this, you need to both place the object as now, but also use the EXCLUDE_FILE keyword to stop the earlier wildcard match.&amp;nbsp;There is some information on this in the MCUXpresso IDE v11.0 User Guide, section 18.15.1, "Relocating code from FLASH to RAM" that should help you see how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 17:04:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-put-a-whole-o-File-into-ITCM-no-IDE/m-p/986825#M5514</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2019-11-28T17:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to put a whole .o File into ITCM(no IDE)</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-put-a-whole-o-File-into-ITCM-no-IDE/m-p/986826#M5515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The infos in the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;MCUXpresso IDE v11.0 User Guide did the trick!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I excluded the files from the Flash:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95544i554075CF09126AC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and inserted them:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95596i0FE00380590048B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and voila, it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2019 12:06:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-put-a-whole-o-File-into-ITCM-no-IDE/m-p/986826#M5515</guid>
      <dc:creator>david_huwyler</dc:creator>
      <dc:date>2019-11-29T12:06:02Z</dc:date>
    </item>
  </channel>
</rss>

