S32K312 HSE update NVM key

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

S32K312 HSE update NVM key

ソリューションへジャンプ
895件の閲覧回数
rakketi
Contributor II

Hi! I'm using an S32K312 together with HSE_B FW (2.6.0).

Right now I'm trying to import and update a AES key into key catalogue through HSE.

The first time when I set the key I receive  HSE_SRV_RSP_OK from HSE with the following key info: 

key_info.keyType = HSE_KEY_TYPE_AES;
key_info.keyFlags = (uint16_t)(HSE_KF_USAGE_ENCRYPT | HSE_KF_USAGE_DECRYPT | HSE_KF_USAGE_SIGN | HSE_KF_USAGE_VERIFY);
key_info.keyBitLen = 128;
key_info.keyCounter = 0;

I have verifed that the key is correct inside the HSE with AES calculations on the HW and external testing.

From my understanding I should be able to update the key value if I update keyCounter to exactly 1 from the previous key, which in my case should be 1 (I have tried multiple other numbers as well). But I receive response HSE_SRV_RSP_NOT_ALLOWED. 

The key catalogue is formatted to be HSE_KEY_OWNER_CUST, AES and correct size otherwise I wouldnt be able to import it in the first time.

I know that I'm CUST SuperUser as well (Hse Status = 0xb60). 

I dont know what can be wrong? I dont set write protection and debug protection... any ideas?

0 件の賞賛
返信
1 解決策
825件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @rakketi 

Sorry for the late response.

As the HSE information is under NDA, Could you please help me by creating a support ticket? 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
826件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @rakketi 

Sorry for the late response.

As the HSE information is under NDA, Could you please help me by creating a support ticket? 

0 件の賞賛
返信