[Security] Clear ALL Keys

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

[Security] Clear ALL Keys

跳至解决方案
2,950 次查看
Gideon
Contributor III

Dear NXPs:

uSFE = false;

The Key attribute of MASTER_ECE_KEY is set to: Write Prot = 0; Boot Prot = 1; Debugger Prot = 1; KeyUsage = 1; Wild card = 1;

Then I want to call the bool eraseKeys(void) interface (csec_utils.h) to Clear all keys. But when

The bool getUID(uint8_t *uid) function returned a STATUS_SEC_KEY_NOT_AVAILABLE error when calling the CSEC_DRV_GetID interface. What should I do to erase all keys?

0 项奖励
回复
1 解答
2,929 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Gideon 

it makes sense. If you used: Boot Prot = 1; Debugger Prot = 1;

... then:

lukaszadrapa_0-1716292349255.png

 

So, the secure boot must be successful and debugger can't be connected to be able to use the key.

Regards,

Lukas

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,930 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Gideon 

it makes sense. If you used: Boot Prot = 1; Debugger Prot = 1;

... then:

lukaszadrapa_0-1716292349255.png

 

So, the secure boot must be successful and debugger can't be connected to be able to use the key.

Regards,

Lukas

0 项奖励
回复
2,901 次查看
Gideon
Contributor III

Dear lukaszadrapa:

Got it, thanks for the reply. Is there any way I can erase all keys?

0 项奖励
回复