<?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: Incorrect FDCB for Adesto EcoXIP? in MCUXpresso Secure Provisioning Tool</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Incorrect-FDCB-for-Adesto-EcoXIP/m-p/1208449#M43</link>
    <description>&lt;P&gt;1. I used both my custom flashloader and the one that ships with Secure Provisioning.&amp;nbsp; Both with Secure Provisioning v2.0 and v2.1.&amp;nbsp; I had to use the Embedded Artists EVK to use the provided flashloader, as my custom board needs the modified flashloader to work.&lt;/P&gt;&lt;P&gt;2. I tried both Secure Provisioning 2.0 and 2.1, with the same result.&lt;/P&gt;&lt;P&gt;3. I will also post to the SDK community and see what the support for Adesto EcoXIP looks like.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jan 2021 17:34:21 GMT</pubDate>
    <dc:creator>jackking</dc:creator>
    <dc:date>2021-01-07T17:34:21Z</dc:date>
    <item>
      <title>Incorrect FDCB for Adesto EcoXIP?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Incorrect-FDCB-for-Adesto-EcoXIP/m-p/1205655#M41</link>
      <description>&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to use the Secure Provisioning Tool to upload an XIP application to an Embedded Artists i.MX RT1062 board which uses the Adesto EcoXIP (&lt;SPAN class=""&gt;ATXP032&lt;/SPAN&gt;) for Flash.&lt;BR /&gt;&lt;BR /&gt;Using MCUXpresso (and J-Link debugger) the application uploads and runs fine.&lt;BR /&gt;Switching to Secure Provisioning Tool (or MCUBootUtility) the application uploads, but cannot execute.&lt;/P&gt;&lt;P&gt;I am also using a custom flashloader.bin based on the MCUboot SDK example in MCUXpresso SDK 2.8.6&lt;/P&gt;&lt;P&gt;I used MCUBootUtility to read out the flash memory (from location 0x60000000) to compare the two images.&lt;BR /&gt;&lt;BR /&gt;There are some substantial differences between the two methods.&lt;BR /&gt;Specifically, the Flash Device Config Block (which starts at 0x60000000) is different.&amp;nbsp; Then the IVT, Boot Data and DCD sections (which start at 0x60001000) are also very different.&lt;BR /&gt;&lt;BR /&gt;It seems that these differences cause the application to fail to run.&amp;nbsp; I manually removed the boot header from an MCUExpresso based binary image and loaded it using Secure Provisioning Tool directly, and it did successfully execute from Flash (although very slowly).&amp;nbsp; But this doesn't fix the FDCB section, which seems cause the poor execution performance.&lt;/P&gt;&lt;P&gt;It looks like the flashloader function "&lt;STRONG&gt;flexspi_nor_generate_config_block_adesto_octalflash&lt;/STRONG&gt;" is responsible for setting up the FDCB section.&lt;/P&gt;&lt;P&gt;Here are some screenshots highlighting my findings:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_Users_ripe909_Documents_MCUXpressoIDE_11_2_0_workspace_MIMXRT1062xxxxA_Project_OS_TEST10_Debug_MIMXRT1062xxxxA_Project_OS_TEST10_map__GCC3_.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133765i576D918E8AA1AB65/image-size/large?v=v2&amp;amp;px=999" role="button" title="_Users_ripe909_Documents_MCUXpressoIDE_11_2_0_workspace_MIMXRT1062xxxxA_Project_OS_TEST10_Debug_MIMXRT1062xxxxA_Project_OS_TEST10_map__GCC3_.png" alt="_Users_ripe909_Documents_MCUXpressoIDE_11_2_0_workspace_MIMXRT1062xxxxA_Project_OS_TEST10_Debug_MIMXRT1062xxxxA_Project_OS_TEST10_map__GCC3_.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled_and__Users_ripe909_Documents_MCUXpressoIDE_11_2_0_workspace_MIMXRT1062xxxxA_Project_OS_TEST10_Debug_MIMXRT1062xxxxA_Project_OS_TEST10_map__GCC3_.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133766iCC71471F772B2AAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled_and__Users_ripe909_Documents_MCUXpressoIDE_11_2_0_workspace_MIMXRT1062xxxxA_Project_OS_TEST10_Debug_MIMXRT1062xxxxA_Project_OS_TEST10_map__GCC3_.png" alt="Untitled_and__Users_ripe909_Documents_MCUXpressoIDE_11_2_0_workspace_MIMXRT1062xxxxA_Project_OS_TEST10_Debug_MIMXRT1062xxxxA_Project_OS_TEST10_map__GCC3_.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible that the FDCB configuration for the Adesto Octal flash is incorrect or hasn't been updated in the SDK example for the flashloader?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 03 Jan 2021 15:04:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Incorrect-FDCB-for-Adesto-EcoXIP/m-p/1205655#M41</guid>
      <dc:creator>jackking</dc:creator>
      <dc:date>2021-01-03T15:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect FDCB for Adesto EcoXIP?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Incorrect-FDCB-for-Adesto-EcoXIP/m-p/1208430#M42</link>
      <description>&lt;P&gt;Hello jaccking,&lt;/P&gt;
