Hello,
On the S32K312, I'm trying to activate the Secure Debug feature using a routine in my embeded software
My code is doing the following :
- Read Secure debug Password (CUST_DB_PSWD_A @ UTEST 0x1B00 0080)
- if the Password is not set (all bytes @ 0xFF), program it
What I'm observing is that when the device is in Lifecycle CUST_DEL, this code is working correctly.
However, when the lifecycle is advanced to either OEM_PROD or IN_FIELD, reading the CUST_DB_PSWD_A triggers a bus fault exception.
I was not able to identify in the reference Manual that this was the expected behavior.
Is this normal ?
And if yes, how can the embedded code check if a custom secure Debug password is programmed or not, without trigerring an exception ?
Thank you