<?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: Program i.MXRT using SEGGER Flasher Compact</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1568993#M22931</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195771"&gt;@CarlosGarabito&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/40101"&gt;@jay_heng&lt;/a&gt;&lt;BR /&gt;Hello all,&lt;BR /&gt;after a bit of investigation, I know now what is happening but I still cannot directly fix it. What exactly happens is that the .srec file generated from IAR doesn't contain the boot header, ivt, or boot data it only contains the program starting from address 0x60002000. Despite these sections being placed in the linker file, in the map file it says that there are no sections that match the pattern (please see below).&lt;BR /&gt;&lt;BR /&gt;So, now my question is &lt;STRONG&gt;how place the boot stuff (header, ivt, data, and dcd in the .srec file)?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Linker configurations:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;define exported symbol m_boot_hdr_conf_start = 0x60000000;&lt;BR /&gt;define symbol m_boot_hdr_ivt_start = 0x60001000;&lt;BR /&gt;define symbol m_boot_hdr_boot_data_start = 0x60001020;&lt;BR /&gt;define symbol m_boot_hdr_dcd_data_start = 0x60001030;&lt;/P&gt;&lt;P&gt;place at address mem:m_boot_hdr_conf_start { section .boot_hdr.conf };&lt;BR /&gt;place at address mem:m_boot_hdr_ivt_start { section .boot_hdr.ivt };&lt;BR /&gt;place at address mem:m_boot_hdr_boot_data_start { readonly section .boot_hdr.boot_data };&lt;BR /&gt;place at address mem:m_boot_hdr_dcd_data_start { readonly section .boot_hdr.dcd_data };&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In .map file:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;No sections matched the following patterns:&lt;/P&gt;&lt;P&gt;ro section .boot_hdr.boot_data in "A3"&lt;BR /&gt;ro section .boot_hdr.dcd_data in "A4"&lt;BR /&gt;section .boot_hdr.conf in "A1"&lt;BR /&gt;section .boot_hdr.ivt in "A2"&lt;/P&gt;</description>
    <pubDate>Tue, 13 Dec 2022 12:54:29 GMT</pubDate>
    <dc:creator>Lukaz</dc:creator>
    <dc:date>2022-12-13T12:54:29Z</dc:date>
    <item>
      <title>Program i.MXRT using SEGGER Flasher Compact</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1562059#M22723</link>
      <description>&lt;P&gt;Hello, I am using the&amp;nbsp;&lt;STRONG&gt;MIMXRT1061CVL5B&amp;nbsp;&lt;/STRONG&gt;micro-controller with an external 8MB nor-flash. For production, I want to use an external flasher to program the controller without a PC, for this I try to use the SEGGER Flasher Compact which is supposed to be supporting the micro-controller. When I program the MC using the flasher either from the PC using the J-Flash GUI or directly from the flasher after uploading everything to the flasher, the process is always completed successfully but the program never runs. I tried the same process on a different micro-controller with an internal flash and it works correctly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I program the MC either from IAR or using the MfgTool everything is fine and the program runs correctly.&lt;/P&gt;&lt;P&gt;My question is, is there any guidelines or documentation that clarify how to program the i.MXRT MCs using a flasher? or can anyone help be to solve this?&lt;BR /&gt;&lt;BR /&gt;Here are my configurations (linker file attached):&lt;/P&gt;&lt;P&gt;XIP_EXTERNAL_FLASH=1&lt;BR /&gt;XIP_BOOT_HEADER_ENABLE=0 -- also tried setting this to 1&lt;BR /&gt;XIP_BOOT_HEADER_DCD_ENABLE=0&amp;nbsp;-- also tried setting this to 1&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 13:55:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1562059#M22723</guid>
      <dc:creator>Lukaz</dc:creator>
      <dc:date>2022-11-30T13:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Program i.MXRT using SEGGER Flasher Compact</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1563976#M22774</link>
      <description>&lt;P&gt;Do you compare the data content in Flash between your Flasher way and Mfgtool way after downloading? i think there is some difference. we need to know the difference&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 02:49:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1563976#M22774</guid>
      <dc:creator>jay_heng</dc:creator>
      <dc:date>2022-12-05T02:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Program i.MXRT using SEGGER Flasher Compact</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1564364#M22789</link>
      <description>&lt;P&gt;Hello Jay,&lt;BR /&gt;thanks for replying, I know how to get the data from the flasher gui, but how can I get it while using the MfgTool ?&lt;BR /&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 11:08:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1564364#M22789</guid>
      <dc:creator>Lukaz</dc:creator>
      <dc:date>2022-12-05T11:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Program i.MXRT using SEGGER Flasher Compact</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1567696#M22892</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200688"&gt;@Lukaz&lt;/a&gt; you can check if this help you with a flasher as you want &lt;A href="https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/i-MXRT-Production-tool-RT-Flash-v1-0-0-is-released/ta-p/1109981" target="_blank"&gt;https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/i-MXRT-Production-tool-RT-Flash-v1-0-0-is-released/ta-p/1109981&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;have a good day&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 23:02:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1567696#M22892</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2022-12-09T23:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Program i.MXRT using SEGGER Flasher Compact</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1568200#M22904</link>
      <description>&lt;P&gt;Hello Carlos,&lt;BR /&gt;thanks for your reply, the main problem remains because I want to have a flasher to program the controller with no PC engaged, that's the main goal.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 10:14:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1568200#M22904</guid>
      <dc:creator>Lukaz</dc:creator>
      <dc:date>2022-12-12T10:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Program i.MXRT using SEGGER Flasher Compact</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1568993#M22931</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195771"&gt;@CarlosGarabito&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/40101"&gt;@jay_heng&lt;/a&gt;&lt;BR /&gt;Hello all,&lt;BR /&gt;after a bit of investigation, I know now what is happening but I still cannot directly fix it. What exactly happens is that the .srec file generated from IAR doesn't contain the boot header, ivt, or boot data it only contains the program starting from address 0x60002000. Despite these sections being placed in the linker file, in the map file it says that there are no sections that match the pattern (please see below).&lt;BR /&gt;&lt;BR /&gt;So, now my question is &lt;STRONG&gt;how place the boot stuff (header, ivt, data, and dcd in the .srec file)?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Linker configurations:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;define exported symbol m_boot_hdr_conf_start = 0x60000000;&lt;BR /&gt;define symbol m_boot_hdr_ivt_start = 0x60001000;&lt;BR /&gt;define symbol m_boot_hdr_boot_data_start = 0x60001020;&lt;BR /&gt;define symbol m_boot_hdr_dcd_data_start = 0x60001030;&lt;/P&gt;&lt;P&gt;place at address mem:m_boot_hdr_conf_start { section .boot_hdr.conf };&lt;BR /&gt;place at address mem:m_boot_hdr_ivt_start { section .boot_hdr.ivt };&lt;BR /&gt;place at address mem:m_boot_hdr_boot_data_start { readonly section .boot_hdr.boot_data };&lt;BR /&gt;place at address mem:m_boot_hdr_dcd_data_start { readonly section .boot_hdr.dcd_data };&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In .map file:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;No sections matched the following patterns:&lt;/P&gt;&lt;P&gt;ro section .boot_hdr.boot_data in "A3"&lt;BR /&gt;ro section .boot_hdr.dcd_data in "A4"&lt;BR /&gt;section .boot_hdr.conf in "A1"&lt;BR /&gt;section .boot_hdr.ivt in "A2"&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 12:54:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1568993#M22931</guid>
      <dc:creator>Lukaz</dc:creator>
      <dc:date>2022-12-13T12:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Program i.MXRT using SEGGER Flasher Compact</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1569023#M22932</link>
      <description>&lt;P&gt;I have also enabled the boot header but nothing changed&lt;BR /&gt;&lt;STRONG&gt;XIP_BOOT_HEADER_ENABLE=1&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 13:59:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1569023#M22932</guid>
      <dc:creator>Lukaz</dc:creator>
      <dc:date>2022-12-13T13:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Program i.MXRT using SEGGER Flasher Compact</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1569040#M22933</link>
      <description>&lt;P&gt;One more thing, I am using a hardware library and linking it to the application, I checked the .map file and the related files are not placed at all in the library module, is that because they were never included in the application?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lukaz_0-1670942016416.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204227i433CAAEA763E4D74/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lukaz_0-1670942016416.png" alt="Lukaz_0-1670942016416.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;These are the missed files,&amp;nbsp;&lt;STRONG&gt;evkbmimxrt1060_flexspi_nor_config.o,&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;fsl_flexspi_nor_boot.o, &lt;/STRONG&gt;and&amp;nbsp;&lt;STRONG&gt;dcd.o&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and therefore the boot information is not included in the .srec file&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 14:35:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1569040#M22933</guid>
      <dc:creator>Lukaz</dc:creator>
      <dc:date>2022-12-13T14:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Program i.MXRT using SEGGER Flasher Compact</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1570001#M22949</link>
      <description>&lt;P&gt;hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200688"&gt;@Lukaz&lt;/a&gt; you can use srec-cat, as you can see on this blog &lt;A href="https://mcuoneclipse.com/2016/02/26/merging-s19-files/" target="_blank"&gt;https://mcuoneclipse.com/2016/02/26/merging-s19-files/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 21:52:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1570001#M22949</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2022-12-14T21:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Program i.MXRT using SEGGER Flasher Compact</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1570436#M22962</link>
      <description>&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;thanks for the reply, this option is not so practical because the boot data would change every time the program changes. Also in the examples for the evaluation board when I choose the nor-flash configuration, the .srec file includes all boot information (boot-device configurations, boot data, etc.) and that is what I am trying to achieve.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 12:06:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1570436#M22962</guid>
      <dc:creator>Lukaz</dc:creator>
      <dc:date>2022-12-15T12:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Program i.MXRT using SEGGER Flasher Compact</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1571296#M22984</link>
      <description>&lt;P&gt;Well, on MCUXpresso, you can modify the position where to store the data in the memory&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snag_6f9b972.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204743i76598EFB27C1AD6B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Snag_6f9b972.png" alt="Snag_6f9b972.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snag_6f9f717.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204744i898AFDC5E7840F25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Snag_6f9f717.png" alt="Snag_6f9f717.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 16:20:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Program-i-MXRT-using-SEGGER-Flasher-Compact/m-p/1571296#M22984</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2022-12-16T16:20:32Z</dc:date>
    </item>
  </channel>
</rss>

