cancel
Showing results for 
Search instead for 
Did you mean: 

cube mx Debug pin Questions

taeun
Associate II
I would like to know why stlink is connected even though I disabled the debug pin in cubemx.

taeun_0-1729565852758.png

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Sarra.S
ST Employee

Hello @taeun, welcome to ST Community, 

You might be still activating the SWD pins (PA13 as SWDIO and PA14 as SWCLK), if they are not explicitly inactive, the ST-LINK might still be able to connect.

Check section 4.1 SWD/JTAG pinout in AN4989

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.

View solution in original post

2 REPLIES 2
Sarra.S
ST Employee

Hello @taeun, welcome to ST Community, 

You might be still activating the SWD pins (PA13 as SWDIO and PA14 as SWCLK), if they are not explicitly inactive, the ST-LINK might still be able to connect.

Check section 4.1 SWD/JTAG pinout in AN4989

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.

Thank you for your answer

 

Do you mean that even if you deactivate that pin in cubemx, the stlink will be connected?