code not jumping to main after flashing hex for hse installation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

code not jumping to main after flashing hex for hse installation

557 Views
vikmonti7804
Contributor III

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.

0 Kudos
Reply
3 Replies

510 Views
MarkK11
Contributor I

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.

Best regard,
PublixPassport
0 Kudos
Reply

503 Views
vikmonti7804
Contributor III

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.

0 Kudos
Reply

514 Views
vikmonti7804
Contributor III

Kindly provide solution

 

0 Kudos
Reply