Hi ,
When i start to debug my program ,
it is stucked in ;
__weak void HAL_IncTick(void)
{
uwTick += (uint32_t)uwTickFreq;
}
that function.
Can anyone to help me to solve the problem ??
What does “stuck in” mean in this case, as there are no loops in that function. If you break execution in the debugger, what is executing? You may need to look at the assembly code. Is it possible the interrupt is not being cleared so you immediately re-enter the handler when you exit? Or maybe the timer is configured to be so fast you spend most of the time in that function?
It’s worth also noting, that that is not code provided by ourselves.