<?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>i.MX RT Crossover MCUsのトピックMIMXRT1040 - L2Boot launch App</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1040-L2Boot-launch-App/m-p/1765755#M27797</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm facing with my custom bootloader on XRT1040 device.&lt;BR /&gt;This L2 bootloader, at one point, will have to choose the right application image to execute and launch it. I supposed to have two images saved in the flash memory.&lt;/P&gt;&lt;P&gt;The situation could be something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="riccardo_carlot_0-1701267469718.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/252127i5B3EE97C1AC0854B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="riccardo_carlot_0-1701267469718.png" alt="riccardo_carlot_0-1701267469718.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;riccardo_carlot_0-1701267469718.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For istance, I located APP_A at 0x00001000 and APP_B at 0x00002000.&lt;/P&gt;&lt;P&gt;My dubt is about the bootloader, when it jumps to one of the two images.&lt;BR /&gt;Since both aplication are compiled and builted as stanalone applications, starting from address 0x00000000, how can I add a costant offset to the application that executes after the boot?.&lt;BR /&gt;For example, both APP_A and APP_B are builted starting from 0x00000000, how can I say to the device that it have to add 0x00001000 when it executes the APP_A or 0x00002000 when it executes the APP_B?&lt;/P&gt;&lt;P&gt;I know I have to move the VTOR, but this register is about the reset vector, it doesn't touch the fetching process.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank in advance.&lt;/P&gt;&lt;P&gt;Riccardo&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2023 14:36:38 GMT</pubDate>
    <dc:creator>riccardo_carlot</dc:creator>
    <dc:date>2023-11-29T14:36:38Z</dc:date>
    <item>
      <title>MIMXRT1040 - L2Boot launch App</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1040-L2Boot-launch-App/m-p/1765755#M27797</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm facing with my custom bootloader on XRT1040 device.&lt;BR /&gt;This L2 bootloader, at one point, will have to choose the right application image to execute and launch it. I supposed to have two images saved in the flash memory.&lt;/P&gt;&lt;P&gt;The situation could be something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="riccardo_carlot_0-1701267469718.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/252127i5B3EE97C1AC0854B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="riccardo_carlot_0-1701267469718.png" alt="riccardo_carlot_0-1701267469718.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;riccardo_carlot_0-1701267469718.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For istance, I located APP_A at 0x00001000 and APP_B at 0x00002000.&lt;/P&gt;&lt;P&gt;My dubt is about the bootloader, when it jumps to one of the two images.&lt;BR /&gt;Since both aplication are compiled and builted as stanalone applications, starting from address 0x00000000, how can I add a costant offset to the application that executes after the boot?.&lt;BR /&gt;For example, both APP_A and APP_B are builted starting from 0x00000000, how can I say to the device that it have to add 0x00001000 when it executes the APP_A or 0x00002000 when it executes the APP_B?&lt;/P&gt;&lt;P&gt;I know I have to move the VTOR, but this register is about the reset vector, it doesn't touch the fetching process.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank in advance.&lt;/P&gt;&lt;P&gt;Riccardo&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 14:36:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1040-L2Boot-launch-App/m-p/1765755#M27797</guid>
      <dc:creator>riccardo_carlot</dc:creator>
      <dc:date>2023-11-29T14:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1040 - L2Boot launch App</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1040-L2Boot-launch-App/m-p/1766852#M27828</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/176747"&gt;@riccardo_carlot&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;RT1040 has three registers IOMUXC_GPR_GPR30, IOMUXC_GPR_GPR31 and&amp;nbsp;IOMUXC_GPR_GPR32 which are used to remap part of flexspi address.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 02:39:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1040-L2Boot-launch-App/m-p/1766852#M27828</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2023-12-01T02:39:26Z</dc:date>
    </item>
  </channel>
</rss>

