<?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: SEC Tool v7 Assigns application to Non-XIP mode when start address is secure flash in MCUXpresso Secure Provisioning Tool</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/SEC-Tool-v7-Assigns-application-to-Non-XIP-mode-when-start/m-p/1751682#M302</link>
    <description>&lt;P&gt;Hi George,&lt;/P&gt;
&lt;P&gt;as a workaround solution, you can modify template for the mbi_config.yaml, so the tool always generates "XIP" image:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;locate file "c:\nxp\MCUX_Provi_v7\bin\data\script_templates\RTxxx\mbi_config.yaml" in your installation directory&lt;/LI&gt;
&lt;LI&gt;search for line "outputImageExecutionTarget: {{ mbi_config.outputImageExecutionTarget }}"&lt;/LI&gt;
&lt;LI&gt;comment the line and/or replace by a new value "&lt;SPAN&gt;outputImageExecutionTarget&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;External flash (XIP)"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;save the file&lt;/LI&gt;
&lt;LI&gt;build again&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Please mind, after this change, load to RAM image for RTxxx will not work, as the tool will always generate XIP image.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Nov 2023 06:53:42 GMT</pubDate>
    <dc:creator>marek-trmac</dc:creator>
    <dc:date>2023-11-03T06:53:42Z</dc:date>
    <item>
      <title>SEC Tool v7 Assigns application to Non-XIP mode when start address is secure flash</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/SEC-Tool-v7-Assigns-application-to-Non-XIP-mode-when-start/m-p/1750506#M297</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XIP_no_secure_flash.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/247969iC8AC097E77D6F9C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XIP_no_secure_flash.png" alt="XIP_no_secure_flash.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; We've noticed that for applications on the RT685S that are in secure flash XIP mode, assigning the start address to beginning of the image header in secure flash (0x18001000) causes the image to not boot properly when enabled a signed booting + force Trustzone enabled in OTP. This does not occur when in the plain image and plain image + CRC mode and with Trustzone enabled. It would seem the SEC tool interprets the start address of&amp;nbsp;(0x18001000) to be a non-XIP load-to-RAM image - is this a bug or intended behavior? We have noticed that reassigning our start address location to non-secure flash (0x08001000) enables the image to boot properly when signed and with Trustzone enabled in the OTP configuration.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 20:22:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/SEC-Tool-v7-Assigns-application-to-Non-XIP-mode-when-start/m-p/1750506#M297</guid>
      <dc:creator>george_iyo</dc:creator>
      <dc:date>2023-11-01T20:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: SEC Tool v7 Assigns application to Non-XIP mode when start address is secure flash</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/SEC-Tool-v7-Assigns-application-to-Non-XIP-mode-when-start/m-p/1750849#M298</link>
      <description>&lt;P&gt;Hi George,&lt;/P&gt;
&lt;P&gt;I believe this is a bug, not intentional. I can see that generated mbi_config.yaml contains "outputImageExecutionTarget: RAM" instead "outputImageExecutionTarget: External flash (XIP)"&lt;/P&gt;
&lt;P&gt;Could you please confirm, if you manually fix mbi_config.yaml and then if you invoke build script from the disk, the issue is resolved on your side?&lt;/P&gt;
&lt;P&gt;Thank you for the report, we will fix this into next version (V8).&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 07:13:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/SEC-Tool-v7-Assigns-application-to-Non-XIP-mode-when-start/m-p/1750849#M298</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2023-11-02T07:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: SEC Tool v7 Assigns application to Non-XIP mode when start address is secure flash</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/SEC-Tool-v7-Assigns-application-to-Non-XIP-mode-when-start/m-p/1751306#M299</link>
      <description>&lt;P&gt;Following your instructions, when I change mbi_config.yaml's line 11 parameter to External flash (XIP), the app can't boot when launching from secure flash:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="george_iyo_0-1698943352554.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248215i6072EAE5DC8336D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="george_iyo_0-1698943352554.png" alt="george_iyo_0-1698943352554.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've also noticed that hitting the "Build Image" button in the Build image tab also changes the mbi_config.yaml parameter back to RAM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 16:44:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/SEC-Tool-v7-Assigns-application-to-Non-XIP-mode-when-start/m-p/1751306#M299</guid>
      <dc:creator>george_iyo</dc:creator>
      <dc:date>2023-11-02T16:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: SEC Tool v7 Assigns application to Non-XIP mode when start address is secure flash</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/SEC-Tool-v7-Assigns-application-to-Non-XIP-mode-when-start/m-p/1751465#M300</link>
      <description>&lt;P&gt;Sorry, I misread your post. After selecting build image, and then changing the mbi_config.yaml parameter to:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;outputImageExecutionTarget&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;External flash (XIP)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;And then executing build_image_lnx.sh seems to resolve the issue - sending the Write Image command in the SEC tool, and then hitting the reset button with doing a POR with shadow registers enabled seems to enable the image to boot. I'm wondering now if this at all impacts the creation of a manufacturing package within the tool - does the package reupdate the the yaml file, or does it just take in the files from the workspace?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Nov 2023 00:56:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/SEC-Tool-v7-Assigns-application-to-Non-XIP-mode-when-start/m-p/1751465#M300</guid>
      <dc:creator>george_iyo</dc:creator>
      <dc:date>2023-11-03T00:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: SEC Tool v7 Assigns application to Non-XIP mode when start address is secure flash</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/SEC-Tool-v7-Assigns-application-to-Non-XIP-mode-when-start/m-p/1751670#M301</link>
      <description>Hi George,&lt;BR /&gt;the creation of manufacturing package should just take files in the workspace. Moreover, manufacturing package contains just files needed for write, as it is not expected the image will be re-built in the manufacturing.</description>
      <pubDate>Fri, 03 Nov 2023 06:47:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/SEC-Tool-v7-Assigns-application-to-Non-XIP-mode-when-start/m-p/1751670#M301</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2023-11-03T06:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: SEC Tool v7 Assigns application to Non-XIP mode when start address is secure flash</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/SEC-Tool-v7-Assigns-application-to-Non-XIP-mode-when-start/m-p/1751682#M302</link>
      <description>&lt;P&gt;Hi George,&lt;/P&gt;
&lt;P&gt;as a workaround solution, you can modify template for the mbi_config.yaml, so the tool always generates "XIP" image:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;locate file "c:\nxp\MCUX_Provi_v7\bin\data\script_templates\RTxxx\mbi_config.yaml" in your installation directory&lt;/LI&gt;
&lt;LI&gt;search for line "outputImageExecutionTarget: {{ mbi_config.outputImageExecutionTarget }}"&lt;/LI&gt;
&lt;LI&gt;comment the line and/or replace by a new value "&lt;SPAN&gt;outputImageExecutionTarget&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;External flash (XIP)"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;save the file&lt;/LI&gt;
&lt;LI&gt;build again&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Please mind, after this change, load to RAM image for RTxxx will not work, as the tool will always generate XIP image.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 06:53:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/SEC-Tool-v7-Assigns-application-to-Non-XIP-mode-when-start/m-p/1751682#M302</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2023-11-03T06:53:42Z</dc:date>
    </item>
  </channel>
</rss>

