Hi:
Regarding the OTA upgrade of S32K312, I have some questions. The HSE firmware is ab_swap, ready for advanced security boot. The debug key and SMR are configured. When the OTA upgrade is performed, the new OTA upgrade package is placed in the passive partition. Then the ab side switch, this time OTA upgrade package how to get security verification? What is the logic of SMR?
First of all, we provide Secure Boot application note including demo projects which explains all the steps in detail. It can be downloaded from:
Application note can be found here:
Documentation -> Secure Files -> Secure Boot Application note v0.1.1.0 (AN744511)
Associated demo project can be downloaded here:
Design Resources -> Software -> Secure Files -> SecureBootAppNoteDemo (SW745310)
Pay attention to mainly to sections 7 and 8.
Hope it helps