Skip to main content
Associate
Aug 21, 2026 3:20 PM UTC
Question

STM32G071G8U6 Flashing Issue – MCU Not Detected via SWD

Hello, I'm experiencing a flashing issue with an STM32G071G8U6: STM32CubeProgrammer (ST-LINK, SWD, Normal mode) returns "Unable to get core ID" / "No STM32 target found", even though the measured target voltage is correct (~2.93–2.97V, see attached screenshot). I'm also attaching the MCU pinout and SWD connector schematics for reference. I'd like to know what possible causes could explain a total loss of SWD communication despite the correct current voltage, and whether there's a test that could confirm an internal MCU failure before concluding the component needs to be replaced.

 

Best regards

 

2 replies

MM..1
Super User
Aug 21, 2026 4:32 PM UTC

Check your PCB, is realy yellow SWCLK connected into red net name SWCLK ??.. And change mode of connect to under reset.

Karl Yamashita
Super User
Aug 21, 2026 7:33 PM UTC

Check with an oscilloscope to see if you are getting some clock/data signals at the STM32. If it’s a BGA type then i hope you have some series resistor close to the MCU for debugging. Make sure the wave form are nice and square and not skewed.

I would test without the TVS and also bypass the series resistor. The 100 ohm resistor might be to high of a value? I’ve only seen a couple of Nucleo-H7xx boards that use TVS and series resistor at 22 Ohm. All other Nucleo boards have no protection at all. 

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source