Need help with the STM32F103 SysTick interrupt. (solved - self inflicted wound)
See my last post for details on the non-solution.
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Original post follows:
I've created a simple project that's intended to blink some LEDs every half second. As far as I can tell the SysTick interrupt never runs and the program goes off into the weeds.
I'm using Ozone and a J-link to debug the program with a F103EZ devboard as the target.
When I single step through the code I see the LEDs behave as expected. I can see the SysTick counter decrementing. I don't have the patience to single step until the counter gets to zero.
Everything behaves as expected when I single step. When I just let it run the LEDs never come on and, when I stop it, the PC and stack pointer are out in the weeds.
Here's the STM32cubeIDE project:
https://www.dropbox.com/s/jpml937l1ls98vd/temp.zip?dl=0
EDIT: By disabling the Systick interrupt and turning it into a polled system I am now functional.
I have no idea why.
I put a custom IRQ handler at EVERY location in the exception/IRQ table and it was never called so that means the SysTick interrupt wasn't firing. Why it went into the bushes is still a mystery to me.
I'm still hoping for some help in figuring out this mystery.
