Good day,
My code for configuring the NVIC and peripheral interrupts are already working as expected, but the only problem now is the debugger shows that the processor always jumps to the default handler (__default_handler) and never on my defined interrupt handler whenever I trigger the interrupt source.
I already added the specific interrupt vector in the vector table from the file vector_table_M.s and included it in my project. Am I missing something else?
Hardware: Tiva C Launchpad from TI
IDE: IAR Embedded Workbench
Thanks for any help,
William
Hmm. A similar issue came up in another forum. Are you using C++ (or just naming your files .cpp), by any chance, rather than C?C++ does "name mangling", so putting a function definition for EIC_handler() in a .cpp file won't actually create a a link-time symbol called EIC_handler, unless you've wrapped in an extern "C" {} block.
https://community.atmel.com/comment/3052936#comment-3052936
That's interesting.. but no, I'm strictly using C right now.