Skip to main content
FMill.2
Associate
January 25, 2022
Solved

STM32G0 unable to connect via SWD

  • January 25, 2022
  • 2 replies
  • 1657 views

I tried to connect the STLink to the STM32G030K6T6 by connecting SWCLK SWDIO VDD and GND pins, but the STM32CubeProgrammer can't detect the MCU.

I also tried to check with the logic analizer the pins and there is only a little signal from the stlink but no response from the MCU.

I think the problem could be that the SWCLK and BOOT0 are in the same pin and this is pulled down internally. So how can I connect and program the STM32?

Thank you so much

This topic has been closed for replies.
Best answer by FMill.2

Okay I resolved by updating the STLink. Now it works. Thank you

2 replies

TDK
Super User
January 25, 2022

Is this chip powered? (ST-Link does not provide power)

Is this a custom board or known good hardware?

Is NRST high? Voltage levels okay? What is this history of the chip?

"If you feel a post has answered your question, please click ""Accept as Solution""."
FMill.2
FMill.2AuthorBest answer
Associate
January 26, 2022

Okay I resolved by updating the STLink. Now it works. Thank you

lorenzo meneghello_2
Associate III
April 8, 2022

I've the same problem but I'm using the ST-Link of the nucleo board, my version is V2.J39.S0. Any idea?

Thanks.