(1) I had downloaded s32k3x4_hse_fw_1.5.0_2.1.0_pb220625.bin into S32K314 flash at 0x40_0000 by JLINK.
(2) After power off and power on again, I get 0x000000C1 from the 0x4039C028 address. So it means that “HSE FW is present and SBAF Booted HSE Firmware”.
(3) I also get 0x657669746361746F from the 0x1B000280 address. So it means that “HSE FW OTA feature is enabled”.
(4) Hse_Ip_GetHseStatus returns 0x0920
(5) But when I call Hse_Ip_ServiceRequest with HSE_SRV_ID_FIRMWARE_UPDATE, I get HSE_SRV_RSP_NOT_SUPPORTED. Does it mean that I cannot update HSE FW with the same version which is already in S32K314? I need to test my boot loader to check that my boot loader can update HSE FW successfully every time or not.
(6) The data pointed by hseSrv.firmwareUpdateReq.pInFwFile is in non-cacheable 0x20431C6C-0x20431CAB
(7) Hse_Ip_Init is called already before calling Hse_Ip_ServiceRequest.