encryption for data in SPI flash

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

encryption for data in SPI flash

跳至解决方案
680 次查看
sai-bodhanapu
Contributor I

hello, i am using s32k312 mcu with AUTOSAR drivers from latest RTD. i can see there are crypto drivers. can i use these drivers for encrypting my spi flash data?

please let me know.

Thanking you in advance.

0 项奖励
回复
1 解答
650 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @sai-bodhanapu 

Yes, the crypto drivers can be used to encrypt data in SPI memory. See the examples in the RTD package.
Notice that HSE firmware needs to be installed first. This is up to user, this is not programmed in the factory.

We provide document AN744810 “HSE FW install for S32K3xx” which describes how to install the firmware. It can be found in Documentation in Secure Files section:
https://www.nxp.com/products/processors-and-microcontrollers/s32-automotive-platform/s32k-auto-gener...

Then we provide HSE FW and HSE DEMOAPP as a part of S32K3 Standard Software package:
https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-STDSW-D
HSE DEMOAPP contains a number of scripts for Trace32 which shows how to do all the install – update – program operations. Document HSE_DEMOAPP_..._ReadMe.pdf explains how to use the scripts. The scripts can be modified per your needs.

Regards,

Lukas

在原帖中查看解决方案

0 项奖励
回复
2 回复数
648 次查看
sai-bodhanapu
Contributor I

thank you @lukaszadrapa, i will look into it

 

0 项奖励
回复
651 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @sai-bodhanapu 

Yes, the crypto drivers can be used to encrypt data in SPI memory. See the examples in the RTD package.
Notice that HSE firmware needs to be installed first. This is up to user, this is not programmed in the factory.

We provide document AN744810 “HSE FW install for S32K3xx” which describes how to install the firmware. It can be found in Documentation in Secure Files section:
https://www.nxp.com/products/processors-and-microcontrollers/s32-automotive-platform/s32k-auto-gener...

Then we provide HSE FW and HSE DEMOAPP as a part of S32K3 Standard Software package:
https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-STDSW-D
HSE DEMOAPP contains a number of scripts for Trace32 which shows how to do all the install – update – program operations. Document HSE_DEMOAPP_..._ReadMe.pdf explains how to use the scripts. The scripts can be modified per your needs.

Regards,

Lukas

0 项奖励
回复