<?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 Established communication with flashloader in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Established-communication-with-flashloader/m-p/1481771#M20354</link>
    <description>&lt;P&gt;NCR just received there one manufactured board with MIMXRT1062DVJ6B and need to get it up and running.&lt;/P&gt;
&lt;P&gt;I delivered the AN12681 “How to use HAB secure boot in i.MX RT10xx” to help NCR through this process.&lt;/P&gt;
&lt;P&gt;At this stage NCR not looking at secure boot - however for the moment they just need to get the device up and running.&lt;/P&gt;
&lt;P&gt;So going by the application note they do need to download the FlashLoader.&lt;/P&gt;
&lt;P&gt;If they use the command line tools they can open a connection:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here’s what they done:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Checked the connection on the UART:&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;PS C:\nxp\MCUX_Provi_v3.1\bin\tools\sdphost\win&amp;gt; .\sdphost.exe -p COM7 -- error-status&lt;/P&gt;
&lt;P&gt;Status (HAB mode) = 1450735702 (0x56787856) HAB disabled.&lt;/P&gt;
&lt;P&gt;Reponse Status = 4042322160 (0xf0f0f0f0) HAB Success.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Downloaded the flashloader.bin&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;PS C:\nxp\MCUX_Provi_v3.1\bin\tools\sdphost\win&amp;gt; .\sdphost.exe -p COM7 -- write-file 0x20000000 C:\nxp\MCUX_Provi_v3.1\bin\data\targets\MIMXRT1010\ivt_flashloader.bin&lt;/P&gt;
&lt;P&gt;Preparing to send 31432 (0x7ac8) bytes to the target.&lt;/P&gt;
&lt;P&gt;(1/1)2%Status (HAB mode) = 1450735702 (0x56787856) HAB disabled.&lt;/P&gt;
&lt;P&gt;Reponse Status = 2290649224 (0x88888888) Write File complete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Tried to start the flashloader, by jumping to address 0x20000400 (I’ve also tried 0x20001000)&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;PS C:\nxp\MCUX_Provi_v3.1\bin\tools\sdphost\win&amp;gt; .\sdphost.exe -p COM7 -- jump-address 0x20000400&lt;/P&gt;
&lt;P&gt;Status (HAB mode) = 1450735702 (0x56787856) HAB disabled.&lt;/P&gt;
&lt;P&gt;PS C:\nxp\MCUX_Provi_v3.1\bin\tools\sdphost\win&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NCR then went back to the Secure Provisioning tool to try download the current OTP configuration, they still get unable to communicate with flashloader:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;### Parse input arguments ###&lt;/P&gt;
&lt;P&gt;### Check presence of FlashLoader ###&lt;/P&gt;
&lt;P&gt;blhost -t 2000 -p COM7,115200 -j -- get-property 1 0&lt;/P&gt;
&lt;P&gt;ERROR:SPSDK: Cannot ping device on UART port 'COM7'.&lt;/P&gt;
&lt;P&gt;blhost failed&lt;/P&gt;
&lt;P&gt;FlashLoader is not running yet, download and run it&lt;/P&gt;
&lt;P&gt;### Check communication with target bootloader ###&lt;/P&gt;
&lt;P&gt;sdphost -p COM7,115200 -j -- error-status&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; "command": "error-status",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; "response": [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2148966233&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; ],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; "status": {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "description": "1520961536 (0x5aa80800) ",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "value": 1520961536&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;sdphost failed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas how to fix this and get communication established with flashloader?&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2022 10:21:03 GMT</pubDate>
    <dc:creator>JRIIS</dc:creator>
    <dc:date>2022-06-29T10:21:03Z</dc:date>
    <item>
      <title>Established communication with flashloader</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Established-communication-with-flashloader/m-p/1481771#M20354</link>
      <description>&lt;P&gt;NCR just received there one manufactured board with MIMXRT1062DVJ6B and need to get it up and running.&lt;/P&gt;
&lt;P&gt;I delivered the AN12681 “How to use HAB secure boot in i.MX RT10xx” to help NCR through this process.&lt;/P&gt;
&lt;P&gt;At this stage NCR not looking at secure boot - however for the moment they just need to get the device up and running.&lt;/P&gt;
&lt;P&gt;So going by the application note they do need to download the FlashLoader.&lt;/P&gt;
&lt;P&gt;If they use the command line tools they can open a connection:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here’s what they done:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Checked the connection on the UART:&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;PS C:\nxp\MCUX_Provi_v3.1\bin\tools\sdphost\win&amp;gt; .\sdphost.exe -p COM7 -- error-status&lt;/P&gt;
&lt;P&gt;Status (HAB mode) = 1450735702 (0x56787856) HAB disabled.&lt;/P&gt;
&lt;P&gt;Reponse Status = 4042322160 (0xf0f0f0f0) HAB Success.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Downloaded the flashloader.bin&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;PS C:\nxp\MCUX_Provi_v3.1\bin\tools\sdphost\win&amp;gt; .\sdphost.exe -p COM7 -- write-file 0x20000000 C:\nxp\MCUX_Provi_v3.1\bin\data\targets\MIMXRT1010\ivt_flashloader.bin&lt;/P&gt;
&lt;P&gt;Preparing to send 31432 (0x7ac8) bytes to the target.&lt;/P&gt;
&lt;P&gt;(1/1)2%Status (HAB mode) = 1450735702 (0x56787856) HAB disabled.&lt;/P&gt;
&lt;P&gt;Reponse Status = 2290649224 (0x88888888) Write File complete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Tried to start the flashloader, by jumping to address 0x20000400 (I’ve also tried 0x20001000)&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;PS C:\nxp\MCUX_Provi_v3.1\bin\tools\sdphost\win&amp;gt; .\sdphost.exe -p COM7 -- jump-address 0x20000400&lt;/P&gt;
&lt;P&gt;Status (HAB mode) = 1450735702 (0x56787856) HAB disabled.&lt;/P&gt;
&lt;P&gt;PS C:\nxp\MCUX_Provi_v3.1\bin\tools\sdphost\win&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NCR then went back to the Secure Provisioning tool to try download the current OTP configuration, they still get unable to communicate with flashloader:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;### Parse input arguments ###&lt;/P&gt;
&lt;P&gt;### Check presence of FlashLoader ###&lt;/P&gt;
&lt;P&gt;blhost -t 2000 -p COM7,115200 -j -- get-property 1 0&lt;/P&gt;
&lt;P&gt;ERROR:SPSDK: Cannot ping device on UART port 'COM7'.&lt;/P&gt;
&lt;P&gt;blhost failed&lt;/P&gt;
&lt;P&gt;FlashLoader is not running yet, download and run it&lt;/P&gt;
&lt;P&gt;### Check communication with target bootloader ###&lt;/P&gt;
&lt;P&gt;sdphost -p COM7,115200 -j -- error-status&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; "command": "error-status",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; "response": [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2148966233&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; ],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; "status": {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "description": "1520961536 (0x5aa80800) ",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "value": 1520961536&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;sdphost failed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas how to fix this and get communication established with flashloader?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 10:21:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Established-communication-with-flashloader/m-p/1481771#M20354</guid>
      <dc:creator>JRIIS</dc:creator>
      <dc:date>2022-06-29T10:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Established communication with flashloader</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Established-communication-with-flashloader/m-p/1482317#M20369</link>
      <description>&lt;P&gt;Hi，&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;In my opinion, the issue is related to the ivt_flashloader.bin and the customer can refer to the &lt;A href="https://www.cnblogs.com/henjay724/p/9096222.html" target="_self"&gt;post&lt;/A&gt; to learn how to get the flashloader up,&lt;BR /&gt;further, I'm a bit confused about why he uses the ivt_flashloader.bin for the MIMXRT1010, he can definitely use the MCUXpreso secure provisioning tool to connect the board directly instead of inputting commands manually.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeremyzhou_0-1656556284135.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185067i1770B286191BB93A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeremyzhou_0-1656556284135.png" alt="jeremyzhou_0-1656556284135.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&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;&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;</description>
      <pubDate>Thu, 30 Jun 2022 06:54:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Established-communication-with-flashloader/m-p/1482317#M20369</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-06-30T06:54:23Z</dc:date>
    </item>
  </channel>
</rss>

