Skip to main content
Visitor II
October 22, 2024
Solved

cube mx Debug pin Questions

  • October 22, 2024
  • 1 reply
  • 731 views
I would like to know why stlink is connected even though I disabled the debug pin in cubemx.

taeun_0-1729565852758.png

 

 

 

 

    This topic has been closed for replies.
    Best answer by Sarra.S

    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

    1 reply

    Sarra.SAnswer
    ST Employee
    October 22, 2024

    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

    taeunAuthor
    Visitor II
    October 23, 2024

    Thank you for your answer

     

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