Skip to main content
GJohn.4
Associate II
March 1, 2022
Question

Can't upload to STM32G030F6P6

Hello,

I am working on a custom board using the STM32G030F6P6 chip and I am having trouble connecting to and programming the chips over SWD. I am unable to program the chips from CubeIDE and CubeProgrammer.

CubeIDE gives the error message:

Error in initializing ST-LINK device.

Reason: No device found on target.

and CubeProgrammer gives the error: ST-LINK error (DEV_CONNECT_ERR)

I have used various F series and G070 chips on custom boards in the past and haven't seen this issue before and I've tested three of these chips with no luck yet, can anyone help with this? Thanks!

This topic has been closed for replies.

3 replies

TDK
March 1, 2022

> Reason: No device found on target.

Generally means there's a hardware issue.

Is the board powered? Orientation correct? VDD present and in range? VDDA connected to VDD? VCAP correct?

"If you feel a post has answered your question, please click ""Accept as Solution""."
GJohn.4
GJohn.4Author
Associate II
March 1, 2022

A hardware issue was my first though but I haven't been able to find anything yet. The chip is getting power and orientation and VCAP are correct. There's only one VDD pin on this chip, no VDDA. Continuity on the programming lines tests good as well.

mattias norlander
ST Technical Moderator
March 3, 2022

Adding the topic "ST-Link" to be visible in that forum feed too, which should be the most relevant one.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.