Unable to connect to STM32F373C via SWD using STM32F072B-Discovery as ST-Link
- June 22, 2026
- 7 replies
- 105 views
Hi all,
I'm having trouble connecting to an STM32F373C on a custom PCB via STM32CubeProgrammer, using an STM32F072B-Discovery board as a standalone ST-Link/V2. The custom PCB is an open source synthesiser module and was manufactured by JLCPCB - many others have built this PCB with no issues. I've followed the correct procedure for using the Discovery board as an external ST-Link (removed CN5 jumpers, opened SB10), and wired CN4 to my PCB's dedicated SWD header which has RESET, SWCLK, SWDIO and GND pins.
**Setup:**
- Programmer: STM32F072B-Discovery (ST-Link/V2), CN5 jumpers removed, SB10 opened
- Target: STM32F373C on custom PCB
- Connection: Via dedicated SWD header (RESET, SWCLK, SWDIO, GND). Discovery board connected to Macbook using Mini USB to USB C cable.
- Software: STM32CubeProgrammer, SWD mode, various frequencies tried down to 480 kHz
- Reset modes tried: Software reset, Hardware reset, Connect under reset
**Error in CubeProgrammer:**
ST-LINK SN: 38FF68063050453420251743
ST-LINK FW: V2J46S0
Voltage: 2.92V
Error: Unable to get core ID
Error: No STM32 target found
```
**Power supply.**
- VDD, VDDA, VBAT, VDDSD and VREFSD+ pins on the STM32 have been probed and confirmed at 3.3V.
**BOOT0:** Pulled directly to GND.
**Steps already taken:**
- Swapped SWDIO and SWCLK wires
- Tried connecting with NRST disconnected (3 wire SWD only)
- Tried all reset modes
- Tried reducing SWD frequencies
- Confirmed all power rails at correct voltages
- Confirmed no missing components on PCB
I have attached pictures of the STM32CubeProgrammer error, PCB schematic, physical PCB and the ST Link connection.
Are there any other pins I should read voltages from? Are there any components I may have incorrectly ordered or orientated which could be causing the problem? The PCB should in theory work as it was once mass produced, I haven’t modified the design, and many others have had it manufactured with no issues.
Thanks
