<?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のトピックRe: How to generate ivt_flashloader.bin for IMXRT?</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-generate-ivt-flashloader-bin-for-IMXRT/m-p/890072#M2656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="310308" data-username="jackking" href="https://community.nxp.com/people/jackking"&gt;Jack King&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;ivt_flashloader.bin file is the Flashloader released to support image programming in the development phase, it's a boot image which includes the IVT.&lt;BR /&gt;Please refer to the 4.2. Generate unsigned normal i.MX MCU bootable image in the attachment to generate the ivt_flashloader.bin.&lt;/P&gt;&lt;P style="text-align: left;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Apr 2019 02:43:29 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2019-04-10T02:43:29Z</dc:date>
    <item>
      <title>How to generate ivt_flashloader.bin for IMXRT?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-generate-ivt-flashloader-bin-for-IMXRT/m-p/890071#M2655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to generate a custom flashloader using the flashloader example from the SDK.&amp;nbsp; This generates the full flashloader.bin.&amp;nbsp;&amp;nbsp; I see in MfGTool and the docs that it uses the special ivt_flashloader.bin which only has the image vector table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I generate this ivt_flashloader.bin&amp;nbsp; using the SDK example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2019 14:26:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-generate-ivt-flashloader-bin-for-IMXRT/m-p/890071#M2655</guid>
      <dc:creator>jackking</dc:creator>
      <dc:date>2019-04-09T14:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate ivt_flashloader.bin for IMXRT?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-generate-ivt-flashloader-bin-for-IMXRT/m-p/890072#M2656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="310308" data-username="jackking" href="https://community.nxp.com/people/jackking"&gt;Jack King&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;ivt_flashloader.bin file is the Flashloader released to support image programming in the development phase, it's a boot image which includes the IVT.&lt;BR /&gt;Please refer to the 4.2. Generate unsigned normal i.MX MCU bootable image in the attachment to generate the ivt_flashloader.bin.&lt;/P&gt;&lt;P style="text-align: left;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 02:43:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-generate-ivt-flashloader-bin-for-IMXRT/m-p/890072#M2656</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-04-10T02:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate ivt_flashloader.bin for IMXRT?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-generate-ivt-flashloader-bin-for-IMXRT/m-p/890073#M2657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; I am trying to do a complete build of flashloader from source.&amp;nbsp; Maybe if I outline the steps here it will help clarify the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Download MCUXpresso SDK (2.5.0 at this time)&lt;/LI&gt;&lt;LI&gt;In MCUXpresso IDE (10.3.1) import the SDK example for flashloader&lt;/LI&gt;&lt;LI&gt;For testing, I am just trying to build the flashloader example as-is.&lt;/LI&gt;&lt;LI&gt;In order to generate the .srec output, modify the post-build steps under C/C++ Build -&amp;gt; Settings.&amp;nbsp; Refer to: &lt;A href="https://mcuoneclipse.com/2017/03/29/mcuxpresso-ide-s-record-intel-hex-and-binary-files/" rel="nofollow noopener noreferrer" target="_blank"&gt;https://mcuoneclipse.com/2017/03/29/mcuxpresso-ide-s-record-intel-hex-and-binary-files/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Build the project, it is not configured for XIP (no XIP directives)&lt;/LI&gt;&lt;LI&gt;Collect the flashloader.srec file and dcd.bin file for SDRAM found here: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-340655" rel="nofollow noopener noreferrer" target="_blank"&gt;https://community.nxp.com/docs/DOC-340655&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Download the Flashloader rev 1.1 distribution from here: &lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/i.mx-applications-processors/i.mx-rt-series/i.mx-rt1050-crossover-processor-with-arm-cortex-m7-core:i.MX-RT1050?fpsp=1&amp;amp;tab=Design_Tools_Tab&amp;amp;lang=en&amp;amp;lang_cd=en&amp;amp;" rel="nofollow noopener noreferrer" target="_blank"&gt;Flashloader&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Place the generated flashloader.srec and dcd.bin files into the flashloader directory for the elftosb tool (.\Flashloader_RT1050_1.1\Tools\elftosb\win)&lt;/LI&gt;&lt;LI&gt;Create a bd file (or use the provided bd file imx-dtcm-unsigned.bd in the bd_file directory)&lt;UL&gt;&lt;LI&gt;I did need to set the sources section to elfFile = extern(0)&amp;nbsp; not srecFile = extern(0)&lt;/LI&gt;&lt;LI&gt;The contents of my bd file are:&lt;/LI&gt;&lt;LI&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;options {
    flags = 0x00;
    startAddress = 0x20000000;
    ivtOffset = 0x400;
    initialLoadSize = 0x20000;
    DCDFilePath = "dcd.bin";
}

sources {
    elfFile = extern(0);
}

