2024-11-12 03:17 AM - edited 2024-11-12 03:20 AM
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?
Solved! Go to Solution.
2024-11-13 12:15 AM
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.
2024-11-13 12:15 AM
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.
2024-11-13 10:53 PM
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.