2020-12-09 08:20 AM
Hi guys.
I'm trying to program "STM32G031F6P6" but it doesn't work. I am using keil and I also tried with stlink utility. I adding the schematic, cubemx project and error screen capture.
2020-12-09 10:10 AM
It is best to describe what you feel what is going wrong and provide textual output. Just dumping pictures and having peopel to load these picture and decipher themself what you might think is wrong is a lazy approach. For Stm32CubeProgrammer, you need a hex or bin file. A googel search for "stm32cubeprogrammer elf-loader" will perhaps the elf file loader.
2020-12-09 10:24 AM
I tested, and I can load elf file in 2.4 and 2.6. Is your elf file for the right architecture?
2020-12-09 10:50 AM
Use STM32 Cube Programmer, ST-LINK Utilities likely not aware of the G0
Connect NRST to the debugger
2020-12-10 03:22 AM
I solved the problem. I changed the programing algorithm. Doesn't work with "STM32G0x1". Do you have any comment?
2021-01-06 02:00 AM
Hi @ABURM ,
STM32G031x is not supported in STLink-Utility , you can switch to STM32CubeProgrammer .
Houda