<?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 Upgrade code from SD card in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Upgrade-code-from-SD-card/m-p/894825#M2790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; On MIMXRT1020 EVK borad, I want to upgrade application code form SD card. How to realize?&amp;nbsp; I do not find the data and examples about IAP function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 May 2019 08:57:10 GMT</pubDate>
    <dc:creator>DerekXiang</dc:creator>
    <dc:date>2019-05-15T08:57:10Z</dc:date>
    <item>
      <title>Upgrade code from SD card</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Upgrade-code-from-SD-card/m-p/894825#M2790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; On MIMXRT1020 EVK borad, I want to upgrade application code form SD card. How to realize?&amp;nbsp; I do not find the data and examples about IAP function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2019 08:57:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Upgrade-code-from-SD-card/m-p/894825#M2790</guid>
      <dc:creator>DerekXiang</dc:creator>
      <dc:date>2019-05-15T08:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade code from SD card</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Upgrade-code-from-SD-card/m-p/894826#M2791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Derek Xiang,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I suggest you use MCUBootUtility tool, which can be downloaded from this link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/JayHeng/NXP-MCUBootUtility/releases/tag/v1.4.0"&gt;https://github.com/JayHeng/NXP-MCUBootUtility/releases/tag/v1.4.0 &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/81318i5AD756169B19F0ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the detail usage, please refer to the user manual:&lt;A class="link-titled" href="https://github.com/JayHeng/NXP-MCUBootUtility" title="https://github.com/JayHeng/NXP-MCUBootUtility"&gt;GitHub - JayHeng/NXP-MCUBootUtility: A one-stop utility tool based on Python2.7+wxPython4.0, it can help you get started…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; This tool already support the SD card boot with RT1020.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try it on your side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question about it, please kindly let me know.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- 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- 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>Thu, 16 May 2019 12:07:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Upgrade-code-from-SD-card/m-p/894826#M2791</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-05-16T12:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade code from SD card</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Upgrade-code-from-SD-card/m-p/894827#M2792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Kerry,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I see. We can program bootable image to SD card by the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;MCUBootUtility tool, then system can reboot from SD card.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; But my application scene is not this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Normally, my code stored in QSPI flash, the system reboot from QSPI flash to SDRAM, then&amp;nbsp;run in SDRAM. After inserting SD card, I&amp;nbsp;can&amp;nbsp;select the image in SD card by LCD display, then updata the code(in QSPI flash) by SD card. This is one IAP function. How to reach it?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2019 01:15:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Upgrade-code-from-SD-card/m-p/894827#M2792</guid>
      <dc:creator>DerekXiang</dc:creator>
      <dc:date>2019-05-17T01:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade code from SD card</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Upgrade-code-from-SD-card/m-p/894828#M2793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need a IAP flashloader which can access both QSPI and SD. for RT105x/RT106x, you can refer to \SDK_2.5.0_EVK-MIMXRT1060\middleware\mcu-boot, but for RT102x, as far as i know, mcu-boot is not in its latest SDK release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 May 2019 07:34:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Upgrade-code-from-SD-card/m-p/894828#M2793</guid>
      <dc:creator>jay_heng</dc:creator>
      <dc:date>2019-05-18T07:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade code from SD card</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Upgrade-code-from-SD-card/m-p/894829#M2794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I view the mcu-boot component in RT1060 SDK. It is one MCU flashloader, and need connect the PC, then download the image to the special store device by USB-HID or UART。&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;It is not same. My means, after plug in the SD card, user select the special file in SD card, then update customer application code(in QSPI NOR flash). The system reset, and run the new code. In this process, we need the following question yet:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1、In update application, Fault or Power-off appears.&amp;nbsp; the system need run normally after this.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2、If the system enable the secure boot function(authentication and encryption), after update, whether the system normally reboot?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I do not think the&amp;nbsp;good method about these question. How to realize this IAP function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2019 01:35:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Upgrade-code-from-SD-card/m-p/894829#M2794</guid>
      <dc:creator>DerekXiang</dc:creator>
      <dc:date>2019-05-20T01:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade code from SD card</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Upgrade-code-from-SD-card/m-p/894830#M2795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Derek.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1. You need to implement reliable-update during IAP process, the old app in NOR Flash shouldn't be erased directly, new app in SD Card should be copied to backup NOR Flash region, and then you can take use of FlexSPI Remap feature to switch app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 2. Both old and new app should be singned or encrypted if secure boot is enabled&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>Thu, 23 May 2019 09:18:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Upgrade-code-from-SD-card/m-p/894830#M2795</guid>
      <dc:creator>jay_heng</dc:creator>
      <dc:date>2019-05-23T09:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade code from SD card</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Upgrade-code-from-SD-card/m-p/894831#M2796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Jay,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;According&amp;nbsp;to your idea, there are two full bootable images(First bootable image&amp;nbsp;+ Second bootable image) in QSPI NOR flash after upgrade. But I have two question:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1. After Power-On, the BootROM will upload the image vector from the fixed QSPI address(0x6000 1000). So the&amp;nbsp;first image will perform. So I must skip to the second image from the first image by code. Is this?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 2. BootROM decode the first image and upload to SDRAM. So I need write the code to decode the second image and copy to SDRAM. How to write the decode code for the second image?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2019 02:04:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Upgrade-code-from-SD-card/m-p/894831#M2796</guid>
      <dc:creator>DerekXiang</dc:creator>
      <dc:date>2019-05-24T02:04:45Z</dc:date>
    </item>
  </channel>
</rss>

