<?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: i.MXRT1160_evk flashloader in MCUXpresso Secure Provisioning Tool</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/i-MXRT1160-evk-flashloader/m-p/1530150#M162</link>
    <description>&lt;P&gt;Hi Sathishkumar,&lt;/P&gt;
&lt;P&gt;about "3. After loading FCB, the below command is trying to error the flash content" - I suppose this is typo, the command &lt;STRONG&gt;erases&lt;/STRONG&gt; the flash.&lt;/P&gt;
&lt;P&gt;about "4. Again configuring same memory with "&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;0xF000000F&lt;/STRONG&gt;&lt;/FONT&gt;", what is the use of this value?" - the commands create FCB in the target FLASH at offset 0x400, so it can be used to configure memory access during booting from the FLASH. It is almost same as writing custom FCB file directly to the FLASH.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Sep 2022 06:41:38 GMT</pubDate>
    <dc:creator>marek-trmac</dc:creator>
    <dc:date>2022-09-29T06:41:38Z</dc:date>
    <item>
      <title>i.MXRT1160_evk flashloader</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/i-MXRT1160-evk-flashloader/m-p/1529254#M161</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I'm looking at write script of SPT_v4 (for RT1160_evk board) &amp;amp; I want to load user FCB file instead of default FCB.bin.&lt;/P&gt;&lt;P&gt;After loading flashloader into rom, there are few more steps regarding flash configuration before writing application binary file.&lt;/P&gt;&lt;P&gt;1. In below script statement what is action of configure the memory with value "&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;0xCF900001&lt;/FONT&gt;"&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/3933"&gt;@echo&lt;/a&gt; ### Select target memory instance using option on address 0x2000 ###&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;call "%blhost%" %blhost_connect% -j -- fill-memory 0x2000 4 &lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;0xCF900001&lt;/FONT&gt;&lt;/STRONG&gt; word&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if errorlevel 2 exit 2&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;call "%blhost%" %blhost_connect% -j -- configure-memory 9 0x2000&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if errorlevel 2 exit 2&lt;/P&gt;&lt;P class="lia-align-justify"&gt;2. Below step will load the custom FCB content&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/3933"&gt;@echo&lt;/a&gt; ### Configure flex-spi-nor using FCB on address 0x2000 ###&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;call "%blhost%" %blhost_connect% -j -- write-memory 0x2000 " C:\Users\zep_fcb.bin"&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if errorlevel 2 exit 2&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;call "%blhost%" %blhost_connect% -j -- configure-memory 9 0x2000&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if errorlevel 2 exit 2&lt;/P&gt;&lt;P&gt;3. After loading FCB, the below command is trying to error the flash content&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/3933"&gt;@echo&lt;/a&gt; ### Erase memory before writing image ###&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; call "%blhost%" %blhost_connect% -j -- flash-erase-region 0x30000000 63116 9&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if errorlevel 2 exit 2&lt;/P&gt;&lt;P&gt;4. Again configuring same memory with "&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;0xF000000F&lt;/STRONG&gt;&lt;/FONT&gt;", what is the use of this value?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/3933"&gt;@echo&lt;/a&gt; ### Create Flash Configuration Block (FCB) ###&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;call "%blhost%" %blhost_connect% -j -- fill-memory 0x3000 4 &lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;0xF000000F&lt;/FONT&gt;&lt;/STRONG&gt; word&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if errorlevel 2 exit 2&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;call "%blhost%" %blhost_connect% -j -- configure-memory 9 0x3000&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if errorlevel 2 exit 2&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sathishkumar K&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 06:37:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/i-MXRT1160-evk-flashloader/m-p/1529254#M161</guid>
      <dc:creator>sathishkumar-rk</dc:creator>
      <dc:date>2022-09-28T06:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: i.MXRT1160_evk flashloader</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/i-MXRT1160-evk-flashloader/m-p/1530150#M162</link>
      <description>&lt;P&gt;Hi Sathishkumar,&lt;/P&gt;
&lt;P&gt;about "3. After loading FCB, the below command is trying to error the flash content" - I suppose this is typo, the command &lt;STRONG&gt;erases&lt;/STRONG&gt; the flash.&lt;/P&gt;
&lt;P&gt;about "4. Again configuring same memory with "&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;0xF000000F&lt;/STRONG&gt;&lt;/FONT&gt;", what is the use of this value?" - the commands create FCB in the target FLASH at offset 0x400, so it can be used to configure memory access during booting from the FLASH. It is almost same as writing custom FCB file directly to the FLASH.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 06:41:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/i-MXRT1160-evk-flashloader/m-p/1530150#M162</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2022-09-29T06:41:38Z</dc:date>
    </item>
  </channel>
</rss>

