Hi ,
I have ported the HSE firmware installation example code for s32K312.
I am able to install the HSE firmware after flashing the mcu and run it in debug mode but i am facing issue when i am flashing the hex file of the project directly then it is not installing the firmware because it is not jumping to the main after the reset the mcu .
I am using the installation with IVT. kindly look the linker file and boot_header.c file for your reference.
and provide the solution for the same.
To help you debug why your S32K312 is not jumping to main after flashing the hex file (but works in debug mode), we need to focus on a few key areas:
IVT and boot header configuration
Linker script alignment with IVT/bootloader
Reset vector and boot entry behavior
Possible watchdog resets or early faults
Since you've ported the HSE firmware installation with IVT and mentioned issues with standalone hex flashing, please share your linker script. Once I see those, I can help identify if there are misconfigurations or missing setup steps. mymilestonecard.com activate
If the issue is that the application is not starting after reset, but works in debug mode, it's almost always due to:
IVT pointing to wrong reset vector
HSE firmware address mismatch
Linker not placing IVT/boot_header in correct location
Reset vector section not mapped correctly
Hi ,
I had ported the example code given for the s32k344, i have checked and found that the linker file is same with s32k344 .
i have attached the files in the message . kindly check and let me know what i am doing wrong.
Hi,
For the S32K312, ensure the IVT and boot configuration are correctly set in your linker file and boot_header.c. Check the HSE GPR status register to confirm if the firmware is present. If issues persist, align your IVT update process with the NXP sample project, as improper IVT updates can cause boot failures.
Kindly provide solution