STM32G030 Will Not Program. Please help!
Hello,
My company recently rolled 20 boards with STM32G030's. We have a lot of experience working with the G070 but not the G030 MCU.
We're having a tremendous amount of trouble programming these. The MCU will not connect with either CubeProgrammer or CubeIDE.
We've used both an STLink V2 and STLink V3 Mods. We know the programmers are working because they program our G070 boards without issue.
Here is the console output from CubeIDE. It's the standard no device on target message.
STMicroelectronics ST-LINK GDB server. Version 6.0.0
Copyright (c) 2021, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 41234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
InitWhile : Enabled
Target no device found
Error in initializing ST-LINK device.
Reason: No device found on target.And here is the pop-up message.
Error in final launch sequence:
Failed to start GDB server
Failed to start GDB server
Error in initializing ST-LINK device.
Reason: (4) No device found on target.We've verified that the target is powered and looked at the signal's coming out of the STLink.
SWDIO:
SWCLK:
RST:
I'm not exactly sure what these are supposed to look like, so any comment would be appreciated. I know the programmer works with the other boards so I assume they are correct.
Attached is our project file. I don' think there is anything in code or configuration that should be causing this.
I'm also going to attach our schematic and layout. Maybe the issue is somewhere in there?
Thanks in advance for any help! I've been pulling out my hair for two weeks trying to get this figured out and have gotten nowhere. With the community help I'm sure we can get it sorted.
Ryan
