2022-12-22 07:48 PM
I am getting hard fault in access the HAL_Delay API.
PFA for call stack
can anyone help me on this problem
thanks.
hard fault-->forced hard fault -- undefined instruction error.
2022-12-22 08:10 PM
So look at the instruction or PC that's actually faulting.
Not the C, but the assembler and the registers.
I'd suppose this is something that's interrupting, and trashing the memory or stack.