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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

75件の閲覧回数
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 返答(返信)