AnsweredAssumed Answered

S32K116 with IAR doesn't start without debugger

Question asked by antoine monmarché on Jan 20, 2020
Latest reply on Feb 6, 2020 by Ian Chuter

Hello,

 

I'm using an S32K116 with an application compiled with IAR.

I'm using Segger J-Link debugger.

 

I can flash the SW using J-Link but when I reset the board without the debugger connected, the SW will not start.

I used IAR to "attahced to running target and found that the SW is stuck in HardFault_Handler from function init_data_bss at step /* Copy initialized data from ROM to RAM */.

 

What are the steps to investigate on this issue?

 

Thank you.

Outcomes