<?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>S32KのトピックRe: How to Write Identical ELF to Both Active and Passive Partitions on S32K3</title>
    <link>https://community.nxp.com/t5/S32K/How-to-Write-Identical-ELF-to-Both-Active-and-Passive-Partitions/m-p/2134098#M50918</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225309"&gt;@sochoi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In T32, you can use something like this:&lt;/P&gt;
&lt;P&gt;flash.reprogram.all&lt;BR /&gt;Data.Load.Elf "..\S32K344_DemoAppTemplate.elf" &lt;BR /&gt;Data.Load.Elf "..\S32K344_DemoAppTemplate.elf" 0x200000&lt;BR /&gt;flash.program off&lt;/P&gt;
&lt;P&gt;This will program the elf file to 0x400000 (i.e. to address given by linker file) and then the same elf file will be programmed second time with additional offset 0x200000 - that means to passive partition at 0x600000.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jul 2025 10:29:53 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2025-07-15T10:29:53Z</dc:date>
    <item>
      <title>How to Write Identical ELF to Both Active and Passive Partitions on S32K3</title>
      <link>https://community.nxp.com/t5/S32K/How-to-Write-Identical-ELF-to-Both-Active-and-Passive-Partitions/m-p/2133699#M50899</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We would like to write the same ELF file to both the Active and Passive partitions of an S32K3 device.&lt;/P&gt;&lt;P&gt;Currently, we're writing the ELF only to the Active partition using T32 JTAG with the following script:&lt;BR /&gt;---------------&lt;BR /&gt;FLASH.ReProgram ALL&lt;BR /&gt;(&lt;BR /&gt;Data.LOAD.auto "&amp;amp;elf"&lt;BR /&gt;)&lt;BR /&gt;FLASH.ReProgram OFF&lt;BR /&gt;DIALOG.MESSAGE "Load test ELF"&lt;BR /&gt;sys.reset&lt;BR /&gt;sys.u&lt;BR /&gt;----------------&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now, we're looking for a way to also write the same ELF to the Passive partition.&lt;BR /&gt;By "same ELF", we mean the ELF uses the same linker configuration and IVT structure.&lt;/P&gt;&lt;P&gt;We're exploring this approach to make secure boot testing more convenient under the AB_SWAP configuration.&lt;/P&gt;&lt;P&gt;Any suggestions or references for how to do this properly?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 03:21:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-Write-Identical-ELF-to-Both-Active-and-Passive-Partitions/m-p/2133699#M50899</guid>
      <dc:creator>sochoi</dc:creator>
      <dc:date>2025-07-15T03:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to Write Identical ELF to Both Active and Passive Partitions on S32K3</title>
      <link>https://community.nxp.com/t5/S32K/How-to-Write-Identical-ELF-to-Both-Active-and-Passive-Partitions/m-p/2134098#M50918</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225309"&gt;@sochoi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In T32, you can use something like this:&lt;/P&gt;
&lt;P&gt;flash.reprogram.all&lt;BR /&gt;Data.Load.Elf "..\S32K344_DemoAppTemplate.elf" &lt;BR /&gt;Data.Load.Elf "..\S32K344_DemoAppTemplate.elf" 0x200000&lt;BR /&gt;flash.program off&lt;/P&gt;
&lt;P&gt;This will program the elf file to 0x400000 (i.e. to address given by linker file) and then the same elf file will be programmed second time with additional offset 0x200000 - that means to passive partition at 0x600000.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 10:29:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-Write-Identical-ELF-to-Both-Active-and-Passive-Partitions/m-p/2134098#M50918</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2025-07-15T10:29:53Z</dc:date>
    </item>
  </channel>
</rss>

