Why is this UID value set to 0 in the example code?

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

Why is this UID value set to 0 in the example code?

跳至解决方案
1,509 次查看
InhyeokHwang
Contributor III

Hi NXP teams

I saw that UID is a unique value for each microcontrollers and it's set on the manufacturing process.

But in the process of the loadkey in the cse example code (cse_keyconfig_mpc5777c), I can see that uid is defined with value 0. 

Why is this so?

uid.PNG

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

Hi @InhyeokHwang 

this is called wildcard UID and it is given by SHE specification.

All keys can be initially loaded using wildcard UID 0. Each key (except RAM key) have WILDCARD attribute. If you set this bit while loading a key, it's not possible to use wildcard UID anymore for this key. If you keep it '0', wildcard UID can be used also for updates of that key.

Regards,

Lukas

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,500 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @InhyeokHwang 

this is called wildcard UID and it is given by SHE specification.

All keys can be initially loaded using wildcard UID 0. Each key (except RAM key) have WILDCARD attribute. If you set this bit while loading a key, it's not possible to use wildcard UID anymore for this key. If you keep it '0', wildcard UID can be used also for updates of that key.

Regards,

Lukas

0 项奖励
回复