2380138_en-US

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

2380138_en-US

2380138_en-US

HSE_SRV_ID_IMPORT_KEY returns HSE_SRV_RSP_INVALID_PARAM 0x55A5A399 on S32k314

Hello,

I'm currently working with S32K314 microcontroller, using S32K344_0_2_55_0 HSE with AB swap configuration.

I'm trying to import a AES CMAC key using service HSE_SRV_ID_IMPORT_KEY and it always return HSE_SRV_RSP_INVALID_PARAM. My current microcontroller state is:

- Lifecycle = CUST_DEL (0x04)

- INSTALL_OK = 0

I've try to create a custom AES catalogue. This request generates an error error HSE_SRV_RSP_NOT_ALLOWED 0xAA55A21.

I've make sure that all the buffers that parsed to HSE are located inside SRAM.

I even manage to run the erase service. It respond ok.

Given all the above I sill end up in HSE_SRV_RSP_INVALID_PARAM  error.

Any idea what I could check next?

Thank you in advance!

Re: HSE_SRV_ID_IMPORT_KEY returns HSE_SRV_RSP_INVALID_PARAM 0x55A5A399 on S32k314

Hello @lukaszadrapa .

Thank you for the quick response. 

I've tried to installed the key catalogue with a minimal configuration, but it was not successful. It respond with HSE_SRV_RSP_NOT_ALLOWED.

This is my catalogue configuration.

CosminSbera_0-1781250627017.png

Any tips on what I could check next?

Thank you in advance!

 

Re: HSE_SRV_ID_IMPORT_KEY returns HSE_SRV_RSP_INVALID_PARAM 0x55A5A399 on S32k314

Hi @CosminSbera 


If HSE_STATUS_INSTALL_OK is ‘0’, the catalogs are not formatted, so you can’t import a key.

How did you configured the catalogs?


Take a look at description of hseFormatKeyCatalogsSrv_t structure in HSE Service API reference manual:

c:\NXP\HSE_FW_S32K344_0_2_55_0\docs\S32K3X4_HSE_Service_API_Reference_Manual.pdf

There’s a list of requirements which need to be met.


And take a look at section “6.1.5.3 Key catalog formatting” in HSE firmware reference manual rev. 2.7. There’s a list of reasons why the formatting may fail.


Regards,

Lukas

タグ(1)
評価なし
バージョン履歴
最終更新日:
金曜日
更新者: