2024-10-21 07:59 PM - edited 2024-10-21 08:01 PM
I would like to know why stlink is connected even though I disabled the debug pin in cubemx.
Solved! Go to Solution.
2024-10-22 02:13 AM - edited 2024-10-22 02:14 AM
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.
2024-10-22 02:13 AM - edited 2024-10-22 02:14 AM
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.
2024-10-22 07:54 PM
Thank you for your answer
Do you mean that even if you deactivate that pin in cubemx, the stlink will be connected?