Hi everyone,
I am seeking advice regarding an issue where the HSE Firmware initialization fails to complete on an S32K324 custom board.
1. Development Environment
MCU: S32K324 (Custom Board)
HSE FW: s32k3x4_hse_fw_1.5.0_2.55.0_pb250130.bin.pink
Debugger: S32DS + T32 (Trace32)
2. Progress and Status Registers
Successfully programmed the HSE FW Usage Flag in the UTEST region (0x1B000000).
Downloaded the Pink Image binary into flash memory.
After performing a Power-On Reset (POR), the status registers are as follows:
0x4039C028 (HSE GPR): 0x01 (Installation confirmed)
0x4038C107 (HSE_STATUS_INIT_OK): 0x00 (Halted during boot)
3. Questions
I would like to ask the experts the following:
What is the very first thing I should check?
Since the installation succeeded but initialization failed, are there any specific registers (e.g., Fault status) I should dump or hardware signals to inspect to pinpoint the exact cause?
Can the Custom Board environment affect the initialization failure?
Since I am using a custom board, I suspect hardware differences (e.g., initial XTAL frequency) or the early clock (PLL) configuration code of the main core (M7) might be interfering with the HSE boot sequence. If this is a known issue, could you guide me on the recommended boot sequence (e.g., polling the INIT_OK flag before any clock setup) or potential solutions?
Any clues would be a great help. Thank you in advance for your support!
Hi there,
Thank you so much for the clear guidance.
First, I proceeded with the firmware installation using the demo app, and then dumped the MU and HSE GPR register values while in the system.up state. Please let me know if any of these register addresses are incorrect.
The results are as follows:
1. MU0 Registers (Base Address: 0x4038C000)
2. HSE GPR Registers (Base Address: 0x4039C000)
Could you please review these values? I would highly appreciate your expert opinion on whether these indicate a specific error cause, such as a clock configuration conflict or a firmware authentication failure.
Thank you again for your time and support!
Could you provide following information?
MU registers, FSR, GSR, etc:
HSE GPR3: