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.
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.
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.