cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G431KB and STLINKv2 : "Error: No STM32 target found!"

pilot
Associate II

I am trying to flash STM32G431 (UFQFPN32 5x5) 

Other STM devices like x103 are flashing just fine, but this one fails.

I even desoldered it from the actual project PCB, and hooked it up with the four SWD pins only, and still fail.

the main difference may me that it had a 24Mhz clock source, and then had ..nothing.

Is there any reason to believe that this chip needs anything more than SWDIO, SWCLK, and 3v3,GND to program? - (NRST is not connected)

..or maybe those are a bit more picky about wire lengths/firmware version etc?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Amel NASRI
ST Employee

Hi @pilot ,

Are you facing the same issue when using STM32CubeProgrammer?

You can follow steps described in the article How to solve debugger connection issues.

If it helps, please let me know what was the issue.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Amel NASRI
ST Employee

Hi @pilot ,

Are you facing the same issue when using STM32CubeProgrammer?

You can follow steps described in the article How to solve debugger connection issues.

If it helps, please let me know what was the issue.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

pilot
Associate II

Thank you, I managed to get some work, and I suspect its a issue with the way I moved the G431 to another PCB to access the SWD pads (that I overheated, or gave it a thermal shock.)

 

I did use STM32_Programmer_CLI -c port=SWD ... woth both STLink and an aftermarket clone. 

Finally I found that two of the four moved worked.