Hi,
We would like to write the same ELF file to both the Active and Passive partitions of an S32K3 device.
Currently, we're writing the ELF only to the Active partition using T32 JTAG with the following script:
---------------
FLASH.ReProgram ALL
(
Data.LOAD.auto "&elf"
)
FLASH.ReProgram OFF
DIALOG.MESSAGE "Load test ELF"
sys.reset
sys.u
----------------
Now, we're looking for a way to also write the same ELF to the Passive partition.
By "same ELF", we mean the ELF uses the same linker configuration and IVT structure.
We're exploring this approach to make secure boot testing more convenient under the AB_SWAP configuration.
Any suggestions or references for how to do this properly?
Thanks in advance.