Skip to main content
Visitor
September 2, 2026
Question

STM32 MCU Connection Issue with ST-LINK

  • September 2, 2026
  • 1 reply
  • 16 views

I am currently working with an STM32 MCU and facing an issue while trying to connect the board to my PC using an ST-LINK debugger. The board powers on normally and there does not appear to be any obvious hardware issue, but STM32CubeProgrammer is unable to detect the target device. The connection attempt either fails or reports that no target is found, so I am currently unable to program or debug the MCU.

So far, I have checked the basic connections and setup:

  • USB cable and ST-LINK connection
  • Board power supply and voltage
  • SWDIO and SWCLK connections
  • STM32CubeProgrammer installation
  • ST-LINK firmware and connection settings

I am not sure if the problem could be caused by the MCU configuration, SWD interface, boot mode, or some setting that may have been changed in the firmware. I would also like to know if there are any recommended STM32CubeProgrammer options or recovery procedures that should be tried when the target MCU is not detected.

Has anyone experienced a similar issue with an STM32 MCU and ST-LINK? I would appreciate any suggestions for the best troubleshooting steps to identify whether this is related to the debugger, SWD connection, board configuration, or the MCU itself.

1 reply

Associate II
September 3, 2026

is there any error log can be shared?