cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to detect STMG071CB standalone with STLink V2

UMoha.1
Associate

Hi everyone,

I've got a brand new STM32G071CB, just the bare chip, and I'm having trouble connecting to the chip at all.

I've got the chip soldered to a breakout, and that is inserted into a breadboard. I've set up my circuit exactly as described in this getting started guide, check out Figure 15.

I've got an ST-Link V2 (the chinese clones, the small USB flash drive ones), and I'm trying to at least read the chip via STM32CubeProgrammer. No matter what I do, no matter the settings, I always get the following output:

12:16:25:767 : STLinkUSBDriver.dll loaded

12:16:25:770 : STLinkUSBDriver.dll loaded

12:16:25:770 : ST-LINK SN : 3837130012144D43574D4E00

12:16:25:771 : ST-LINK FW : V2J37S7

12:16:25:775 : Board : --

12:16:25:777 : Voltage : 3.16V

12:16:25:793 : Error: No STM32 target found!

Does anyone here have experience starting from a bare chip? My bluepills work just fine, this ST-Link has no issues uploading code and interfacing with all of the bluepills I have.

I've seen a tutorial of someone doing this with a different STM32 chip, and it was as simple as putting the breakout on a breadboard, attaching a crystal, and connecting SWDIO and SWDCLK from his STLinkV2

Eventually, this STM32G0 is going onto a custom PCBA for a production project. I've been able to program the classic STM32F103CB's with no issues, but this is my first time taking the chip and putting it on a circuit from scratch. With this, I've looked at the schematic from a Bluepill, as well as the Nucleo G071KB, but no dice. Any guidance here would be appreciated.

My exact schematic is here: https://imgur.com/a/beYyRI8

1 REPLY 1
Uwe Bonnes
Principal III

There a a zillion things (cabling, connectors, missing connections) that can go wrong, carefully recheck and compare against a working setup, e.g. on a Nucleo Board.