How to add BOOT_MAC_KEY to secure flash

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

How to add BOOT_MAC_KEY to secure flash

1,047 Views
ponnitresa_kuri
Contributor III

I am working for bootloader using S32R274 controller,I need to add secure boot functionality using CSE module.

As i read there is updation of M1,M2..and so on.

But i just need to add only BOOT_MAC_KEY ,so that BOOT_MAC will be added after secure boot process .

Can anyone tell me how to update BOOT_MAC_KEY to secure flash memory.

3 Replies

902 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

this application note should help:

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

There are also example codes.

Regards,

Lukas

902 Views
ponnitresa_kuri
Contributor III

Hi

   Thanks for your information.

   But i would like to know how BOOT MAC key is calculated,

  Is BOOT MAC Key is part of M1,M2,M3 keys

0 Kudos

902 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

the BOOT_MAC_KEY can be updated in the same way as other keys using Load Key command. The sequence including sample code is described in Appendix A in the application note.

Regards,

Lukas

0 Kudos