Skip to main content
Visitor II
August 29, 2023
Question

VSCode Exception in Reset Handler

  • August 29, 2023
  • 0 replies
  • 908 views

I'm attempting to debug some code using Vscode and the STM32CubeCLT tools. I've Vector Table has been relocated to 0x8008200. Using the STM32CubeIDE, I have no problem debugging the software once I set the location of the Vector Table. However, if I attempt to debug the software using Vscode it immediately crashes after setting the stack pointer.

zetanaught_0-1693346712026.png

If I debug a project in Vscode that doesn't have the Vector Table relocated everything works correctly. Am I missing a step here? Does GDB have to be informed that the Vector Table has been moved?

This topic has been closed for replies.