cancel
Showing results for 
Search instead for 
Did you mean: 

Last resort to connect to an STM32 when JTAG deactivate.....

Ced77fr
Visitor

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:

Ced77fr_0-1761592130739.png

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

1 REPLY 1
AScha.3
Super User

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. :)

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