section (0)
{
}‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Execute the command to generate the .bin file with dcd.bin and bd_file for dtcm, unsigned:&lt;UL&gt;&lt;LI&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;C:\elftosb\win&amp;gt; elftosb.exe -f imx -V -c my-dtcm-unsigned.bd -o ivt_flashloader.bin flashloader.srec‍‍‍‍‍‍‍‍‍
       Section: 0x0
iMX bootable image generated successfully‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;FYI:&lt;/STRONG&gt; Executing the elftosb command, if you just get output that states "Section: 0x0"&amp;nbsp; and there is no message stating the image is generated, then something didn't work right and the generated ivt_flashloader.bin file is zero bytes in length.&lt;/LI&gt;&lt;LI&gt;Now you should see a generated ivt_flashloader.bin and ivt_flashloader_nopadding.bin in the same directory&lt;/LI&gt;&lt;LI&gt;Success! Now you should be able to use the boot image in MFGtool or Jay Heng's NXP-MCUBootUtility&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also used this post for reference: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-341317" rel="nofollow noopener noreferrer" target="_blank"&gt;https://community.nxp.com/docs/DOC-341317&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 04:22:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-generate-ivt-flashloader-bin-for-IMXRT/m-p/890073#M2657</guid>
      <dc:creator>jackking</dc:creator>
      <dc:date>2019-04-10T04:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate ivt_flashloader.bin for IMXRT?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-generate-ivt-flashloader-bin-for-IMXRT/m-p/890074#M2658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="310308" data-username="jackking" href="https://community.nxp.com/people/jackking"&gt;Jack King&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;The flashloader should be executed in DTCM, however, the &lt;STRONG&gt;imx-flexspinor-normal-unsigned.bd&lt;/STRONG&gt; is used to generate a boot image which boots from the QSPI. Obviously, it's not right to do that.&lt;BR /&gt;Please use the &lt;STRONG&gt;imx-dtcm-unsigned.bd&lt;/STRONG&gt; file, so gives a try.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 07:23:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-generate-ivt-flashloader-bin-for-IMXRT/m-p/890074#M2658</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-04-10T07:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate ivt_flashloader.bin for IMXRT?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-generate-ivt-flashloader-bin-for-IMXRT/m-p/890075#M2659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that helps.&amp;nbsp; After changing to DTCM unsigned, I am able to generate the boot image.&amp;nbsp; I will amend my previous post with the correct command.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 12:05:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-generate-ivt-flashloader-bin-for-IMXRT/m-p/890075#M2659</guid>
      <dc:creator>jackking</dc:creator>
      <dc:date>2019-04-10T12:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate ivt_flashloader.bin for IMXRT?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-generate-ivt-flashloader-bin-for-IMXRT/m-p/890076#M2660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack King,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get the&amp;nbsp;MfgTool2.exe working with i.MXRT1015 (it works for me on 1020). I downloaded the SDK 2.5 for&lt;SPAN&gt;&amp;nbsp;i.MXRT1015 and followed all your steps in order to build the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;ivt_flashloader.bin.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;The prob is ivt_flashloader.bin ends up being 2125 KB in size (the earlier one working with the 1020 had only 59KB) and in the&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;MfgTool2.exe logfile I get:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[10]: ExecuteCommand--Boot[WndIndex:0], File is C:\Users\Development\Downloads\Flashloader_RT1020_1.0_GA\Flashloader_RT1020_1.0_GA\Tools\mfgtools-rel\Profiles\MXRT102X\OS Firmware\ivt_flashloader.bin&lt;BR /&gt;ModuleID[2] LevelID[1]: WriteReg(): Invalid write ack: 0x23238904&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[1]: WriteReg(): Invalid write ack: 0x23238904&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[1]: RunPlugIn(): TransData(0x20000000, 0x213800,0x0) failed.&lt;BR /&gt;ModuleID[2] LevelID[1]: PortMgrDlg(0)--MxHidDevice--Command Boot excute failed&lt;BR /&gt;ModuleID[2] LevelID[10]: CmdOperation[0], current command executed failed, so SetEvent(hDevCanDeleteEvent)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tool says:&amp;nbsp;"Boot" body="BootStrap" error, file="C:\Users\Development\Downloads\Flashloader_RT1020_1.0_GA\Flashloader_RT1020_1.0_GA\Tools\mfgtools-rel\Profiles\MXRT102X\OS Firmware\ivt_flashloader.bin"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what's going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks alot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Markus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2019 16:44:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-generate-ivt-flashloader-bin-for-IMXRT/m-p/890076#M2660</guid>
      <dc:creator>markus2</dc:creator>
      <dc:date>2019-06-13T16:44:39Z</dc:date>
    </item>
  </channel>
</rss>

