Hi all
I have create a new project, the same that the provided EXTI. With its own libraries, etc. It gets compiled succesfully but when debugging the pointer stays at this function. The project is the same that EXTI example, therefore i do not understand and it is making me nuts.
I am using discoveryF4
void HardFault_Handler(void) { /* Go to infinite loop when Hard Fault exception occurs */ while (1) { } }
Thanks++Carlos
I have checked again and actually when i start debugging, the RUN button is disabled and the pointer is here:
; Reset handler Reset_Handler PROC EXPORT Reset_Handler [WEAK] IMPORT SystemInit IMPORT __main
LDR R0, =SystemInit BLX R0 => LDR R0, =__main BX R0 ENDP
When I STOP the code execution it goes to:
void HardFault_Handler(void) { /* Go to infinite loop when Hard Fault exception occurs */ => while (1) { } }
And it remains here forever!..
I hope it helps so you can help me :D
Thanks again
CarloSM
Maybe is missing startup_stm32f4xx.s file in your program.