Hi,
I am trying to advance lifecycle of the board from CUST_DEL to OEM_PROD. For this I am using HSE_SRV_ID_SET_ATTR srvid and attribute is hseAttrSecureLifecycle_t. still I am getting HSE_SRV_RSP_INVALID_PARAM.
Can you please help me with this?
Microcontroller: S32K312
SDK: PlatformSDK_S32K3_2022_03
Hi @shravani
Could you share how you are advancing the Life Cycle? Also, just to confirm, did you already set the ADK/P? The Life Cycle attribute can be set only once and only if the ADK/P is already set in UTEST.
B.R.
VaneB
Hi @VaneB ,
Please find below snap for advancing LC.
Also, I have provisioned ADKP. I am getting positive response from HSE. Is there any other way to confirm this?
Hi @shravani
Please refer to the function Advance_LifeCycle_Service() provided with the S32K3 MCUs for General Purpose HSE Demo Examples. This function checks if LC is CUST_DEL and if the ADKP is programmed, if yes it advances the Life Cycle.
@VaneB Yes, I am checking but still I am getting INVALID_PARAM error.
Hi @shravani
If it is possible could you share your code?