<?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 ProcessorsのトピックRe: Creating a custom header for bootloader and application, then jumping to the application.</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Creating-a-custom-header-for-bootloader-and-application-then/m-p/2024027#M232780</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245076"&gt;@darshanmk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your update information.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The MCUXPresso IDE will automatically generate the debug_memory.ld file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can change Flash, Ram size in this window.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I think this method is more reliable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mayliu1_0-1736334541807.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318599i318BD0B0110BF6F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mayliu1_0-1736334541807.png" alt="mayliu1_0-1736334541807.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wish it helps you.&lt;BR /&gt;If you still have question about it, please kindly let me know.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;mayliu&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2025 11:15:28 GMT</pubDate>
    <dc:creator>mayliu1</dc:creator>
    <dc:date>2025-01-08T11:15:28Z</dc:date>
    <item>
      <title>Creating a custom header for bootloader and application, then jumping to the application.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Creating-a-custom-header-for-bootloader-and-application-then/m-p/2020893#M232504</link>
      <description>&lt;P&gt;Hi NXP team,&lt;/P&gt;&lt;P&gt;We are using &lt;STRONG&gt;i.MXRT1170 evkb&lt;/STRONG&gt; board for bootloader and application loading, so that once our custom bootloader is executed, it should jump to the application (For ex. LED blinky). We have to add similar &lt;STRONG&gt;64B of custom header for both bootloader and application&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If no header is included, we are successfully able to jump to application. But once we add the custom header for our application, bootloader is failing to jump to the application main. Please help us with this issue.&lt;/P&gt;&lt;P&gt;The default boot header (which includes boot data, IVT, DCD,...) in the Bootloader is unchanged. But we understood that, adding the same default boot header for the application is not required. Correct us if our understanding is wrong.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2025 13:20:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Creating-a-custom-header-for-bootloader-and-application-then/m-p/2020893#M232504</guid>
      <dc:creator>darshanmk</dc:creator>
      <dc:date>2025-01-01T13:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom header for bootloader and application, then jumping to the application.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Creating-a-custom-header-for-bootloader-and-application-then/m-p/2021734#M232578</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245076"&gt;@darshanmk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much for your interest in our products and for using our community.&lt;/P&gt;
