CSEC S32K1

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

CSEC S32K1

549 次查看
QJ_HAPPY
Contributor I

I want to ask how do I determine whether the key of CSEC is encrypted when I use CSEC, because I cannot perform factory settings, and how do I determine whether the key is encrypted?thanks

0 项奖励
回复
1 回复

538 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @QJ_HAPPY 

Each key has 6 flag associated with it, one of these is Key Usage Flag (KEY_USAGE), that determines if a key is used for encryption/decryption or for CMAC generation/verification.
Regarding of how to return to the factory settings when CSE is enabled, the only way to restore it is with a mass erase, for this you need to run CMD_DBG_CHAL and CMD_DBG_AUTH commands to destroy the partition and then you can run mass erase. But if any CSEc key is ‘write-protected’ the above procedure will not work thus mass erase cannot be launched.

Take a look to these application notes, they will be useful for you.
Getting Started with CSEc Security Module 

Production Flash Programming Best Practices for S32K1xx MCUs 

 

B.R

VaneB

0 项奖励
回复