s32k312 HSE AB SWAP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

s32k312 HSE AB SWAP

79 Views
ruller
Contributor I

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?

0 Kudos
Reply
1 Reply

36 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @ruller 

Take a look at the thread How to enable the rollback function of HSE AB_SWAP on S32K3? It has some suggestions around rollback and recovery that might help with your implementation.

 

BR, VaneB

0 Kudos
Reply