<?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: Relative Addresses in Compiled Image in MCU Bootloader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/Relative-Addresses-in-Compiled-Image/m-p/1253887#M1301</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;chadgraham,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;I highly recommend you refer to the RT1060 SDK ota bootloader, you can consider it is the secondary bootloader.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;secondar bootloader:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;SDK_2.9.2_EVK-MIMXRT1060\boards\evkmimxrt1060\bootloader_examples\ota_bootloader&lt;/P&gt;
&lt;P&gt;and app:&lt;/P&gt;
&lt;P&gt;SDK_2.9.2_EVK-MIMXRT1060\boards\evkmimxrt1060\lwip_examples\lwip_httpssrv_ota&lt;/P&gt;
&lt;P&gt;Normally, both the secondary bootloader and the app address is determined when it is complied, if you check the&amp;nbsp;lwip_httpssrv_ota, you will find the IDE already arrange the app address for it. the secondary bootloader is put in the front external flash address.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Mar 2021 02:05:27 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2021-03-30T02:05:27Z</dc:date>
    <item>
      <title>Relative Addresses in Compiled Image</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Relative-Addresses-in-Compiled-Image/m-p/1252375#M1298</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am in the beginning stages of implementing a custom bootloader and was trying to determine if there was a way to compile an image such that it didn't require known the actual start location when compiled.&lt;/P&gt;&lt;P&gt;Example: We implement a traditional bootloader and place the application at 0x1000.&amp;nbsp; Then, during the development of the bootloader, we realize that the 0x0-0xFFF is too small and we need to take over from 0x0-0x1FFF.&amp;nbsp; Ideally, we could update the system's memory without having to recompile the application code by changing the installed location to 0x2000, update the IVT and we are ready to continue.&lt;/P&gt;&lt;P&gt;Does anyone have any ideas on if this is possible and, if so, where I could find documentation on this?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 19:29:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Relative-Addresses-in-Compiled-Image/m-p/1252375#M1298</guid>
      <dc:creator>chadgraham</dc:creator>
      <dc:date>2021-03-25T19:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Addresses in Compiled Image</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Relative-Addresses-in-Compiled-Image/m-p/1252582#M1299</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;chadgraham,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; Which NXP product you are using now? Seems MIMXRT product, please let me know the partnumber.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;About the secondary bootloader, you can refer to this application note:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12604.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN12604.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; And it's code:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.nxp.com/docs/en/application-note-software/AN12604SW.zip" target="_blank"&gt;https://www.nxp.com/docs/en/application-note-software/AN12604SW.zip&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You also can refer to the SDK code,eg:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SDK_2.9.2_EVK-MIMXRT1060\boards\evkmimxrt1060\bootloader_examples\ota_bootloader&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;0x1000 is the IVT, normally, you need to put your secondary bootloader code from 0X2000.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you still have questions about it, please kindly let me know.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kerry&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 05:00:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Relative-Addresses-in-Compiled-Image/m-p/1252582#M1299</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-03-26T05:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Addresses in Compiled Image</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Relative-Addresses-in-Compiled-Image/m-p/1252878#M1300</link>
      <description>&lt;P&gt;Hello Kerry,&lt;/P&gt;&lt;P&gt;Thank you for the response.&amp;nbsp; We are using the RT1062 and I plan to modify a bootloader to meet our specific needs.&lt;/P&gt;&lt;P&gt;My question is aimed at trying to understand if the application image needs to know the starting address at the time it is compiled since the recommended method of controlling an image location is done with the MCUXpresso Memory Details pane in MCU Settings.&amp;nbsp; Ideally, I'd like to be able to move the image around in memory without having to recompile it.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 12:42:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Relative-Addresses-in-Compiled-Image/m-p/1252878#M1300</guid>
      <dc:creator>chadgraham</dc:creator>
      <dc:date>2021-03-26T12:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Addresses in Compiled Image</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Relative-Addresses-in-Compiled-Image/m-p/1253887#M1301</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;chadgraham,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;I highly recommend you refer to the RT1060 SDK ota bootloader, you can consider it is the secondary bootloader.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;secondar bootloader:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;SDK_2.9.2_EVK-MIMXRT1060\boards\evkmimxrt1060\bootloader_examples\ota_bootloader&lt;/P&gt;
&lt;P&gt;and app:&lt;/P&gt;
&lt;P&gt;SDK_2.9.2_EVK-MIMXRT1060\boards\evkmimxrt1060\lwip_examples\lwip_httpssrv_ota&lt;/P&gt;
&lt;P&gt;Normally, both the secondary bootloader and the app address is determined when it is complied, if you check the&amp;nbsp;lwip_httpssrv_ota, you will find the IDE already arrange the app address for it. the secondary bootloader is put in the front external flash address.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 02:05:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Relative-Addresses-in-Compiled-Image/m-p/1253887#M1301</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-03-30T02:05:27Z</dc:date>
    </item>
  </channel>
</rss>

