<?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 BLHost - Execute application from NOR in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/BLHost-Execute-application-from-NOR/m-p/1546942#M22300</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are a production partner for a product that uses MIMXRT 1061. We are trying to set up a production test SW for the MIMXRT1060-based custom board. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;During our development we had the following boot fuses configured FLASH_AUTO_PROBE_EN=1 and BT_FUSE_SEL=1. This gave us a successful boot to the application with both BOOT_MODE[1:0] = 00 (Boot from fuses) and BOOT_MODE[1:0] = 10 (Internal ROM). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now we are trying to boot a production test application from FLEXSPI NOR memory on unfused units. I am trying to use the flash loader for MIMXRT1060 to load the application into the NOR memory. The write seems to be fine but the application does not seem to boot properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here are the steps I am following. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;sdphost -u 0x1FC9,0x0135 -- error-status &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;sdphost -u 0x1FC9,0x0135 -j -- write-file 0x20001C00 unsigned_MIMXRT1060_flashloader.bin &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;sleep 1 sdphost -u 0x1FC9,0x0135 -j -- jump-address 0x20001C00 &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;sleep 3 &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;echo ### Configure FlexSPI NOR memory using options on address 0x2000 ### &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;blhost -t 5000 %blhost_connect% -- fill-memory 0x2000 4 0xC0000008 word &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;blhost -t 5000 %blhost_connect% -- configure-memory 9 0x2000 &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/3933"&gt;@echo&lt;/a&gt;### Erase memory before writing image ### &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;blhost -t 50352 %blhost_connect% -- flash-erase-region 0x60000000 35248 9 &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/3933"&gt;@echo&lt;/a&gt;### Create Flash Configuration Block (FCB) using option on address 0x2000 ### &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;blhost -t 5000 %blhost_connect% -- fill-memory 0x2000 4 0xF000000F word &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;blhost -t 5000 %blhost_connect% -- configure-memory 9 0x2000 &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/3933"&gt;@echo&lt;/a&gt;### Write image ### &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;blhost -t 5000 %blhost_connect% -- write-memory 0x60001000 test_sw.bin 9 &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;blhost -t 5000 %blhost_connect% -- read-memory 0x60001000 8 &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;blhost -t 5000 %blhost_connect% -- execute 0x6001 0 0 &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With the above steps, I am able to load the image to the external flash memory. The Factory Test application can boot if I fuse BT_FUSE_SEL=1. But the problem for us right now is that we don't want to fuse the unit during testing. Also, we are fully relying on SDP Host for our customer SW flashing at the end of production (we wont have access to JTAG pins when the unit is assembled). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I was wondering if there is a way to kick-start the factory test application from the NOR memory without fusing the unit.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please let me know if you need more information on this.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Nov 2022 15:48:37 GMT</pubDate>
    <dc:creator>raghulshanmuganathan-sigm</dc:creator>
    <dc:date>2022-11-01T15:48:37Z</dc:date>
    <item>
      <title>BLHost - Execute application from NOR</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/BLHost-Execute-application-from-NOR/m-p/1546942#M22300</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are a production partner for a product that uses MIMXRT 1061. We are trying to set up a production test SW for the MIMXRT1060-based custom board. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;During our development we had the following boot fuses configured FLASH_AUTO_PROBE_EN=1 and BT_FUSE_SEL=1. This gave us a successful boot to the application with both BOOT_MODE[1:0] = 00 (Boot from fuses) and BOOT_MODE[1:0] = 10 (Internal ROM). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now we are trying to boot a production test application from FLEXSPI NOR memory on unfused units. I am trying to use the flash loader for MIMXRT1060 to load the application into the NOR memory. The write seems to be fine but the application does not seem to boot properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here are the steps I am following. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;sdphost -u 0x1FC9,0x0135 -- error-status &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;sdphost -u 0x1FC9,0x0135 -j -- write-file 0x20001C00 unsigned_MIMXRT1060_flashloader.bin &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;sleep 1 sdphost -u 0x1FC9,0x0135 -j -- jump-address 0x20001C00 &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;sleep 3 &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;echo ### Configure FlexSPI NOR memory using options on address 0x2000 ### &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;blhost -t 5000 %blhost_connect% -- fill-memory 0x2000 4 0xC0000008 word &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;blhost -t 5000 %blhost_connect% -- configure-memory 9 0x2000 &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/3933"&gt;@echo&lt;/a&gt;### Erase memory before writing image ### &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;blhost -t 50352 %blhost_connect% -- flash-erase-region 0x60000000 35248 9 &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/3933"&gt;@echo&lt;/a&gt;### Create Flash Configuration Block (FCB) using option on address 0x2000 ### &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;blhost -t 5000 %blhost_connect% -- fill-memory 0x2000 4 0xF000000F word &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;blhost -t 5000 %blhost_connect% -- configure-memory 9 0x2000 &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/3933"&gt;@echo&lt;/a&gt;### Write image ### &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;blhost -t 5000 %blhost_connect% -- write-memory 0x60001000 test_sw.bin 9 &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;blhost -t 5000 %blhost_connect% -- read-memory 0x60001000 8 &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;SPAN&gt;blhost -t 5000 %blhost_connect% -- execute 0x6001 0 0 &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With the above steps, I am able to load the image to the external flash memory. The Factory Test application can boot if I fuse BT_FUSE_SEL=1. But the problem for us right now is that we don't want to fuse the unit during testing. Also, we are fully relying on SDP Host for our customer SW flashing at the end of production (we wont have access to JTAG pins when the unit is assembled). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I was wondering if there is a way to kick-start the factory test application from the NOR memory without fusing the unit.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please let me know if you need more information on this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 15:48:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/BLHost-Execute-application-from-NOR/m-p/1546942#M22300</guid>
      <dc:creator>raghulshanmuganathan-sigm</dc:creator>
      <dc:date>2022-11-01T15:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: BLHost - Execute application from NOR</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/BLHost-Execute-application-from-NOR/m-p/1548447#M22350</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204459"&gt;@raghulshanmuganathan-sigm&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I have contacted you directly on the case portal to resolve your issue.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 17:24:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/BLHost-Execute-application-from-NOR/m-p/1548447#M22350</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2022-11-03T17:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: BLHost - Execute application from NOR</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/BLHost-Execute-application-from-NOR/m-p/1548455#M22351</link>
      <description>&lt;P&gt;Thanks a lot&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186731"&gt;@EdwinHz&lt;/a&gt;&amp;nbsp;. I will follow up there.&lt;/P&gt;&lt;P&gt;I will post the solution here if we manage to solve the issue there.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 17:44:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/BLHost-Execute-application-from-NOR/m-p/1548455#M22351</guid>
      <dc:creator>raghulshanmuganathan-sigm</dc:creator>
      <dc:date>2022-11-03T17:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: BLHost - Execute application from NOR</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/BLHost-Execute-application-from-NOR/m-p/1554153#M22486</link>
      <description>&lt;P&gt;The issue has been resolved on another thread. Here is the solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/BLHost-Execute-application-from-NOR/m-p/1550412#M177" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/BLHost-Execute-application-from-NOR/m-p/1550412#M177&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 15:08:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/BLHost-Execute-application-from-NOR/m-p/1554153#M22486</guid>
      <dc:creator>raghulshanmuganathan-sigm</dc:creator>
      <dc:date>2022-11-15T15:08:11Z</dc:date>
    </item>
  </channel>
</rss>

