Unable to reprogram STM32G030F6P6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-31 5:03 AM
I am trying to reprogram a STM32G030F6P6 with a St-link V3 but in STM32CubeProgrammer I get: "Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication".
When the chip is brand new I can program it once with no issue, but when I try to change the program I get the error.
The RST pin is connected to the programmer and I'm using Mode: Under reset in STM32CubeProgrammer but it makes no difference.
I can see that the program I have previously uploaded runs correctly because it's blinking an LED. I've also tried connecting the BOOT0 pin to 3v3 and resetting the board but I can still see the LED blinking so it's running the program and not going into boot loader mode.
- Labels:
-
STM32G0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-31 5:49 AM
In these cases, I simply turn off the power, connect NRST to GND, and turn on the power. Then I start "Connect" on the programmer and about 1 second later I release the NRST from the GND connection. In almost all cases the connection goes through and then I do a Mass Erase.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-31 5:54 AM
Hello @ccacitti ,
Make sure that your STLink firmware is upgraded.
Try "Connect under reset" mode : Press the reset and hold it and click "Connect" button. And just after pressing release the reset button.
Foued
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.
