cancel
Showing results for 
Search instead for 
Did you mean: 

Can't upload to STM32G030F6P6

GJohn.4
Associate II

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!

3 REPLIES 3
TDK
Guru

> 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
Associate II

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 Employee

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