HI:
Our company now needs to add a new secure boot function to the product. Is there a simple secure boot routine for S32K3? The routine downloaded from the official website is too complicated, I is very difficult to understand
Hi @youxi
Let me share what we provide except HSE DEMOAPP (which is sometimes hard to read):
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)
And you can also check HSE examples in this package:
https://www.nxp.com/webapp/Download?colCode=S32K3_HSE_DemoExamples
The examples can be found here after installation:
c:\NXP\S32K3_HSE_DemoExamples_1_0_0\S32K3_HSE_DemoExamples\Secure_Boot\
Regards,
Lukas
May BASIC SECURE BOOT want bootloader?
It's completely up to you which secure boot mode will be used. It depends on your requirements. Generally, we recommend rather Advanced Secure Boot. SHE and Basic secure boot provides rather low protection.
Regards,
Lukas
Decided to do advance secure boot. Can I install SMR to a section of flash space of 0x400000 and 0x80000 without adding AppBL?
Sure, it's up to user to decide which areas will be covered. It depends on user's requirements. There are no HW or HSE restrictions.
Regards,
Lukas
Further super user privileges are required to install the SMR. I copied this function from the template engineering. And this function also returns the correct value when the code runs. But the SMR is never installed. The variables I need to use I have put in the no cache address. The CMAC has been generated successfully. Is there anything else to pay attention to?
What's the life cycle?
Regards,
Lukas
I need your help. The current LC is CUST_DEL. Which LC can install the SMR
I haven't changed any of these functions and they run successfully.