Hardfault_handler with stm32f103

441 Views Asked by At

My code is getting stuck inside the HAL_Delay() of my code. On doing the step-into I found out that it is getting inside the hardfault_handler and because of which my code gets stuck inside the HAL_Delay().

Now the issue is that I am not able to get why my code is getting inside the hardfault_handler, I have not invoked any other interrupt, I also tried creating a project again and then running a simple blink led sketch but still, that does not work out and my code is getting stuck in hardfault_handler whenever I use HAL_Delay(). The controller I am using is STM32F103 Cortex M3.

0

There are 0 best solutions below