<?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: Custom Bootloader Not Working when custom header is added</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Custom-Bootloader-Not-Working-when-custom-header-is-added/m-p/2028537#M233033</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245138"&gt;@brundasathish&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Do you have the same results when uploading it via Secure Provisioning Tool instead of MCUXpresso?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2025 21:43:50 GMT</pubDate>
    <dc:creator>EdwinHz</dc:creator>
    <dc:date>2025-01-15T21:43:50Z</dc:date>
    <item>
      <title>Custom Bootloader Not Working when custom header is added</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-Bootloader-Not-Working-when-custom-header-is-added/m-p/2023766#M232760</link>
      <description>&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;I am working on &lt;STRONG&gt;IMXRT1170&lt;/STRONG&gt; &lt;STRONG&gt;EVKB&lt;/STRONG&gt;. I understand that when the board is turned ON or reset, the control goes to ROM bootloader, ROM bootloader in turn reads the Image Vector Table entry of the default BOOT HEADER (which contains DCD, IVT etc.) and then jumps to the reset handler of bootloader code and then the main bootloader code is executed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above-mentioned code flow is &lt;STRONG&gt;working fine&lt;/STRONG&gt;, if the &lt;STRONG&gt;BOOT HEADER&lt;/STRONG&gt; starts from&lt;STRONG&gt; 0x3000_0000&lt;/STRONG&gt; and my &lt;STRONG&gt;custom bootloader code&lt;/STRONG&gt; starts from &lt;STRONG&gt;0x3000_2000&lt;/STRONG&gt;. Mean to tell that Vector Table of bootloader starts from&amp;nbsp;0x3000_2000.&lt;/P&gt;&lt;P&gt;But the &lt;STRONG&gt;problem arises&lt;/STRONG&gt; if I add the &lt;STRONG&gt;custom header&lt;/STRONG&gt; (to store the version of my bootloader) at &lt;STRONG&gt;0x3000_2000&lt;/STRONG&gt; and move the &lt;STRONG&gt;custom&amp;nbsp;bootloader code&lt;/STRONG&gt; to the location &lt;STRONG&gt;0x3000_2080.&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case the control is not jumping from ROM bootloader to my custom bootloader. Please help. I have attached the screenshots of the linker file and map file for reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Linker file contents: Boot header, custom header, followed by bootloader .text section&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brundasathish_0-1736318155606.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318524i0AF1FFC492A52893/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brundasathish_0-1736318155606.png" alt="brundasathish_0-1736318155606.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Map file indicating the start address of the boot header, custom header and .text section&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brundasathish_2-1736318324847.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318526i49EAEF2E0D777E6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brundasathish_2-1736318324847.png" alt="brundasathish_2-1736318324847.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brundasathish_3-1736318336221.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318527i20E06BF258C79728/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brundasathish_3-1736318336221.png" alt="brundasathish_3-1736318336221.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Linker file indicating the start address of the Board FLASH&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brundasathish_1-1736318194818.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318525i9663BA7B689443F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brundasathish_1-1736318194818.png" alt="brundasathish_1-1736318194818.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brunda Sathish&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 06:43:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-Bootloader-Not-Working-when-custom-header-is-added/m-p/2023766#M232760</guid>
      <dc:creator>brundasathish</dc:creator>
      <dc:date>2025-01-08T06:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Bootloader Not Working when custom header is added</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-Bootloader-Not-Working-when-custom-header-is-added/m-p/2026077#M232898</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245138"&gt;@brundasathish&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;How are you building and uploading the image; Are you using MCUXpresso or Secure Provisioning Tool? What is the setup you have on Memory Details under MCU Settings?:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EdwinHz_0-1736546151446.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/319030iB1580C6F0BECCFE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EdwinHz_0-1736546151446.png" alt="EdwinHz_0-1736546151446.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 22:00:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-Bootloader-Not-Working-when-custom-header-is-added/m-p/2026077#M232898</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2025-01-10T22:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Bootloader Not Working when custom header is added</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-Bootloader-Not-Working-when-custom-header-is-added/m-p/2028032#M233008</link>
      <description>&lt;P&gt;Hai&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186731"&gt;@EdwinHz&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I am building and uploading the image via MCUxpresso IDE. Please find the attached image of Memory Details under MCU Settings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brundasathish_0-1736922575643.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/319618i2E20B9723BB07D69/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brundasathish_0-1736922575643.png" alt="brundasathish_0-1736922575643.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We are not making any changes in the MCU Settings section. We are creating the custom header section in .ld file as shown in the previous attachments.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brunda Sathish&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 06:31:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-Bootloader-Not-Working-when-custom-header-is-added/m-p/2028032#M233008</guid>
      <dc:creator>brundasathish</dc:creator>
      <dc:date>2025-01-15T06:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Bootloader Not Working when custom header is added</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-Bootloader-Not-Working-when-custom-header-is-added/m-p/2028537#M233033</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245138"&gt;@brundasathish&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Do you have the same results when uploading it via Secure Provisioning Tool instead of MCUXpresso?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 21:43:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-Bootloader-Not-Working-when-custom-header-is-added/m-p/2028537#M233033</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2025-01-15T21:43:50Z</dc:date>
    </item>
  </channel>
</rss>

