2021-10-05 05:57 AM
I've designed a board that uses an STM32G030F6 processor.
Now I've updated the software and... (one feature wasn't implemented yet) I cannot connect to the target CPU to flash tne new firmware into the board.
Then you'd think I've programmed the SWD pins to something else that AF1: SWD, but as far as I know: i haven't.
That said, then I should be able to use "connect under reset" and again... that doesn't work. (It should work if I manually hit the reset button, right? )
Both programmers I've tried today program my STM32F072R development board just fine without any trouble.
Any suggestions?
I thought: Maybe there is a way out with the bootloader, but alas, I've not hooked up the "boot0" pin to the programming connector as I usually do... The reason being that by default the 'G030 doesn't have a boot0 pin: that isn't enabled in the default flash config and the pin conflicts with SWD.
I'm a Linux user, don't have access to MS Windows. I use "stlink" software by Texane .
Solved! Go to Solution.
2021-10-05 10:17 AM
The good news: It suddenly worked. I downloaded my extra feature and it worked first time. Due to high voltages on the board, I prefer not to leave the programmer connected during these tests....
The bad news: I need to go find a windows machine somewhere to upgrade the firmware inside the STLINKs? I'm really not looking forward to that. (Hving to work with windows gives me a headache. Litterally).
2021-10-05 06:31 AM
You realy activate SWD UR under reset in Texane_? And maybe your stlink need upgrade fw. I need this when use G chips firstly.
2021-10-05 10:17 AM
The good news: It suddenly worked. I downloaded my extra feature and it worked first time. Due to high voltages on the board, I prefer not to leave the programmer connected during these tests....
The bad news: I need to go find a windows machine somewhere to upgrade the firmware inside the STLINKs? I'm really not looking forward to that. (Hving to work with windows gives me a headache. Litterally).