<?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>MCUXpresso Secure Provisioning ToolのトピックAbout build_image_win.bat issue</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/About-build-image-win-bat-issue/m-p/2032041#M552</link>
    <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;I used the build_image_win.bat generated by SPT to create an encrypted bin file. However, when using different S19 files (firmware with different starting addresses, e.g., 0x60041000 &amp;amp;0x60002000 ), the encrypted content is placed incorrectly.&lt;/P&gt;&lt;P&gt;First , I used an S19 file with a starting address of 0x60002000 to generate an encrypted bin file with SPT, and the encrypted content was correct. Using this setting, I generated build_image_win.bat.&lt;/P&gt;&lt;P&gt;When I used another S19 file with a starting address of 0x60041000 to generate an encrypted bin file with&amp;nbsp;build_image_win.bat, the encrypted content was misplaced to 0x60002000 (it should be 0x60041000).&lt;/P&gt;&lt;P&gt;PS. Both S19 files have the same name. If I directly use SPT to generate the encrypted bin file, there is no such issue.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jan 2025 06:33:03 GMT</pubDate>
    <dc:creator>Omar_hong</dc:creator>
    <dc:date>2025-01-22T06:33:03Z</dc:date>
    <item>
      <title>About build_image_win.bat issue</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/About-build-image-win-bat-issue/m-p/2032041#M552</link>
      <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;I used the build_image_win.bat generated by SPT to create an encrypted bin file. However, when using different S19 files (firmware with different starting addresses, e.g., 0x60041000 &amp;amp;0x60002000 ), the encrypted content is placed incorrectly.&lt;/P&gt;&lt;P&gt;First , I used an S19 file with a starting address of 0x60002000 to generate an encrypted bin file with SPT, and the encrypted content was correct. Using this setting, I generated build_image_win.bat.&lt;/P&gt;&lt;P&gt;When I used another S19 file with a starting address of 0x60041000 to generate an encrypted bin file with&amp;nbsp;build_image_win.bat, the encrypted content was misplaced to 0x60002000 (it should be 0x60041000).&lt;/P&gt;&lt;P&gt;PS. Both S19 files have the same name. If I directly use SPT to generate the encrypted bin file, there is no such issue.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 06:33:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/About-build-image-win-bat-issue/m-p/2032041#M552</guid>
      <dc:creator>Omar_hong</dc:creator>
      <dc:date>2025-01-22T06:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: About build_image_win.bat issue</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/About-build-image-win-bat-issue/m-p/2032139#M554</link>
      <description>&lt;P&gt;Hi Omar,&lt;/P&gt;
&lt;P&gt;I'd recommend to create two workspaces for two different images, build the both images and then compare the workspaces (by file content). I suppose there will be changes in other configuration files or may be some parameters in build scripts will be different.&lt;/P&gt;
&lt;P&gt;If you do any significant changes in your application, it is recommended to always re-generate the build script. Please note, the build script can be also updated on command line using "securep build" command.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 08:16:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/About-build-image-win-bat-issue/m-p/2032139#M554</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2025-01-22T08:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: About build_image_win.bat issue</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/About-build-image-win-bat-issue/m-p/2032936#M557</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/176703" target="_blank"&gt;@marek-trmac&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have tried this before, but it still didn't work. I created the following example:&lt;/P&gt;&lt;P&gt;The main difference is in ..\configs\write_parameters.json.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_hong_0-1737616039663.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/321026iCFBA49BAFA116B7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_hong_0-1737616039663.png" alt="Omar_hong_0-1737616039663.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, even after modifying the differences, the issue remains unresolved.&lt;/P&gt;&lt;P&gt;Both work environments use the same project (evkmimxrt1010_flexspi_nor_polling_transfer), with the only difference on image start address (0x60010000 &amp;amp; 0x60020000).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; 10000_raw_data ----------(image start address 0x60010000 .axf .s19 .bin)&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; 20000_raw_data---------- (image start address 0x60020000 .axf .s19 .bin)&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; secure_provisioning10000 -------SPT workspace for&amp;nbsp;0x60010000&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; secure_provisioning20000 ------ SPT workspace for&amp;nbsp;0x60020000&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You can place the .s19 raw data into the SPT workspace and then execute build_image_win.bat.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Here are my test steps:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;STEP 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Use SPT (secure_provisioning20000) to generate build_image_win.bat for the starting position 0x60020000 .s19 file.&lt;/P&gt;&lt;P&gt;Use SPT (secure_provisioning10000) to generate build_image_win.bat for the starting position 0x60010000 .s19 file.&lt;/P&gt;&lt;P&gt;The bootable images generated directly by SPT are all correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;STEP 2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Apply the .s19 file with the starting address 0x60010000 to the secure_provisioning20000 build_image_win.bat.&lt;BR /&gt;Apply the .s19 file with the starting address 0x60020000 to the secure_provisioning10000 build_image_win.bat.&lt;/P&gt;&lt;P&gt;The generated bootable images all have misplaced issues.&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="Omar_hong_1-1737616062390.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/321028i3717AD782128FAD2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_hong_1-1737616062390.png" alt="Omar_hong_1-1737616062390.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 07:08:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/About-build-image-win-bat-issue/m-p/2032936#M557</guid>
      <dc:creator>Omar_hong</dc:creator>
      <dc:date>2025-01-23T07:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: About build_image_win.bat issue</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/About-build-image-win-bat-issue/m-p/2032977#M558</link>
      <description>&lt;P&gt;Hi Omar,&lt;/P&gt;
&lt;P&gt;I have compared your directories, and you have different BD file in each folder (I did no compare all the files as this is not my job). I try to repeat my previous response clearly: generated files including build_image_win.bat are not designed to handle all images. It is wrong to use the workspace created for one image to build the different image. I recommend to use "securep build" CLI command that will update the build script and all configuration files.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 07:38:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/About-build-image-win-bat-issue/m-p/2032977#M558</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2025-01-23T07:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: About build_image_win.bat issue</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/About-build-image-win-bat-issue/m-p/2033011#M559</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/176703"&gt;@marek-trmac&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Thank you for your response. I think I have found the solution.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 07:58:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/About-build-image-win-bat-issue/m-p/2033011#M559</guid>
      <dc:creator>Omar_hong</dc:creator>
      <dc:date>2025-01-23T07:58:29Z</dc:date>
    </item>
  </channel>
</rss>

