S32k3 hse advance boot secure code

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

S32k3 hse advance boot secure code

4,389 次查看
vikmonti7804
Contributor III

Hi ,

 I am using S32k3 HSE example demo code and using S32k3 hse advance boot secure code.

I am building this code with S32 Design studio but getting one error below:

make: *** [makefile:58: S32K344_Advanced_SecureBoot.elf] Error 1

Can you help me to solve it? Please find the screenshot.

vikmonti7804_0-1701259276797.png

 

0 项奖励
回复
12 回复数

4,310 次查看
vikmonti7804
Contributor III

Hi Robin,

         I have seen the file but my question is that , is this blinky binary will also go into mcu while flashing the mcu with firmware.

2. Is this blincky file behave as bootloader file for this firmware?

kindly explain your answers

    

0 项奖励
回复

4,305 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Sorry I may not understand your question. Please correct me if there is something wrong with my answer.
1. Does this binary file blinky will also be flashed in the mcu?
Yes.
2. Is this blincky file behave as bootloader file for this firmware?
S32K344_SecureBootBlinky.bin is the application image in flash memory that need to be authenticated to perform secure boot.

Secure Boot Demo HSE_DEMOAPP_S32K3XX_0_2_1_0_ReadMe.png

 

0 项奖励
回复

4,369 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

Prior to build and execute the code, **the user needs to** :
- Access the linker file and change the current address where the security file is located to match a location in their computers.

Did you build S32K344_SecureBootBlinky project first and change the address of S32K344_SecureBootBlink.bin? (C:\NXP\S32K3_HSE_DemoExamples_1_0_0\S32K3_HSE_DemoExamples\Secure_Boot\S32K344_SecureBootBlinky)

Access the linker file and change the current address where the security file is located to match a location in their computers.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

4,219 次查看
vikmonti7804
Contributor III

Hi Robin,

        I see this file  S32K344_SecureBootBlink.bin used as appBL , so i just want to confirm is this file use as application code or bootloader file?

kindly confirm.

0 项奖励
回复

4,204 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Application code that blinks the LED.

S32K344_SecureBootBlinky provided Secure Application.png

0 项奖励
回复

4,193 次查看
vikmonti7804
Contributor III

Hi Robin,

          There are couple of questions, please answer .

Hi Robin,

 1.           I am also looking into the HSE_SHE secure boot example code which is using S32K344_SecureBoot_AppBL.bin file as input, Can you please give some details about this exaple code. Atlast we have to use HSE_SHE secure boot for our application.

2.  Where can I find the SYS_IMG for flash or is it bootloader file?

3. Can you provide one or two session training for the HSE secure boot on firmware level.

4. Which is better to adopt full memory or AB_Swap memory configuration? Advantages and disadvantages?

5. How to do The SMR installation service ? Explain with firmware screenshots or provide any good document because it is not clear in application note?

0 项奖励
回复

4,180 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

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)

 

0 项奖励
回复

4,168 次查看
vikmonti7804
Contributor III

Hi Robin,

           Thanks for the reply, I need to understand the SMR in better way.

1. How SMR is working and linked with application and images saved in NVM .

2. How SMR is linked with cpu subsystems.

Kindly provide good documents with images or flow chart, or please prepare some diagrams to understand. its not clear in nxp documents.

0 项奖励
回复

4,076 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

All the information related to the S32K3 SecureBoot is under NDA (Non-Disclosure Agreement) the information is not public, and I am not able to share it due to the security levels when working with an automotive part such as this.

Please download Secure Boot Overview Training, it is introduced starting on page 17/32 of this document.

download Secure Boot Overview Training from Secure Files.png

By the way, have you contacted your local FAE to ask if there are any HSE training videos?

0 项奖励
回复

4,197 次查看
vikmonti7804
Contributor III

Hi Robin,

            I am also looking into the HSE_SHE secure boot example code which is using S32K344_SecureBoot_AppBL.bin file as input, Can you please give some details about this exaple code. Atlast we have to use HSE_SHE secure boot for our application.

Kindly make a note and share for this example code in detail.

0 项奖励
回复

4,355 次查看
vikmonti7804
Contributor III

Thanks for your relpy.

I just want to know more, how this will work after flashing the code in mcu. Does this binary file blinky will also be flashed in the mcu or everytime this will try to find the file from computer. 

Because at last this all should go into mcu nothing will be on computer.

Can you please elaborate on this.

标记 (1)
0 项奖励
回复

4,318 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Please see S32K344_Advanced_SecureBoot/src/target/m7/S32DS/Linker_Files/standard/S32K344_flash.ld:

S32K344_SecureBootBlinky.bin AppBL.png

0 项奖励
回复