Debugger becomes unresponsive when enabling SysTick interrupt
I have a strange problem with the debugger that occurs when I enable the SysTick interrupt. The code works fine when not enabling it and can be debugged normally. Once I enable the SysTick interrupt by setting bit 0 of the SysTick.Control register, the debugger becomes unresponsive and does not stop at breakpoints any more. I left the interrupt priorities at their default values, all 0. I checked in the memory view that the interrupt vector is initialized and points to the correct code. However, the breakpoint at the interrupt handler code entry is never reached/triggered. I saw the other posts here regarding SysTick issues, but none of the suggestions there helped. The only hint I have is that when the debugger is stopped, I can see the PRIMASK register having a value of 1. Any ideas what could be wrong here?
- Klaus
(Windows 10, OpenOCD Version: 1.13.2.201703061529, BluePill board with STM32F103C8 @72MHz)