Hi,
I am using NXP S32K312 to test secure boot functionality.
I have already run C:\NXP\HSE_DEMOAPP_S32K3XX_0_2_6_0 successfully on your S32K312 EVB.
Now I am using my own S32K312 to install HSE FW(inside the folder HSE_DEMOAPP_S32K3XX_0_2_6_0 ) and configure SHE Secure Boot in one project called S32K312_Hse_SecureBoot_AppCfg based on C:\NXP\S32K3_HSE_DemoExamples_1_0_0\S32K3_HSE_DemoExamples\Secure_Boot\S32K344_Hse_SHE_SecureBoot_Example, the authenticated app is generated by another project called S32K312_Hse_SecureBoot_AppBL, indicate the boot status by an GPIO flip, and you can find the boot header, linker file and S32K312_Hse_SecureBoot_AppCfg.hex as attached.
Now the problem is I am using Segger Jlink to debug the AppCfg project,
after she boot configuration the boot status below return HSE_SRV_RSP_OK, but when I reset the MCU, I can't monitor the GPIO flip(I can observe the flip when I run the AppBL program alone). Please help me figure out the problem.
/* Reads the SMR status*/
srvResponse = GetAttr(
HSE_SMR_CORE_BOOT_STATUS_ATTR_ID,
sizeof(hseAttrSmrCoreStatus_t),
(void *)(&smrCoreStatus_Get)
);
Hi,
First, please check whether your J-Link firmware is the newest one, or you can try another debugger tool (eg.: P&E Multilink).
Second, please check the clock, whether HSE_CLK is changed or not.
Best regards,
Hornby