<?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: RT1024 Double bank with memory offset in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/RT1024-Double-bank-with-memory-offset/m-p/2138522#M239463</link>
    <description>&lt;P&gt;One thing that seems strange to me is the contents of the .map in the .got section.&lt;BR /&gt;I don't know if it's normal for there to be so little.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gaetan_0-1753196566491.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/348865iAF5E428CB1311ECA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gaetan_0-1753196566491.png" alt="Gaetan_0-1753196566491.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jul 2025 15:02:38 GMT</pubDate>
    <dc:creator>Gaetan</dc:creator>
    <dc:date>2025-07-22T15:02:38Z</dc:date>
    <item>
      <title>RT1024 Double bank with memory offset</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RT1024-Double-bank-with-memory-offset/m-p/2137239#M239419</link>
      <description>&lt;P&gt;In our system, we have RT1024 and RT1064 processors.&lt;BR /&gt;For each microprocessor, we implemented a dual-bank bootloader mechanism to handle updates.&lt;BR /&gt;Since our code is quite large, we cannot execute it from RAM and instead execute it from flash.&lt;BR /&gt;Our images are compiled with static addresses corresponding to bank one.&lt;BR /&gt;When image two boots, we want to perform an address translation.&lt;BR /&gt;There is a simple solution for the RT1064 that involves using the IOMUXC_GPR_GPR30, 31, and 32 registers.&lt;BR /&gt;The operating principle is explained in the following documentation:&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12240.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN12240.pdf&lt;/A&gt;&lt;BR /&gt;However, we haven't found an equivalent mechanism for the RT1024.&lt;/P&gt;&lt;P&gt;Does one exist?&lt;/P&gt;&lt;P&gt;If not, do you have a solution to suggest?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 09:07:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RT1024-Double-bank-with-memory-offset/m-p/2137239#M239419</guid>
      <dc:creator>Gaetan</dc:creator>
      <dc:date>2025-07-21T09:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: RT1024 Double bank with memory offset</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RT1024-Double-bank-with-memory-offset/m-p/2138519#M239462</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I found a post similar to my needs: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;A title="imx-rt-1024-position-independent-code" href="https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/imx-rt-1024-position-independent-code/m-p/1448249#M19299" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/imx-rt-1024-position-independent-code/m-p/1448249#M19299&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;However, I can't get it to work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; Here are the steps I took:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I started a project from scratch with only a flashing debug LED.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; Modified the linker: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gaetan_1-1753196122906.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/348862i9F53796C182FDC7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gaetan_1-1753196122906.png" alt="Gaetan_1-1753196122906.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Setting the compilation options: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gaetan_2-1753196176196.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/348863i59863F95B7BC037B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gaetan_2-1753196176196.png" alt="Gaetan_2-1753196176196.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Adding the correct reference in the r9 register:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gaetan_3-1753196208527.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/348864iD18569DC20A45465/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gaetan_3-1753196208527.png" alt="Gaetan_3-1753196208527.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I load the .bin file at address 0x60080000 I created a bootloader project with only a jump to address 0x6008238D, which is the address of the reset handler 0x6000238D + the offset. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;During the jump, the code fails.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I must be missing an operation, can you help me?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 14:59:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RT1024-Double-bank-with-memory-offset/m-p/2138519#M239462</guid>
      <dc:creator>Gaetan</dc:creator>
      <dc:date>2025-07-22T14:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: RT1024 Double bank with memory offset</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RT1024-Double-bank-with-memory-offset/m-p/2138522#M239463</link>
      <description>&lt;P&gt;One thing that seems strange to me is the contents of the .map in the .got section.&lt;BR /&gt;I don't know if it's normal for there to be so little.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gaetan_0-1753196566491.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/348865iAF5E428CB1311ECA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gaetan_0-1753196566491.png" alt="Gaetan_0-1753196566491.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 15:02:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RT1024-Double-bank-with-memory-offset/m-p/2138522#M239463</guid>
      <dc:creator>Gaetan</dc:creator>
      <dc:date>2025-07-22T15:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: RT1024 Double bank with memory offset</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RT1024-Double-bank-with-memory-offset/m-p/2140054#M239546</link>
      <description>&lt;P&gt;I think I'm close to the goal.&lt;BR /&gt;I've hard-coded all the values into the startup file.&lt;BR /&gt;When I disassemble the code, something seems strange: the function addresses are static despite the -pFIC option.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gaetan_1-1753350493298.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/349300i51950B8F8DE5AC69/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gaetan_1-1753350493298.png" alt="Gaetan_1-1753350493298.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 09:48:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RT1024-Double-bank-with-memory-offset/m-p/2140054#M239546</guid>
      <dc:creator>Gaetan</dc:creator>
      <dc:date>2025-07-24T09:48:32Z</dc:date>
    </item>
  </channel>
</rss>

