Pointer stays at hardfault handler.

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

Parents
  • "but when debugging the pointer stays at this function"

    So aren't you able to get your code to do _anything_ except getting to this function?

    When debugging, it is normally possible to figure out either what source line gives this exception, or what event trigs it - like when the pin associated with your external interrupt toggles, resulting in the interrupt flag being set.

Reply
  • "but when debugging the pointer stays at this function"

    So aren't you able to get your code to do _anything_ except getting to this function?

    When debugging, it is normally possible to figure out either what source line gives this exception, or what event trigs it - like when the pin associated with your external interrupt toggles, resulting in the interrupt flag being set.

Children
More questions in this forum