• Debug single step and interrupts not executing

    KjO
    KjO

    I am trying to track down a hard to find issue on a Cortex-M4. Leading to a lot of single stepping.

    I have noticed that the CPU does not seem to process interrupts as expected when single stepping.

    E.g.

    Currently the CPU core has PRIMASK = 0 and ICSR…

    • 1 month ago
    • Processors
    • Cortex-M / M-Profile forum
  • Processor always jumps to default exception handler

    m3taw1lL
    m3taw1lL

    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…

    • Answered
    • 2 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • Cortex-M: Does the event register only get set when an IRQ changes from not pending to pending?

    m.wagner
    m.wagner

    I recently had a race-condition in an application on a Cortex-M4 microcontroller, because I used a wrong order of __SEV() and __WFE() instructions to put my chip to sleep. While debugging this issue, I wondered when exactly the event register does get…

    • over 1 year ago
    • Processors
    • Cortex-M / M-Profile forum
  • View related content from anywhere
  • More
  • Cancel