S32K3

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

S32K3

1,432 Views
youxi
Contributor IV

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

youxi_0-1696753009240.png

 

Tags (1)
10 Replies

1,400 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

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:

https://www.nxp.com/products/processors-and-microcontrollers/s32-automotive-platform/s32k-auto-gener...

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

0 Kudos

1,380 Views
youxi
Contributor IV

Hi @lukaszadrapa 

May BASIC SECURE BOOT want bootloader?

0 Kudos

1,374 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

0 Kudos

1,363 Views
youxi
Contributor IV

Decided to do advance secure boot.  Can I install SMR to a section of flash space of 0x400000 and 0x80000 without adding AppBL?

0 Kudos

1,338 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

0 Kudos

1,326 Views
youxi
Contributor IV

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?

youxi_0-1697513220988.png

youxi_1-1697519962291.png

 

0 Kudos

1,286 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

What's the life cycle?

lukaszadrapa_0-1697708273951.png

 

lukaszadrapa_1-1697708281629.png

Regards,

Lukas

0 Kudos

1,152 Views
youxi
Contributor IV

Hi @lukaszadrapa 

I need your help. The current LC is CUST_DEL. Which LC can install the SMR

0 Kudos

1,266 Views
youxi
Contributor IV

I haven't changed any of these functions and they run successfully.

youxi_0-1697768476492.png

 

0 Kudos

1,201 Views
youxi
Contributor IV
However, the smr still cannot be installed successfully
0 Kudos