<?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>S32 Design StudioのトピックFlash tool</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Flash-tool/m-p/2061019#M13203</link>
    <description>&lt;P&gt;Hi expert,&lt;/P&gt;
&lt;DIV id="tinyMceEditorCatherine_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorCatherine_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image (1).jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327878iF6A0B3FBDC876876/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image (1).jpg" alt="image (1).jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; According to S32DS Flash tool guide, there is a target application which is located in the target SRAM. My device is S32Z and my question is&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;When using S32DS Flash tool, what exact time dose target application is downloaded in SRAM? In other words, how to trigger host application to download target application to SRAM? My understanding is at the time clicking “Upload target and algorithm to hardware”&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;where is the exact file of target application? Is it located in …\S32DS.3.5\S32DS\tools\S32FlashTool\flash? What is the file location of algorithm?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;According to the UG, “When done, the Boot ROM runs the Target Application on the selected CPU core of the device” When dose boot ROM boot the target core(I think smu-m33 core)? Dose boot ROM boot m33 core automatically after power on under serial boot mode?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you very much for your support.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Catherine&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Mar 2025 07:13:40 GMT</pubDate>
    <dc:creator>Catherine</dc:creator>
    <dc:date>2025-03-13T07:13:40Z</dc:date>
    <item>
      <title>Flash tool</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Flash-tool/m-p/2061019#M13203</link>
      <description>&lt;P&gt;Hi expert,&lt;/P&gt;
&lt;DIV id="tinyMceEditorCatherine_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorCatherine_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image (1).jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327878iF6A0B3FBDC876876/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image (1).jpg" alt="image (1).jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; According to S32DS Flash tool guide, there is a target application which is located in the target SRAM. My device is S32Z and my question is&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;When using S32DS Flash tool, what exact time dose target application is downloaded in SRAM? In other words, how to trigger host application to download target application to SRAM? My understanding is at the time clicking “Upload target and algorithm to hardware”&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;where is the exact file of target application? Is it located in …\S32DS.3.5\S32DS\tools\S32FlashTool\flash? What is the file location of algorithm?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;According to the UG, “When done, the Boot ROM runs the Target Application on the selected CPU core of the device” When dose boot ROM boot the target core(I think smu-m33 core)? Dose boot ROM boot m33 core automatically after power on under serial boot mode?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you very much for your support.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Catherine&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 07:13:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Flash-tool/m-p/2061019#M13203</guid>
      <dc:creator>Catherine</dc:creator>
      <dc:date>2025-03-13T07:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Flash tool</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Flash-tool/m-p/2061621#M13212</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/238048"&gt;@Catherine&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please find my answers to your questions:&lt;/P&gt;
&lt;P&gt;A1) You are correct, the time in which the application is loaded is when clicking the "&lt;SPAN&gt;Upload target and algorithm to hardware" to hardware button. However, the algorithm is not the first thing being loaded to the S32Z2 chip, the first biniry that gets load into the chip is in this case the&amp;nbsp;S32Z2E2.bin file, which you can find in your installation directory, it should be similar to this:&amp;nbsp;&lt;EM&gt;C:\NXP\S32DS.3.5\S32DS\tools\S32FlashTool\targets\S32Z2E2.bin&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If you check the command line approach you can see that when load the algorithm is loaded you need to select a binary corresponding to the chip, for example in my setup it would be:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;S32FlashTool -t C:\NXP\S32DS.3.5\S32DS\tools\S32FlashTool\targets\S32Z2E2.bin -a C:\NXP\S32DS.3.5\S32DS\tools\S32FlashTool\flash\S26HS512.bin,0,A -i uart -p COM27&lt;/LI-CODE&gt;
&lt;P&gt;The paths and COM number may change in your setup.&lt;/P&gt;
&lt;P&gt;A2) I should have ansered the fisrt part of the second question in the first answer. For the algorithm path, you can find it in the following folder, for example for flash&amp;nbsp;S26HS512, which is used in the S32Z2280-594EVB board:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;C:\NXP\S32DS.3.6.0\S32DS\tools\S32FlashTool\flash\S26HSom512.bin&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;A3) Your understanding is correct, the core responsible to run the serial application is the SMU/M33, you can see this in the reference manual [page 3219, S32Z2 Reference Manual, Rev. 3.1, 07/2024]:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alejandro_e_2-1741904351144.png" style="width: 600px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/328043iC8C51FCE73B899D1/image-dimensions/600x81?v=v2" width="600" height="81" role="button" title="alejandro_e_2-1741904351144.png" alt="alejandro_e_2-1741904351144.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And for the whole program is loaded to the SRAM the core should be automatically started.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can get a better perspective on how to interact with the S32FT operations by checking the command line options, you can get a "preconfigured" set of commands by setting up your S32FT GUI, for example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alejandro_e_3-1741904685311.png" style="width: 625px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/328044iD98B93AFC0CEA56A/image-dimensions/625x114?v=v2" width="625" height="114" role="button" title="alejandro_e_3-1741904685311.png" alt="alejandro_e_3-1741904685311.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then clicking on the "Launch command prompt" button:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alejandro_e_4-1741904734510.png" style="width: 508px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/328045i62830988FC24B5D8/image-dimensions/508x207?v=v2" width="508" height="207" role="button" title="alejandro_e_4-1741904734510.png" alt="alejandro_e_4-1741904734510.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;a windows command line instance will appear, and in it some commands already configured for your setup will be available:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;# Retrieve existing COM ports
# S32FlashTool -i uart -p ?

# Retrieve connected, supported CAN adapters
# S32FlashTool -i can -p ?

# Retrieve Ethernet adapters
# S32FlashTool -i ethernet -p ?

# Load the target binary and read the MCUID
# S32FlashTool -t C:\NXP\S32DS.3.5\S32DS\tools\S32FlashTool\targets\S32Z2E2.bin -i uart -p COM27 -mcuid

# Load the target binary and the flash memory algorithm
# S32FlashTool -t C:\NXP\S32DS.3.5\S32DS\tools\S32FlashTool\targets\S32Z2E2.bin -a C:\NXP\S32DS.3.5\S32DS\tools\S32FlashTool\flash\S26HS512.bin,0,A -i uart -p COM27

# Read 0x100 bytes from the address 0x0000_0000 of the flash memory
# S32FlashTool -t C:\NXP\S32DS.3.5\S32DS\tools\S32FlashTool\targets\S32Z2E2.bin -i uart -p COM27 -fread -addr 0x00000000 -size 0x100

# Upload (program) a file [FILE] to the flash memory starting with address 0x0000_0000
# S32FlashTool -t C:\NXP\S32DS.3.5\S32DS\tools\S32FlashTool\targets\S32Z2E2.bin -i uart -p COM27 -fprogram -addr 0x00000000 -f [FILE]

# Upload a binary [FILE] to SRAM at address [ADDRESS] and execute it
# S32FlashTool -t C:\NXP\S32DS.3.5\S32DS\tools\S32FlashTool\targets\S32Z2E2.bin -i uart -p COM27 -addr [ADDRESS] -boot [FILE]

C:\NXP\S32DS.3.5\S32DS\tools\S32FlashTool\bin&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know if this information solved your questions.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 22:27:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Flash-tool/m-p/2061621#M13212</guid>
      <dc:creator>alejandro_e</dc:creator>
      <dc:date>2025-03-13T22:27:18Z</dc:date>
    </item>
  </channel>
</rss>

