Script to write 128 bit Secure Boot Keys over SWD Interface

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

Script to write 128 bit Secure Boot Keys over SWD Interface

745 Views
prabhatg44
Contributor I
 
0 Kudos
Reply
2 Replies

738 Views
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 Kudos
Reply

704 Views
prabhatg44
Contributor I

Not able to find 4.4 secure boot in https://www.nxp.com/docs/en/application-note/AN12130.pdf

0 Kudos
Reply