Skip to main content
Bstan.1
Visitor II
Mar 5, 2022 4:06 AM UTC
Question

"Debugging" crashes program

Running a program on the stm32wl nucleo board works fine, but if I enable debugging it alwaus crashes. This does the same thing on my custom board. It's always the same signal handler0693W00000KbVNZQA3.png

This topic has been closed for replies.

1 reply

TDK
Mar 5, 2022 11:59 AM UTC

Look at VECTACTIVE bits to determine what interrupt it's in. Then determine why it's in that interrupt and why it's not where it should be.

Ensure SCB->VTOR is pointing to the correct place.

"If you feel a post has answered your question, please click ""Accept as Solution""."