<?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: MIMXRT1010 bootloader sample code error in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1944707#M4906</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239836"&gt;@Omar_hong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried to replicate the issue with no luck. I used&amp;nbsp; MCUXpresso IDE v11.10 and SDK 2.16,&amp;nbsp; downloaded from the IDE, also called plug in SDK. In my case the flashlodaer can be loaded to RAM and debugged as expected.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_1-1725050338869.png" style="width: 627px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296360i1948175A3F498D62/image-dimensions/627x329?v=v2" width="627" height="329" role="button" title="diego_charles_1-1725050338869.png" alt="diego_charles_1-1725050338869.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Currently, I do not know why you received this error, but I want to troubleshoot this with you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Could you try to import and debug&amp;nbsp; the flashloader on an different workspace ?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Did you obtained the SDK from&amp;nbsp;&lt;A href="https://mcuxpresso.nxp.com/en" target="_blank"&gt;https://mcuxpresso.nxp.com/en&lt;/A&gt;&amp;nbsp;or from the IDE? which specific SDK version are you using? &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Here is mine&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_2-1725050758295.png" style="width: 700px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296361i9E9EB84697614BCB/image-dimensions/700x105?v=v2" width="700" height="105" role="button" title="diego_charles_2-1725050758295.png" alt="diego_charles_2-1725050758295.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Anyway, the flashloader is meant to communicate over UART or USB with a HOST. This means that you may also want to load the flashloader using BLHOST and SDPHOST instead using MCUXpresso over SWD. The Secure Provisionining will load the flashloader for you whenever you want to build an application.&amp;nbsp; Let me know if I can help you further on this matter.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope to help,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Aug 2024 20:46:33 GMT</pubDate>
    <dc:creator>diego_charles</dc:creator>
    <dc:date>2024-08-30T20:46:33Z</dc:date>
    <item>
      <title>MIMXRT1010 bootloader sample code error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1944305#M4905</link>
      <description>&lt;P&gt;Hello NXP,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I was flash NXP&amp;nbsp;evkmimxrt1010_flashloader sample code to RT1010 EVK ,&lt;/P&gt;&lt;P&gt;but the&amp;nbsp;result was fail. following was my flash log. &lt;STRONG&gt;Could you give me any advice or help?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;===================================================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;E&lt;/SPAN&gt;xecuting flash operation 'Program' (Program file into flash: evkmimxrt1010_flashloader.axf) - Fri Aug 30 16:11:21 CST 2024&lt;/P&gt;&lt;P&gt;Checking MCU info...&lt;/P&gt;&lt;P&gt;Scanning for targets...&lt;/P&gt;&lt;P&gt;Executing flash action...&lt;/P&gt;&lt;P&gt;MCUXpresso IDE RedlinkMulti Driver v11.10 (Jul 2 2024 19:33:51 - crt_emu_cm_redlink.exe build 741)&lt;/P&gt;&lt;P&gt;( 0) Reading remote configuration&lt;/P&gt;&lt;P&gt;Wc(03). No cache support.&lt;/P&gt;&lt;P&gt;Found chip XML file in C:/Users/Documents/MCUXpressoIDE_11.10.0_3148/workspace/evkmimxrt1010_flashloader/Debug\MIMXRT1011xxxxx.xml&lt;/P&gt;&lt;P&gt;( 5) Remote configuration complete&lt;/P&gt;&lt;P&gt;Reconnected to existing LinkServer process.&lt;/P&gt;&lt;P&gt;============= SCRIPT: RT1010_connect.scp =============&lt;/P&gt;&lt;P&gt;RT1010 Connect Script&lt;/P&gt;&lt;P&gt;DpID = 0BD11477&lt;/P&gt;&lt;P&gt;APID = 0x04770041&lt;/P&gt;&lt;P&gt;Wirespeed = 10000000 Hz&lt;/P&gt;&lt;P&gt;Resetting and trapping&lt;/P&gt;&lt;P&gt;Back from reset&lt;/P&gt;&lt;P&gt;Disabling MPU&lt;/P&gt;&lt;P&gt;Configure FlexRAM for 64KB OC RAM, 32KB I-TCM, 32KB D-TCM&lt;/P&gt;&lt;P&gt;Finished&lt;/P&gt;&lt;P&gt;============= END SCRIPT =============================&lt;/P&gt;&lt;P&gt;Probe Firmware: CMSIS-DAP (ARM)&lt;/P&gt;&lt;P&gt;Serial Number: 0227000014dd1b3b00000000000000000000000097969905&lt;/P&gt;&lt;P&gt;VID:PID: 0D28:0204&lt;/P&gt;&lt;P&gt;USB Path: \\?\hid#vid_0d28&amp;amp;pid_0204&amp;amp;mi_03#7&amp;amp;1eb98487&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}&lt;/P&gt;&lt;P&gt;Using memory from core 0 after searching for a good core&lt;/P&gt;&lt;P&gt;( 30) Emulator Connected&lt;/P&gt;&lt;P&gt;warning - watchpoint hit but none found set&lt;/P&gt;&lt;P&gt;( 40) Debug Halt&lt;/P&gt;&lt;P&gt;( 50) CPU ID&lt;/P&gt;&lt;P&gt;debug interface type = CoreSight DP (DAP DP ID 0BD11477) over SWD TAP 0&lt;/P&gt;&lt;P&gt;processor type = Cortex-M7 (CPU ID 00000C27) on DAP AP 0&lt;/P&gt;&lt;P&gt;number of h/w breakpoints = 8&lt;/P&gt;&lt;P&gt;number of flash patches = 0&lt;/P&gt;&lt;P&gt;number of h/w watchpoints = 4&lt;/P&gt;&lt;P&gt;Probe(0): Connected&amp;amp;Reset. DpID: 0BD11477. CpuID: 00000C27. Info: &amp;lt;None&amp;gt;&lt;/P&gt;&lt;P&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;/P&gt;&lt;P&gt;Content of CoreSight Debug ROM(s):&lt;/P&gt;&lt;P&gt;RBASE E00FD000: CID B105100D PID 000008E88C ROM (type 0x1)&lt;/P&gt;&lt;P&gt;ROM 1 E00FE000: CID B105100D PID 04000BB4C8 ROM (type 0x1)&lt;/P&gt;&lt;P&gt;ROM 2 E00FF000: CID B105100D PID 04000BB4C7 ROM (type 0x1)&lt;/P&gt;&lt;P&gt;ROM 3 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)&lt;/P&gt;&lt;P&gt;ROM 3 E0001000: CID B105E00D PID 04000BB002 Gen DWT (type 0x0)&lt;/P&gt;&lt;P&gt;ROM 3 E0002000: CID B105E00D PID 04000BB00E Gen (type 0x0)&lt;/P&gt;&lt;P&gt;ROM 3 E0000000: CID B105E00D PID 04000BB001 Gen ITM (type 0x0)&lt;/P&gt;&lt;P&gt;ROM 2 E0041000: CID B105900D PID 04001BB975 CSt ARM ETMv4.0 type 0x13 Trace Source - Core&lt;/P&gt;&lt;P&gt;ROM 2 E0042000: CID B105900D PID 04004BB906 CSt type 0x14 Debug Control - Trigger, e.g. ECT&lt;/P&gt;&lt;P&gt;ROM 1 E0040000: CID B105900D PID 04000BB9A9 CSt type 0x11 Trace Sink - TPIU&lt;/P&gt;&lt;P&gt;ROM 1 E0043000: CID B105F00D PID 04001BB101 Sys (type 0x0)&lt;/P&gt;&lt;P&gt;NXP: MIMXRT1011xxxxx&lt;/P&gt;&lt;P&gt;DAP stride is 1024 bytes (256 words)&lt;/P&gt;&lt;P&gt;( 65) Chip Setup Complete&lt;/P&gt;&lt;P&gt;Connected: was_reset=true. was_stopped=true&lt;/P&gt;&lt;P&gt;( 70) License Check Complete&lt;/P&gt;&lt;P&gt;File 'evkmimxrt1010_flashloader.axf' load failure: Ef(11). No flash configured at the specified address.&lt;/P&gt;&lt;P&gt;(100) Target Operation Failed&lt;/P&gt;&lt;P&gt;Unable to perform operation!&lt;/P&gt;&lt;P&gt;Command failed with exit code 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 08:21:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1944305#M4905</guid>
      <dc:creator>Omar_hong</dc:creator>
      <dc:date>2024-08-30T08:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1010 bootloader sample code error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1944707#M4906</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239836"&gt;@Omar_hong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried to replicate the issue with no luck. I used&amp;nbsp; MCUXpresso IDE v11.10 and SDK 2.16,&amp;nbsp; downloaded from the IDE, also called plug in SDK. In my case the flashlodaer can be loaded to RAM and debugged as expected.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_1-1725050338869.png" style="width: 627px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296360i1948175A3F498D62/image-dimensions/627x329?v=v2" width="627" height="329" role="button" title="diego_charles_1-1725050338869.png" alt="diego_charles_1-1725050338869.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Currently, I do not know why you received this error, but I want to troubleshoot this with you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Could you try to import and debug&amp;nbsp; the flashloader on an different workspace ?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Did you obtained the SDK from&amp;nbsp;&lt;A href="https://mcuxpresso.nxp.com/en" target="_blank"&gt;https://mcuxpresso.nxp.com/en&lt;/A&gt;&amp;nbsp;or from the IDE? which specific SDK version are you using? &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Here is mine&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_2-1725050758295.png" style="width: 700px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296361i9E9EB84697614BCB/image-dimensions/700x105?v=v2" width="700" height="105" role="button" title="diego_charles_2-1725050758295.png" alt="diego_charles_2-1725050758295.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Anyway, the flashloader is meant to communicate over UART or USB with a HOST. This means that you may also want to load the flashloader using BLHOST and SDPHOST instead using MCUXpresso over SWD. The Secure Provisionining will load the flashloader for you whenever you want to build an application.&amp;nbsp; Let me know if I can help you further on this matter.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope to help,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 20:46:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1944707#M4906</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2024-08-30T20:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1010 bootloader sample code error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1944848#M4908</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here is my IDE and SDK version, and I have try this on different workspace, but it still can't work.(I got this SDK from &lt;A href="https://mcuxpresso.nxp.com/en/dashboard" target="_blank"&gt;https://mcuxpresso.nxp.com/en/dashboard&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_hong_1-1725180080348.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296394iA6D0AE400DDF20EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_hong_1-1725180080348.png" alt="Omar_hong_1-1725180080348.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried other sample project(Hello_world&amp;nbsp; &amp;amp; iled_blinky) and they seem to work fine&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_hong_0-1725180022169.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296393i035F79FBB0719E50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_hong_0-1725180022169.png" alt="Omar_hong_0-1725180022169.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The following is the configuration status of my EVK board&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="55.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296395i25E67A3AD19F4B28/image-size/medium?v=v2&amp;amp;px=400" role="button" title="55.jpg" alt="55.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 01 Sep 2024 08:48:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1944848#M4908</guid>
      <dc:creator>Omar_hong</dc:creator>
      <dc:date>2024-09-01T08:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1010 bootloader sample code error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1945632#M4911</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239836"&gt;@Omar_hong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your reply and cooperation!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I see your configuration of the EVK as correct. I tested again with the same SDK you just&amp;nbsp; get and I can load the flashloader using the IDE. It seems that we are missing a little detail to avoid this error, but I still do not know what it is.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1725303890465.png" style="width: 661px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296666i3D7DF3B54D6B2441/image-dimensions/661x314?v=v2" width="661" height="314" role="button" title="diego_charles_0-1725303890465.png" alt="diego_charles_0-1725303890465.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please find attached the demo that I build on my PC as well the .launch file generated. Import my project and give it a try.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 19:07:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1945632#M4911</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2024-09-02T19:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1010 bootloader sample code error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1946179#M4915</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833" target="_blank" rel="noopener"&gt;@diego_charles&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your reply !&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;it still fail by use your flashloader package.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the process of build, it can't get the .axf file,I was modify the project name to fix this issue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_hong_0-1725357550078.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296808i41C9AC19CE8EA61F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_hong_0-1725357550078.png" alt="Omar_hong_0-1725357550078.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In addition, I was use Quick Fix to fix following issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_hong_1-1725357550141.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296809i381BA05D6A37EC37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_hong_1-1725357550141.png" alt="Omar_hong_1-1725357550141.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_hong_2-1725357550221.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296810i9E5FA031B71C7559/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_hong_2-1725357550221.png" alt="Omar_hong_2-1725357550221.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;Fix above issue, this packege still can't run on my workspace.&lt;/P&gt;&lt;P&gt;=========================================================&lt;/P&gt;&lt;P&gt;I was use .axf file in this package to create bin file, and use NXP-MCUBootUtility write to flash. It seem to write success(use "Range Read" to verify ) .&lt;BR /&gt;After reset device and read out the data , it was not written successfully&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_hong_3-1725357550257.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296812i1F59FDA6033C191F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_hong_3-1725357550257.png" alt="Omar_hong_3-1725357550257.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this state, even if SW8 is set to 0010, the ev-board can be captured by MCUBootUtility.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_hong_4-1725357550274.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296811iE49C9233B49BB164/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_hong_4-1725357550274.jpeg" alt="Omar_hong_4-1725357550274.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 10:02:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1946179#M4915</guid>
      <dc:creator>Omar_hong</dc:creator>
      <dc:date>2024-09-03T10:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1010 bootloader sample code error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1950590#M4927</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;As a side note&lt;/P&gt;&lt;P&gt;Following is my building and flashing&amp;nbsp;method .&lt;/P&gt;&lt;P&gt;Do you use the same method as me?&lt;/P&gt;&lt;P&gt;In addition, after you load the flashloader sample&amp;nbsp;code to RT1010,&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you see the debug messge form RT1010?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_hong_9-1725940639636.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298078i8A8033E0C024D43B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_hong_9-1725940639636.png" alt="Omar_hong_9-1725940639636.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;==============================================&lt;/P&gt;&lt;P&gt;Build&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_hong_0-1725939791955.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298068iF17CF067538E1DE4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_hong_0-1725939791955.png" alt="Omar_hong_0-1725939791955.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;==========================================&lt;/P&gt;&lt;P&gt;Flash&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_hong_1-1725939947900.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298069i0C58ED462E0528C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_hong_1-1725939947900.png" alt="Omar_hong_1-1725939947900.png" /&gt;&lt;/span&gt;&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="Omar_hong_7-1725940149112.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298076i3A3B8ABCF5A98180/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_hong_7-1725940149112.png" alt="Omar_hong_7-1725940149112.png" /&gt;&lt;/span&gt;&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="Omar_hong_5-1725940105390.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298074i15067AFB39638F1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_hong_5-1725940105390.png" alt="Omar_hong_5-1725940105390.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_hong_8-1725940188005.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298077i369BB931CD598168/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_hong_8-1725940188005.png" alt="Omar_hong_8-1725940188005.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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 03:59:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1950590#M4927</guid>
      <dc:creator>Omar_hong</dc:creator>
      <dc:date>2024-09-10T03:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1010 bootloader sample code error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1954543#M4932</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239836"&gt;@Omar_hong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see where the problem lies now, I did not understand before what you where doing different to me. You need to use the blue bug button&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1726269808070.png" style="width: 875px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299123i48351743ED45BDDD/image-dimensions/875x121?v=v2" width="875" height="121" role="button" title="diego_charles_0-1726269808070.png" alt="diego_charles_0-1726269808070.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;With this, the flashloader will be loaded to internal SRAM by the MCUXpresso IDE. In the SDK allmost all of the examples come linked to flash memory, but with the flashloader, this is a special case, we deliver this demo linked to internal SRAM.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_1-1726270041168.png" style="width: 800px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299124iAA6E036A87659757/image-dimensions/800x242?v=v2" width="800" height="242" role="button" title="diego_charles_1-1726270041168.png" alt="diego_charles_1-1726270041168.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also the flashloader, does not integrates any boot headers. When booting an flash image&amp;nbsp; on the i.MX RT, the bootROM does need some&amp;nbsp; boot headers :&amp;nbsp; &amp;nbsp;FCB ( flash configuration Block) and IVT ( image vector table). Those headers tell the ROM, on a high level description, how to initialize the flash and where is the start address of your application, tipically Reset ISR.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The flashloader it is not really a bootable image, as we deliver it on the SDK,&amp;nbsp; so you wont be able to execute it as it is. When clicking the blue bug button, the IDE does some "magic", the IDE basically, makes the MCU to start executing from resetISR. This is useful for development but not for production of a final application.&amp;nbsp;&lt;SPAN&gt;On a normal boot flow, without the IDE, the ROM bootloader, or any bootloader, will be on charge of doing this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The GUI flash tool, that you where using it is limited to write in the flash memory, and&amp;nbsp; the flashloader project comes linked to SRAM, so this will be an issue for you.&amp;nbsp;For development and customization of the flashloader, it is okay to keep it linked to RAM. Consider that after a reset, the flashloader will be lost, as this memory is volatile.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The flashloader that we deliver, is designed to be temporally on SRAM, and aid to write images to non-volatile memories, like flash.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you&amp;nbsp; really need to write the flashloader to flash? Cause there is a way we can try by converting it into a Flash allocated bootable image. Do not hesitate to let me know.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 23:50:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1954543#M4932</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2024-09-13T23:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1010 bootloader sample code error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1955034#M4933</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Thank you for your reply !&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Yes, I want to flash this flashloader code to external memory (Just like other examples code in SDK), could you please provide the corresponding sample project on MCUxpresso ?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Also you talk about flashloader does not integrates any boot headers, but in flashloader&amp;nbsp;examples project , I trace some code seem for jump to start address of ours application.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_hong_0-1726471254532.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299213iEA6E2757A01BB418/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_hong_0-1726471254532.png" alt="Omar_hong_0-1726471254532.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; If flashloader doesn't include booting an flash image function ,could you please provide the corresponding sample project on MCUxpresso?(My target&amp;nbsp;is execute the application by using the bootloader )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 07:58:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1955034#M4933</guid>
      <dc:creator>Omar_hong</dc:creator>
      <dc:date>2024-09-16T07:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1010 bootloader sample code error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1956011#M4935</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239836"&gt;@Omar_hong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your reply as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We do not have a variant of the&amp;nbsp; flashloader linked to work from external flash memory. This task goes beyond my support scope and available time, as this is a custom implementation, and more care should be taken care to make our flashloader execute from flash.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About the boot headers, I meant to the contents of the XIP folder that you can see on most of the SDK examples. The XIP&amp;nbsp; folder files define structures that tell bootloader about the application's configuration to be executed from flash.&amp;nbsp; Belo an example picture.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1726612373384.png" style="width: 739px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299513i8574E367F3A6BE92/image-dimensions/739x292?v=v2" width="739" height="292" role="button" title="diego_charles_0-1726612373384.png" alt="diego_charles_0-1726612373384.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp; RT1010 flashloader does not contain those boot structures. In other words, the flashloader project does not contain those structures to be booted by the ROM, as a normal XIP flash application. Current demo requires to be loaded in SRAM by the SDPHOST, or by the IDE as we tried already.&lt;/P&gt;
