2025-10-27 12:12 PM
Hello,
as a first time user of STm32CubeIDE, I wanted to toggle a few IOs with a serial output.
I used the JTAG port to connect to the STM32 and program it BUT after the first programing, I can't connect to it anymore.....
Here is the pinout that I used:
Afterwards, I discovered that I should have activated the JTAG debug.... but it is too late.....
What can I do to access/program the STM32 again?
This might be a simple question but I would appreciate the help.
Thank you
2025-10-27 1:01 PM
Hi,
depends on..what st-link you use/have ?
usually, just connect "under reset" /hardware , then dont forget to set debug -> SWD .
And avoid using the pins needed for debug to abuse for anything else. :)