&lt;P&gt;1. your custom flashloader - do you use it with Secure Provisioning?&lt;/P&gt;
&lt;P&gt;2. what version of Secure Provisioning Tool are you using? 2.1?&lt;/P&gt;
&lt;P&gt;3. The question to the adesto flash supported by the flashloader - this question should be placed probably in the "MCUXpresso SDK" community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Libor&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 16:43:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Incorrect-FDCB-for-Adesto-EcoXIP/m-p/1208430#M42</guid>
      <dc:creator>liborukropec</dc:creator>
      <dc:date>2021-01-07T16:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect FDCB for Adesto EcoXIP?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Incorrect-FDCB-for-Adesto-EcoXIP/m-p/1208449#M43</link>
      <description>&lt;P&gt;1. I used both my custom flashloader and the one that ships with Secure Provisioning.&amp;nbsp; Both with Secure Provisioning v2.0 and v2.1.&amp;nbsp; I had to use the Embedded Artists EVK to use the provided flashloader, as my custom board needs the modified flashloader to work.&lt;/P&gt;&lt;P&gt;2. I tried both Secure Provisioning 2.0 and 2.1, with the same result.&lt;/P&gt;&lt;P&gt;3. I will also post to the SDK community and see what the support for Adesto EcoXIP looks like.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 17:34:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Incorrect-FDCB-for-Adesto-EcoXIP/m-p/1208449#M43</guid>
      <dc:creator>jackking</dc:creator>
      <dc:date>2021-01-07T17:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect FDCB for Adesto EcoXIP?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Incorrect-FDCB-for-Adesto-EcoXIP/m-p/1210310#M44</link>
      <description>&lt;P&gt;Hi jackking,&lt;/P&gt;
&lt;P&gt;in Secure Provisioning Tool, you can use custom FCB:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;select Boot Type on toolbar: "flex-spi-nor/user FCB file"&lt;/LI&gt;
&lt;LI&gt;click Edit button and select existing custom "fcb.bin" file&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;The other Boot Type devices are provided as a templates with simplified configuration. You can always customize simplified configuration using Edit button.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Regards, Marek&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 10:10:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Incorrect-FDCB-for-Adesto-EcoXIP/m-p/1210310#M44</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2021-01-12T10:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect FDCB for Adesto EcoXIP?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Incorrect-FDCB-for-Adesto-EcoXIP/m-p/1211134#M45</link>
      <description>&lt;P&gt;I don't think there is an option to use a custom FCB bin file.&amp;nbsp; You can use a JSON config file and edit a few settings.&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="flex-spi-nor_EA_iMX_RT10x2_DevKit_Adesto_EcoXiP_Device_Configuration_and_MCUXpresso_Secure_Provisioning_-__Users_ripe909_secure_provisioning.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134681i33197C5489EE4455/image-size/large?v=v2&amp;amp;px=999" role="button" title="flex-spi-nor_EA_iMX_RT10x2_DevKit_Adesto_EcoXiP_Device_Configuration_and_MCUXpresso_Secure_Provisioning_-__Users_ripe909_secure_provisioning.png" alt="flex-spi-nor_EA_iMX_RT10x2_DevKit_Adesto_EcoXiP_Device_Configuration_and_MCUXpresso_Secure_Provisioning_-__Users_ripe909_secure_provisioning.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 13:11:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Incorrect-FDCB-for-Adesto-EcoXIP/m-p/1211134#M45</guid>
      <dc:creator>jackking</dc:creator>
      <dc:date>2021-01-13T13:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect FDCB for Adesto EcoXIP?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Incorrect-FDCB-for-Adesto-EcoXIP/m-p/1211257#M46</link>
      <description>&lt;P&gt;Hi jackking,&lt;/P&gt;
&lt;P&gt;I'd recommend to try again the following two steps:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;in Secure Provisioning Tool, you can use custom FCB:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;EM&gt;&lt;STRONG&gt;select Boot Type on toolbar: "flex-spi-nor/user FCB file"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;&lt;STRONG&gt;click Edit button and select existing custom "fcb.bin" file&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Custom FCB was supported in Secure Provisioning &lt;STRONG&gt;V1&lt;/STRONG&gt;&amp;nbsp;and I believe it is still there.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Marek&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 18:08:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Incorrect-FDCB-for-Adesto-EcoXIP/m-p/1211257#M46</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2021-01-13T18:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect FDCB for Adesto EcoXIP?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Incorrect-FDCB-for-Adesto-EcoXIP/m-p/1211765#M47</link>
      <description>&lt;P&gt;OK, I see that.&amp;nbsp; I assume I can just extract a binary FCB file from an image created via MCUXpresso and then use that in Secure Provisioning.&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="Select_file_with_configuration_block_and_MCUXpresso_Secure_Provisioning_-__Users_ripe909_secure_provisioning.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134775iA8A8CF390EF60EB3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Select_file_with_configuration_block_and_MCUXpresso_Secure_Provisioning_-__Users_ripe909_secure_provisioning.png" alt="Select_file_with_configuration_block_and_MCUXpresso_Secure_Provisioning_-__Users_ripe909_secure_provisioning.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 13:13:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Incorrect-FDCB-for-Adesto-EcoXIP/m-p/1211765#M47</guid>
      <dc:creator>jackking</dc:creator>
      <dc:date>2021-01-14T13:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect FDCB for Adesto EcoXIP?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Incorrect-FDCB-for-Adesto-EcoXIP/m-p/1290588#M70</link>
      <description>&lt;P&gt;Hi, was this issue ever resolved. I wonder if its related to my issue: &lt;A href="https://community.nxp.com/t5/i-MX-RT/Run-bootloader-from-application-rt1062/m-p/1282335#M14372" target="_blank"&gt;https://community.nxp.com/t5/i-MX-RT/Run-bootloader-from-application-rt1062/m-p/1282335#M14372&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also, where can I find the file &lt;STRONG&gt;"&lt;/STRONG&gt;&lt;EM&gt;&lt;STRONG&gt;fcb.bin"&lt;/STRONG&gt;?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 08:51:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Incorrect-FDCB-for-Adesto-EcoXIP/m-p/1290588#M70</guid>
      <dc:creator>Robert123</dc:creator>
      <dc:date>2021-06-10T08:51:25Z</dc:date>
    </item>
  </channel>
</rss>

