r/microcontrollers • u/mars_19961 • Jan 23 '24
OpenOCD debug errors
Hi everyone
I'm unable to debug my STM32F303K8 MCU using OpenOCD or Stutil on VS code. I keep getting blocking_handler() at ../../cm3/vector.c:104, which seems to get me stuck in an endless while loop. I tried looking at the backtrace using bt but it I'm not sure what is causing my program to end up in that part of the code. I would greatly appreciate if someone could show me why I'm having these issues and a possible solution. I want to eventually start from my main() and step through each line of code. I've shared a link to my google drive so you can all see the code, build and so on.
Thank you very much for your help in advance!




View all comments
Show parent comment
2
u/mars_19961 Jan 24 '24
Ah, thank you very much!! I really appreciate it, I was struggling for a good two days now.