We provide this application note:
https://www.nxp.com/webapp/Download?colCode=AN13465
It’s updated version of Secure Boot application note v0.1.1.0 (AN744511) released in 2021 which can be downloaded from:
https://www.nxp.com/products/S32K3
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)
The software was not updated, so use mentioned SW745310 if you are interested.
Other examples for secure boot can be found in HSE Demo Examples (recommended):
https://www.nxp.com/webapp/Download?colCode=S32K3_HSE_DemoExamples
There are examples for all three modes – advanced secure boot, basic secure boot and SHE secure boot.
Generally, advanced secure boot mode is recommended. Yes, it is not trivial task to configure the secure boot in this mode. However, it provides the best protection and configurability. The advantage is that you can select any signature scheme you want, you can cover multiple regions and you can configure different sanctions if the secure boot fails.
On other hand, basic secure boot mode always uses only GMAC tag which is calculated using a key derived from ADKP and it can cover one region only. If it fails, the device goes directly to recovery mode.
I recommend to study following projects in HSE DemoExamples:
S32K344_Advanced_SecureBoot
S32K344_Basic_SecureBoot
These are configuration projects which are supposed to protect application S32K344_SecureBootBlinky which is linked to those projects.
Regards,
Lukas