<?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: NXP-MCUBootUtility 2.0.0 - Target non-functional, differences in header data? in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/NXP-MCUBootUtility-2-0-0-Target-non-functional-differences-in/m-p/924582#M3663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; There are two ways to flash application image by MCUBootUtility.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;#1&lt;/STRONG&gt;&amp;nbsp;Set image file (srec/hex/bin/axf/elf) path in "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Application Image File" input box and click "All-In-One Action" button&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91436iF65F1E46F0B80551/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d;"&gt;#2&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Set&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;image file (only bin file) path in "Bin&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;File" input box and click "Write (Auto Erase)" button&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91476i85BE2A524740B0B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; There are below differences between these two ways:&lt;/P&gt;&lt;P&gt;1).&amp;nbsp; &lt;STRONG&gt;#2&lt;/STRONG&gt; can only flash bootable image (with FDCB, IVT, BootData header), and the format must be binary (.bin). &lt;STRONG&gt;#1&lt;/STRONG&gt; can flash both raw image (only app, no header) and bootable image, and the format is unlimited.&lt;/P&gt;&lt;P&gt;2).&amp;nbsp; If provided image file is bootable image, &lt;STRONG&gt;#2&lt;/STRONG&gt; just flash this bootable image without any changes.&amp;nbsp;&lt;STRONG&gt;#1&lt;/STRONG&gt; will only keep app and DCD, for FDCB, IVT, BootData, Tool will try to re-generate them according to settings in 'Boot Device Configuration' and image self&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; so for your case, you can use &lt;STRONG&gt;#2&lt;/STRONG&gt; to flash image or set&amp;nbsp;&lt;SPAN&gt;'Boot Device Configuration'&amp;nbsp;properly before using &lt;STRONG&gt;#1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2019 02:52:33 GMT</pubDate>
    <dc:creator>jay_heng</dc:creator>
    <dc:date>2019-10-16T02:52:33Z</dc:date>
    <item>
      <title>NXP-MCUBootUtility 2.0.0 - Target non-functional, differences in header data?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/NXP-MCUBootUtility-2-0-0-Target-non-functional-differences-in/m-p/924581#M3662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jayheng"&gt;jayheng&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I've run into another issue with the MCU Boot Utility.&amp;nbsp; If I flash my application into my board using JTAG (via SEGGER pod), everything is fine.&amp;nbsp; But if I use the MCU Boot Utility, it looks like it alters some of the header information in my image, and the target no longer boots after setting BOOT_MODE back to Internal Boot.&amp;nbsp; Reflashing the unit again through the SEGGER pod works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached the files I'm working with.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;my_project.srec - the SRecord file which I feed to the "Application Image File" input in the green box.&lt;/LI&gt;&lt;LI&gt;my_project_extracted.srec - the SRecord file which the utility generates when clicking "Generate Unsigned Bootable Image".&lt;/LI&gt;&lt;LI&gt;first_64k_works.bin - the extracted first 64KB of QSPI flash when the target has most recently been flashed by the SEGGER pod through the MCUX debugger.&lt;/LI&gt;&lt;LI&gt;first_64k_broken.bin - the extracted first 64KB of QSPI flash when the target has most recently been flashed by the MCU Boot Utility using my_project.srec&lt;/LI&gt;&lt;LI&gt;evkbimxrt1050_flexspi_nor_config.c - the C file for my QSPI flash DCD configuration data.&lt;/LI&gt;&lt;LI&gt;evkbimxrt1050_sdram_ini_dcd.c - the C file for my SDRAM DCD configuration data.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've done a full 1MB extract and compare of the flash before and after the MCU Boot Utility touches the board, and the only difference is in the first few KB; the application code is intact.&amp;nbsp; When the debugger reflashes the target, it does so fairly quickly, hinting it's only erasing and rewriting the first page or two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is the utility altering my header information, to the point where it doesn't work anymore?&amp;nbsp; Are you able to tell exactly what it's changing?&amp;nbsp; Is there any additional information you need?&amp;nbsp; I've been able to reflash our custom board through USB successfully in the past, so I'm not sure what's broken now.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David R.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2019 21:27:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/NXP-MCUBootUtility-2-0-0-Target-non-functional-differences-in/m-p/924581#M3662</guid>
      <dc:creator>dmarks_ls</dc:creator>
      <dc:date>2019-10-15T21:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: NXP-MCUBootUtility 2.0.0 - Target non-functional, differences in header data?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/NXP-MCUBootUtility-2-0-0-Target-non-functional-differences-in/m-p/924582#M3663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; There are two ways to flash application image by MCUBootUtility.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;#1&lt;/STRONG&gt;&amp;nbsp;Set image file (srec/hex/bin/axf/elf) path in "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Application Image File" input box and click "All-In-One Action" button&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91436iF65F1E46F0B80551/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d;"&gt;#2&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Set&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;image file (only bin file) path in "Bin&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;File" input box and click "Write (Auto Erase)" button&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91476i85BE2A524740B0B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; There are below differences between these two ways:&lt;/P&gt;&lt;P&gt;1).&amp;nbsp; &lt;STRONG&gt;#2&lt;/STRONG&gt; can only flash bootable image (with FDCB, IVT, BootData header), and the format must be binary (.bin). &lt;STRONG&gt;#1&lt;/STRONG&gt; can flash both raw image (only app, no header) and bootable image, and the format is unlimited.&lt;/P&gt;&lt;P&gt;2).&amp;nbsp; If provided image file is bootable image, &lt;STRONG&gt;#2&lt;/STRONG&gt; just flash this bootable image without any changes.&amp;nbsp;&lt;STRONG&gt;#1&lt;/STRONG&gt; will only keep app and DCD, for FDCB, IVT, BootData, Tool will try to re-generate them according to settings in 'Boot Device Configuration' and image self&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; so for your case, you can use &lt;STRONG&gt;#2&lt;/STRONG&gt; to flash image or set&amp;nbsp;&lt;SPAN&gt;'Boot Device Configuration'&amp;nbsp;properly before using &lt;STRONG&gt;#1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 02:52:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/NXP-MCUBootUtility-2-0-0-Target-non-functional-differences-in/m-p/924582#M3663</guid>
      <dc:creator>jay_heng</dc:creator>
      <dc:date>2019-10-16T02:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: NXP-MCUBootUtility 2.0.0 - Target non-functional, differences in header data?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/NXP-MCUBootUtility-2-0-0-Target-non-functional-differences-in/m-p/924583#M3664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you decide to use &lt;STRONG&gt;#2&lt;/STRONG&gt;, You need to set 'Run Mode' to Master in Tool menu&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91561iA7435F07F9B0DCC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 02:56:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/NXP-MCUBootUtility-2-0-0-Target-non-functional-differences-in/m-p/924583#M3664</guid>
      <dc:creator>jay_heng</dc:creator>
      <dc:date>2019-10-16T02:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: NXP-MCUBootUtility 2.0.0 - Target non-functional, differences in header data?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/NXP-MCUBootUtility-2-0-0-Target-non-functional-differences-in/m-p/924584#M3665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Method 2 is what I'm after.&amp;nbsp; I followed your steps (I left Start/Offset at 0x0, it was fine), gave it my BIN file, and it programmed fine.&amp;nbsp; Changed the boot jumper, power-cycled the target, and it worked fine.&amp;nbsp; Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David Rodgers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 19:51:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/NXP-MCUBootUtility-2-0-0-Target-non-functional-differences-in/m-p/924584#M3665</guid>
      <dc:creator>dmarks_ls</dc:creator>
      <dc:date>2019-10-16T19:51:57Z</dc:date>
    </item>
  </channel>
</rss>

