STM32F10x EXTI problem

Sysprogs forums Forums VisualGDB STM32F10x EXTI problem

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7730
    Souphis
    Participant

    Hello.

    Currently I’m using trial version of VisualGDB and I’m testing it with project that I’ve made before with CoIDE. I’m programming STM32F103C8 and the wired problem is appearing which I didn’t meet before. The thing is, my project includes interrupts from line EXTI9_5 but the program after line executing “NVIC_EnableIRQ(EXTI9_5_IRQn);” jumps to:

    void __attribute__((naked, noreturn)) Default_Handler()
    {
    //If you get stuck here, your code is missing a handler for some interrupt.
    //Define a ‘DEBUG_DEFAULT_INTERRUPT_HANDLERS’ macro via VisualGDB Project Properties and rebuild your project.
    //This will pinpoint a specific missing vector.
    for (;;) ;
    }

    After commenting “NVIC_EnableIRQ(EXTI9_5_IRQn);” every thing works fine. Could anyone help me with this annoying problem?

     

    P.S. Sorry for my not awsome english.

    #7733
    support
    Keymaster

    Hi,

    Looks like you are missing an interrupt handler for some of the interrupts. Please define the DEBUG_DEFAULT_INTERRUPT_HANDLERS macro in VisualGDB Project Properties and try running your program again. You should then see which exact handler is missing.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.