Script to write 128 bit Secure Boot Keys over SWD Interface

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Script to write 128 bit Secure Boot Keys over SWD Interface

ソリューションへジャンプ
1,293件の閲覧回数
prabhatg44
Contributor I
0 件の賞賛
返信
1 解決策
1,289件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

First let me share this application note about the production programming:

https://www.nxp.com/docs/en/application-note/AN12130.pdf

 

Then we have application note AN5401 describing CSE operations:

https://www.nxp.com/webapp/Download?colCode=AN5401

https://www.nxp.com/webapp/Download?colCode=AN5401SW&docLang=en

 

It thoroughly describes how to configure the device and how to use the security features. My recommendation is to read whole section “4.4 Secure Boot”. SW examples are included.

 

Example “1_Configure_part_and_Load_keys” shows how to enable the CSE by partition command and how to load kyes. Example “4_secure_boot_add_BOOT_MAC_manual” shows how to enable secure boot, how to load boot mac key and how to add the MAC (either manually or automatically).

 

The examples show all steps which needs to be done. One option is to rewrite the steps to your scripting language and run it via SWD interface. Second option is to use these RAM projects (or you can write your own projects depending on your needs), so your SWD tool can load the image to RAM and execute it.

Regards,

Lukas

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,290件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

First let me share this application note about the production programming:

https://www.nxp.com/docs/en/application-note/AN12130.pdf

 

Then we have application note AN5401 describing CSE operations:

https://www.nxp.com/webapp/Download?colCode=AN5401

https://www.nxp.com/webapp/Download?colCode=AN5401SW&docLang=en

 

It thoroughly describes how to configure the device and how to use the security features. My recommendation is to read whole section “4.4 Secure Boot”. SW examples are included.

 

Example “1_Configure_part_and_Load_keys” shows how to enable the CSE by partition command and how to load kyes. Example “4_secure_boot_add_BOOT_MAC_manual” shows how to enable secure boot, how to load boot mac key and how to add the MAC (either manually or automatically).

 

The examples show all steps which needs to be done. One option is to rewrite the steps to your scripting language and run it via SWD interface. Second option is to use these RAM projects (or you can write your own projects depending on your needs), so your SWD tool can load the image to RAM and execute it.

Regards,

Lukas

0 件の賞賛
返信
1,244件の閲覧回数
prabhatg44
Contributor I

Thank you for sharing the code I have implemented those codes using Keil compiler for NXP S32K116 microcontroller. So, how I should make sure whatever I flashed is implemented or not in the microcontroller(To explain to other people).

0 件の賞賛
返信