2024-12-17 11:47 AM
I'm using a STM32L151RBT6 and trying to debug with a STLink V3.
The debugger loses connection when I encounter the line:
Solved! Go to Solution.
2025-01-19 01:10 PM - edited 2025-01-19 01:10 PM
I found the problem was on a bad SWD cable, but interstingly it only crashes when changing the voltage scaling.
2025-01-06 06:58 AM
Hi @MVeen.1 ,
Please make sure to be aligned with the maximum CPU frequency allowed for Range 3 (as explained in this table):
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-01-19 12:17 PM
This happens to me as well in STM32H573RIT but when setting the VOS to 2 or 1 or 0.
2025-01-19 01:07 PM
Seems unrelated. You could perhaps drop the connection speed, to 500 KHz or 1 MHz
Perhaps open as a new question, or attach schematic of custom board to better understand your situation.
Something that's just started to fail?
2025-01-19 01:10 PM - edited 2025-01-19 01:10 PM
I found the problem was on a bad SWD cable, but interstingly it only crashes when changing the voltage scaling.