&lt;P&gt;In order to support you better, could you provide more information?&lt;/P&gt;
&lt;P&gt;1: Your application image start address.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mayliu1_1-1735892105280.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318004i6093164514263181/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mayliu1_1-1735892105280.png" alt="mayliu1_1-1735892105280.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2: Your project&amp;nbsp; Debug_memory.ld and&amp;nbsp;cm7_Debug.ld file.&lt;/P&gt;
&lt;P&gt;3：Please tell me your APP jump address.&lt;/P&gt;
&lt;P&gt;I suggest you can refer to the next link.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/RT1060-OTA-bootloader-ISP-and-swap-rollback-usage/ta-p/1310980" target="_blank"&gt;RT1060 OTA bootloader ISP and swap rollback usage - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Wish it helps you.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;mayliu&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 08:24:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Creating-a-custom-header-for-bootloader-and-application-then/m-p/2021734#M232578</guid>
      <dc:creator>mayliu1</dc:creator>
      <dc:date>2025-01-03T08:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom header for bootloader and application, then jumping to the application.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Creating-a-custom-header-for-bootloader-and-application-then/m-p/2021870#M232590</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239163"&gt;@mayliu1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;This is the SS of the Bootloader memory.ld file's memory region.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="darshanmk_0-1735899952139.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318054i0000AD4325F80467/image-size/medium?v=v2&amp;amp;px=400" role="button" title="darshanmk_0-1735899952139.png" alt="darshanmk_0-1735899952139.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And below is the SS of our application memory region in memory.ld file;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="darshanmk_1-1735900094111.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318057iD8DB00CB2323D706/image-size/medium?v=v2&amp;amp;px=400" role="button" title="darshanmk_1-1735900094111.png" alt="darshanmk_1-1735900094111.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;this image shows that our application starts from 0x30200000 address in which we are trying to place our application's custom header of 64B. After this from address location&amp;nbsp;0x30200040 our application program will start.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="darshanmk_2-1735900299017.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318058iB001BE3162CA11CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="darshanmk_2-1735900299017.png" alt="darshanmk_2-1735900299017.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Above image shows the header section we have created in the debug.ld file.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;APP jump address:&amp;nbsp;0x30200040&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 10:33:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Creating-a-custom-header-for-bootloader-and-application-then/m-p/2021870#M232590</guid>
      <dc:creator>darshanmk</dc:creator>
      <dc:date>2025-01-03T10:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom header for bootloader and application, then jumping to the application.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Creating-a-custom-header-for-bootloader-and-application-then/m-p/2022548#M232666</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245076"&gt;@darshanmk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Question:&lt;SPAN&gt;The default boot header (which includes boot data, IVT, DCD,...) in the Bootloader is unchanged. But we understood that, adding the same default boot header for the application is not required. Correct us if our understanding is wrong.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Answer:&amp;nbsp; Yes, Application not not need the header.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I checked your application address,&amp;nbsp;I think the addresses that I have boxed in the picture should all be the same.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mayliu1_0-1736161034761.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318221iB8B8697C8E656928/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mayliu1_0-1736161034761.png" alt="mayliu1_0-1736161034761.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#define&amp;nbsp;&lt;/SPAN&gt;APP_IMAGE_START_ADDRESS&amp;nbsp; &lt;SPAN&gt;0x30200000&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;For example,&amp;nbsp; you set&amp;nbsp; application address as APP_IMAGE_START_ADDRESS&amp;nbsp; &lt;SPAN&gt;,&amp;nbsp; then the jump address should be following code shows (It's only for demo verification. For the actual project, it needs to be in accordance with your design requirements. ).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;farewellBootloader = (void (*)(void))(APP_IMAGE_START_ADDRESS&amp;nbsp; + 4);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please try it.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I'm looking forward to your good news.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;mayliu&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 11:20:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Creating-a-custom-header-for-bootloader-and-application-then/m-p/2022548#M232666</guid>
      <dc:creator>mayliu1</dc:creator>
      <dc:date>2025-01-06T11:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom header for bootloader and application, then jumping to the application.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Creating-a-custom-header-for-bootloader-and-application-then/m-p/2022598#M232670</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239163"&gt;@mayliu1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the response. I tried the changes mentioned by you and now I'm able to jump to the application from bootloader to our application starting address 0x3020_0000. I want to know if both&amp;nbsp;&lt;SPAN&gt;__base_BOARD_FLASH and&amp;nbsp;__base_Flash is of same address, how they are different from each other? Please clarify regarding these addresses.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also based on requirement changes, now I tried to start my application from location 0x3020_0040, but the &lt;STRONG&gt;VTOR register is not updating with this location&lt;/STRONG&gt;. I did the necessary changes in the memory linker file. I attached the SS of the changes I did for the new requirement.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="darshanmk_0-1736171310308.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318236iBE65844E4C4F30AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="darshanmk_0-1736171310308.png" alt="darshanmk_0-1736171310308.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please help me with the issue.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 13:52:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Creating-a-custom-header-for-bootloader-and-application-then/m-p/2022598#M232670</guid>
      <dc:creator>darshanmk</dc:creator>
      <dc:date>2025-01-06T13:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom header for bootloader and application, then jumping to the application.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Creating-a-custom-header-for-bootloader-and-application-then/m-p/2024027#M232780</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245076"&gt;@darshanmk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your update information.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The MCUXPresso IDE will automatically generate the debug_memory.ld file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can change Flash, Ram size in this window.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I think this method is more reliable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mayliu1_0-1736334541807.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318599i318BD0B0110BF6F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mayliu1_0-1736334541807.png" alt="mayliu1_0-1736334541807.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wish it helps you.&lt;BR /&gt;If you still have question about it, please kindly let me know.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;mayliu&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 11:15:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Creating-a-custom-header-for-bootloader-and-application-then/m-p/2024027#M232780</guid>
      <dc:creator>mayliu1</dc:creator>
      <dc:date>2025-01-08T11:15:28Z</dc:date>
    </item>
  </channel>
</rss>

