Program debug getting struck in Hardfault handler and HAL_Delay()
Hi,
I am working with STM32G491RET6 custom board and for debugging I am using segger jlink debugger with STM32 Cube IDE 1.13.0. Everything working correctly like flashing and debugging.
1.But I don't know what happened suddenly while debugging program getting struck in either Hardfault_handler() or in below function.
__weak uint32_t HAL_GetTick(void)
{
return uwTick;
}
2.While debugging I get to know that only one time its going inside while loop next
time its going to either Hardfault handler or HAL_GetTick function.
3.I changed the jlink debugger also I am facing same issue.I took new project in cube ide I only checked GPIO toggle with that also same issue I am facing
4.With Development board same program working perfectly. Can anyone suggest what's going wrong .
Thanks
