Hello NXP team:
I am developing secure boot using HSE on S32K324.
I have installed the HSE firmware(A/B swap) on the chip and HSE module is working.(ex: can read the HSE version by service)
I wanted to familiarize how to use the HSE module, so I downloaded the sample code (S32K3XX_demo_app) from the official website and execute it.
But now I have a problem, and I describe my test steps:
1. Run the sample code(S32K3XX_demo_app), and the program stays at line 155.

2. I set the variable gRunExampleTest to APP_SECURE_BOOT_CONFIGURED in the Expressions window, and the program will enter line 241.

3. Enter the function SecureBootService(),
3-1:execute HSE_EraseKeys() return HSE_SRV_RSP_OK →
FormatKeyCatalog() return HSE_SRV_RSP_OK →
ImportSymmetricKeys() return HSE_SRV_RSP_OK
3-2:execute SecureBootConfiguration() → ConfigureBasicSecureBoot() →
Check_DebugKey_status() return HSE_SRV_RSP_NOT_ALLOWED

My qusetion: How can I make Check_DebugKey_status() return HSE_SRV_RSP_OK?
The question has troubled me for a long time.
I hope to get a reply as soon as possible.
Thanks.