Skip to main content
WBria.1
Associate II
October 5, 2023
Solved

stm32g030 not flashing

  • October 5, 2023
  • 3 replies
  • 5587 views

i'm trying to read the G030 mcu (from my PCB) with cubeProgrammer and the results are:

"No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication"

Today the debug pins are direct connection (without any pull-up or down), as show:

WBria1_0-1696475699047.png

 

But I already tried to pull-down (and pull-up) the SWCLK pin (as shared with BOOT0). but no way to recognize te MCU.

Any idea? I just want to flash my first code into this G030

This topic has been closed for replies.
Best answer by Tesla DeLorean

Check logic level on NRST

Make sure analogue supplies are hooked up. They are used by oscillator and reset circuits.

Check part orientation. The failure is that the part is non-responsive / non-functional. Debug as such.

3 replies

TDK
October 5, 2023

Should work. Check power, check for proper orientation, check the schematic against the hardware design guide. Post the full schematic if you want someone to check it.

Probably not the issue, but counterfeit programmers don't always work.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
October 5, 2023

Check logic level on NRST

Make sure analogue supplies are hooked up. They are used by oscillator and reset circuits.

Check part orientation. The failure is that the part is non-responsive / non-functional. Debug as such.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
WBria.1
WBria.1Author
Associate II
October 5, 2023

the NRST voltage is arround 0.7 (i think it's not good because another MCUs that i have checked here is close to 3.3V)

the HW and SCH was OK. i'm checking now the soldering process

Tesla DeLorean
Guru
October 5, 2023

Suggestive that the POR is clamping due to absent analogue supply

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
TDK
October 5, 2023

> the HW and SCH was OK

Doesn't NRST staying low contradict this? Might be worth another look. Issue has to be somewhere.

"If you feel a post has answered your question, please click ""Accept as Solution""."
WBria.1
WBria.1Author
Associate II
October 5, 2023

HW and SCH OK, i mean, the design it's OK (image below)

WBria1_0-1696533593507.png

for sure, i have investigating another variant things, such as solder and now, the MCU origin (from suspicious vendor)

Piranha
Principal III
October 5, 2023

HW and SCH OK, i mean, the design it's OK (image below)


O, yes, the existence of R24 totally confirms it. Edited by moderators to adhere to community guidelines.