&lt;P&gt;You can still try link the flashloader to flash, add XIP folder. The flashloader project does integrates a custom linked script, and you need to manually link some portions to SRAM and others to flash, but currently I do not have guidelines to do this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are looking for a solution that writes and jumps to your application FW without code modifications. I would recommend taking a look at the our &lt;A href="https://github.com/nxp-mcuxpresso/sbl" target="_self"&gt;SBL&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;The SBL does supports RT1010 and source code is available. The current downside is that it is not available for the MCUXpreso's compiling toolchain ( you will need to install ARM GCC toolchain). However, this should not be a limitation as the&amp;nbsp;&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/MCUOTASBLSFWUG.pdf" target="_self"&gt;MCU-OTA SBL and SFW User Guide&lt;/A&gt;&amp;nbsp;provides setup instructions.&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_1-1726618762372.png" style="width: 546px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299532iC07ABFAD5FBCB31C/image-dimensions/546x408?v=v2" width="546" height="408" role="button" title="diego_charles_1-1726618762372.png" alt="diego_charles_1-1726618762372.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The SBL will allow you to do most of the basic things that the flashloader does: receive an image and write the image into flash. The advantage is that the SBL is a flash resident bootloader, and will be stored and execute from flash.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this could help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 00:25:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MIMXRT1010-bootloader-sample-code-error/m-p/1956011#M4935</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2024-09-18T00:25:16Z</dc:date>
    </item>
  </channel>
</rss>

