S32K3

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K3

2,239 次查看
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

 

标记 (1)
10 回复数

2,207 次查看
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 项奖励
回复

2,187 次查看
youxi
Contributor IV

Hi @lukaszadrapa 

May BASIC SECURE BOOT want bootloader?

0 项奖励
回复

2,181 次查看
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 项奖励
回复

2,170 次查看
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 项奖励
回复

2,145 次查看
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 项奖励
回复

2,133 次查看
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 项奖励
回复

2,093 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

What's the life cycle?

lukaszadrapa_0-1697708273951.png

 

lukaszadrapa_1-1697708281629.png

Regards,

Lukas

0 项奖励
回复

1,959 次查看
youxi
Contributor IV

Hi @lukaszadrapa 

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

0 项奖励
回复

2,073 次查看
youxi
Contributor IV

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

youxi_0-1697768476492.png

 

0 项奖励
回复

2,008 次查看
youxi
Contributor IV
However, the smr still cannot be installed successfully
0 项奖励
回复