Skip to main content
Sungjae Kim
Associate II
January 16, 2025
Solved

No STM32 target found - STM32G030K6T6

  • January 16, 2025
  • 1 reply
  • 1620 views

Hi, I'm making a board for UART and I2C communication.

Please refer to the schematic below;

 

SungjaeKim_0-1737011644144.png

 

I put 5V External power supply at VBUS,

and connects SWDIO, SWCLK, NRST, 3V3, GND to the STLINK V3 Minie.

 

However it shows "No STM32 target found" message on STM32CubeProgrammer when I clicked "Connect" button.

Since the "Target voltage" shows 3.31V, I think there is no power problem.

Is there something that I missing?

Please let me know.

Thank you.

Best answer by STTwo-32

Hello @Sungjae Kim 

What I can see is that you are using PA13 as SWCLK and PA14-BOOT0 as SWDIO. But according to the Table 12 of the DS12991 Rev4 , you should be using PA13 as SWDIO and PA14-BOOT0 as SWCLK:

STTwo32_0-1737013121419.png

 

Best Regards.

STTwo-32

 

1 reply

STTwo-32
STTwo-32Best answer
Technical Moderator
January 16, 2025

Hello @Sungjae Kim 

What I can see is that you are using PA13 as SWCLK and PA14-BOOT0 as SWDIO. But according to the Table 12 of the DS12991 Rev4 , you should be using PA13 as SWDIO and PA14-BOOT0 as SWCLK:

STTwo32_0-1737013121419.png

 

Best Regards.

STTwo-32

 

Sungjae Kim
Associate II
January 16, 2025

STTwo-32, Thank you for prompt reply and catching my mistake.

I have twisted SWCLK and SWDIO, now it recognized successfully.

Thank you and have a nice day :)

Peter BENSCH
Technical Moderator
January 16, 2025

@Sungjae Kim And please do yourself a favor and connect a 100nF from pin NRST to GND, which guarantees a clean reset at power-up.