hi:
I am currently using the AB swap function with HSE on the S32K312.
For example, the program is currently running from Partition A. During the first update, we erase/program the flash in Partition B, and then call the HSE interface to enable Partition B. At this point, no reset is performed.
During the second update, we still erase/program the flash in Partition B. However, if power is lost during the programming process and the device is powered on again, the program fails to run.
I would like to ask: if we enable Secure Boot, can we use SMR and Secure Recovery Mode to implement software-based switching/jumping between Partition A and Partition B?