<?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: How to flash multi hex files? in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-flash-multi-hex-files/m-p/2057840#M13147</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it works with .elf files (unfortunately I'm not able find example) - but I didn't test hex file. I'll try to figure out. Your commands looks okay.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a workaround you can use srec tool -&amp;nbsp;&lt;A href="https://srecord.sourceforge.net/" target="_blank"&gt;https://srecord.sourceforge.net/&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and merge your hex files before flashing:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;srec_cat a.hex -intel b.hex -intel c.hex -intel -o mergedfile.hex -intel&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Mar 2025 12:11:11 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2025-03-07T12:11:11Z</dc:date>
    <item>
      <title>How to flash multi hex files?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-flash-multi-hex-files/m-p/2051588#M13120</link>
      <description>&lt;P&gt;When I load using the S32DS program, all Hex files are loaded by performing a single erase with these commands, but when I load by opening the Server and Client with CMD, everything in all hex files is erased with the erase command and only the last hex file remains. How can I load 3 hex files by performing the erase operation at the beginning like here?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Server Command:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;pegdbserver_power_console -device=MPC5775E -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=5000 -port=USB1 -resetdelay=1000&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Client Commands:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;target remote 127.0.0.1:7226&lt;BR /&gt;monitor preserve0 0&lt;BR /&gt;load "./bin/Bm_0_4_3.hex"&lt;BR /&gt;load "./bin/Fbl_0_4_3.hex"&lt;BR /&gt;load "./bin/PEU_Container_0_4_3.hex"&lt;BR /&gt;monitor endmultiload&lt;BR /&gt;monitor selectcore 0&lt;BR /&gt;continue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;S32DS Commands:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;GNU gdb (GDB build.sh rev=gceb1328 s=F494 -i /opt/freescale ELe200 -V release_gceb1328_build_Fed_ELe200_ML3 (BLD = 1607)) 7.8.2&lt;BR /&gt;Copyright (C) 2014 Free Software Foundation, Inc.&lt;BR /&gt;License GPLv3+: GNU GPL version 3 or later &amp;lt;&lt;A href="http://gnu.org/licenses/gpl.html" target="_blank"&gt;http://gnu.org/licenses/gpl.html&lt;/A&gt;&amp;gt;&lt;BR /&gt;This is free software: you are free to change and redistribute it.&lt;BR /&gt;There is NO WARRANTY, to the extent permitted by law. Type "show copying"&lt;BR /&gt;and "show warranty" for details.&lt;BR /&gt;This GDB was configured as "--host=i686-w64-mingw32 --target=powerpc-eabivle".&lt;BR /&gt;Type "show configuration" for configuration details.&lt;BR /&gt;For bug reporting instructions, please see:&lt;BR /&gt;&amp;lt;&lt;A href="http://www.gnu.org/software/gdb/bugs/" target="_blank"&gt;http://www.gnu.org/software/gdb/bugs/&lt;/A&gt;&amp;gt;.&lt;BR /&gt;Find the GDB manual and other documentation resources online at:&lt;BR /&gt;&amp;lt;&lt;A href="http://www.gnu.org/software/gdb/documentation/" target="_blank"&gt;http://www.gnu.org/software/gdb/documentation/&lt;/A&gt;&amp;gt;.&lt;BR /&gt;For help, type "help".&lt;BR /&gt;Type "apropos word" to search for commands related to "word".&lt;BR /&gt;monitor preserve0 0&lt;BR /&gt;load C:\\Test\\TOGG_Power_Electronic_Unit\\SW_DOSYALARI\\TEST_SW_SAYISAL\\11_24TSAYI01_SW\\11_24TSAYI01_SW\\s32\\bin\\Bm_0_4_3.hex&lt;BR /&gt;Loading section .sec1, size 0x40000 lma 0x800000&lt;BR /&gt;Start address 0x800148, load size 262144&lt;BR /&gt;Transfer rate: 800 KB/sec, 1106 bytes/write.&lt;BR /&gt;load C:\\Test\\TOGG_Power_Electronic_Unit\\SW_DOSYALARI\\TEST_SW_SAYISAL\\11_24TSAYI01_SW\\11_24TSAYI01_SW\\s32\\bin\\Fbl_0_4_3.hex&lt;BR /&gt;Loading section .sec1, size 0x80000 lma 0x840000&lt;BR /&gt;Start address 0x840000, load size 524288&lt;BR /&gt;Transfer rate: 702 KB/sec, 1108 bytes/write.&lt;BR /&gt;load C:\\Test\\TOGG_Power_Electronic_Unit\\SW_DOSYALARI\\TEST_SW_SAYISAL\\11_24TSAYI01_SW\\11_24TSAYI01_SW\\s32\\bin\\PEU_Container_0_4_3.hex&lt;BR /&gt;Loading section .sec1, size 0x8 lma 0x8c0000&lt;BR /&gt;Loading section .sec2, size 0x492 lma 0x8c0020&lt;BR /&gt;Loading section .sec3, size 0x40 lma 0x8c04b8&lt;BR /&gt;Loading section .sec4, size 0x44 lma 0x8c0800&lt;BR /&gt;Loading section .sec5, size 0x15b45c lma 0x8c0848&lt;BR /&gt;Loading section .sec6, size 0x4 lma 0xa1bca8&lt;BR /&gt;Loading section .sec7, size 0x279e4 lma 0xa1bcb0&lt;BR /&gt;Loading section .sec8, size 0x140 lma 0xa44000&lt;BR /&gt;Loading section .sec9, size 0x140 lma 0xa45000&lt;BR /&gt;Loading section .sec10, size 0x4 lma 0xa46000&lt;BR /&gt;Loading section .sec11, size 0x820 lma 0xa47000&lt;BR /&gt;Loading section .sec12, size 0x2154 lma 0xa48000&lt;BR /&gt;Loading section .sec13, size 0x542 lma 0xa4a158&lt;BR /&gt;Loading section .sec14, size 0x2c lma 0xa4a6a0&lt;BR /&gt;Loading section .sec15, size 0x1d54e lma 0xa4a6d0&lt;BR /&gt;Loading section .sec16, size 0x9280 lma 0xbcbfb0&lt;BR /&gt;Loading section .sec17, size 0xb910 lma 0xbdc000&lt;BR /&gt;Loading section .sec18, size 0xc990 lma 0xbec000&lt;BR /&gt;Loading section .sec19, size 0x8 lma 0xbfffa0&lt;BR /&gt;Loading section .sec20, size 0x28 lma 0xbfffb0&lt;BR /&gt;Loading section .sec21, size 0x20 lma 0xbfffe0&lt;BR /&gt;Start address 0x1, load size 1855366&lt;BR /&gt;Transfer rate: 736 KB/sec, 1088 bytes/write.&lt;BR /&gt;monitor endmultiload&lt;BR /&gt;monitor selectcore 0&lt;BR /&gt;No symbol table is loaded. Use the "file" command.&lt;BR /&gt;continue&lt;BR /&gt;Continuing.&lt;/P&gt;&lt;P&gt;Program received signal SIGINT, Interrupt.&lt;BR /&gt;0x0000b8f0 in ?? ()&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 09:19:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-flash-multi-hex-files/m-p/2051588#M13120</guid>
      <dc:creator>fatcolk28</dc:creator>
      <dc:date>2025-02-26T09:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to flash multi hex files?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-flash-multi-hex-files/m-p/2057840#M13147</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it works with .elf files (unfortunately I'm not able find example) - but I didn't test hex file. I'll try to figure out. Your commands looks okay.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a workaround you can use srec tool -&amp;nbsp;&lt;A href="https://srecord.sourceforge.net/" target="_blank"&gt;https://srecord.sourceforge.net/&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and merge your hex files before flashing:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;srec_cat a.hex -intel b.hex -intel c.hex -intel -o mergedfile.hex -intel&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 12:11:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-flash-multi-hex-files/m-p/2057840#M13147</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2025-03-07T12:11:11Z</dc:date>
    </item>
  </channel>
</rss>

