[Security] S32K142 after enable CSEc module, cannot return to factory mode.

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

[Security] S32K142 after enable CSEc module, cannot return to factory mode.

901 次查看
chunmei_tu
Contributor I

Dear all:

After I lunch the Partition Command, I can use the CSEc module. With the example "csec_boot_protection_s32k142", secure boot also success.

But in one test process, the eraseKeys() function cannot set the FCSESTAT->IDB bit to 1, the chip can reset flash to the factory state.

After found this problem, I tried follow test :

1. try to use setAuthKey() function to set CSEC_MASTER_ECU, failed error is STATUS_SEC_KEY_UPDATE_ERROR.

2.try to use loadKey(CSEC_MASTER_ECU, g_authIdKey, 2, 0) to update the master key, also failed, error code is STATUS_SEC_KEY_UPDATE_ERROR.

3.try again eraseKeys() function, found in getUID() -->CSEC_DRV_GetID() function, read out error bits is STATUS_SEC_KEY_NOT_AVAILABLE.

 

Now I'm not sure what status is the chip in, and what should I do to make the chip to the factory state. Hope you can help me to analysis this problem, thanks very much.

 

标记 (4)
0 项奖励
回复
0 回复数