S32K324 advance Lifecycle by using HSE Interface failed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K324 advance Lifecycle by using HSE Interface failed

1,599 Views
xuqian
Contributor I

Hi all,

        I am using the HSE interface of S32K3 and would like to adjust the lifecycle of my board to OEM_ PROD has been unable to succeed, and the HSE interface return value is 0xAA55A21CUL (HSE-SRV-RSP_NOTALLOWED @ brief The operation is not allowed because of some restrictions (in attributes, life cycle dependent operations, key management, etc.). I have successfully written ADKP and upgraded SBAF to the latest version. Currently, I am using AB swap mode with a current lifecycle of CUST_DEL. May I ask what other possible reasons are preventing me from updating the lifecycle。

Tags (3)
0 Kudos
Reply
2 Replies

1,114 Views
SethWang
NXP Employee
NXP Employee

Hi xuqian,

Did you find the root cause of the issue?

Can you share how you solved this issue?

My client encountered the same issue.

 

Thanks!

Regards

Seth

0 Kudos
Reply

1,569 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @xuqian 

The Lifecycle should be advanced using HSE_SECURE_LIFECYCLE_ATTR_ID (see hseAttrSecureLifecycle_t). The Life Cycle attribute can be set only once (UTEST attribute) and only if the ADK/P is already set in UTEST.

The following code is an example of how to advance the LC.

void HSE_AdvanceLifecycle(hseAttrSecureLifecycle_t targetLifeCycle)
{
    hseSrvResponse_t srvResponse;
    hseAttrSecureLifecycle_t lifeCycleToSet;

    /* WARNING: This operation is irreversible */
    /* Advance the Life Cycle to target value */
    lifeCycleToSet = targetLifeCycle;
    srvResponse = SetAttr(HSE_SECURE_LIFECYCLE_ATTR_ID,
            sizeof(hseAttrSecureLifecycle_t), (void *)&lifeCycleToSet);
    ASSERT(HSE_SRV_RSP_OK == srvResponse);
}

For more information, as most of the HSE's information is under NDA (Non-Disclosure Agreement), the information is not public, and I am not able to share it due to the security levels when working with an automotive part such as this. So, please create a support ticket or contact your NXP representative for further support in this part. 

 

B.R.

VaneB

0 Kudos
Reply