0

I had a working STM32G0316-DISCO board, but after programming the STM31G031 I cannot connect to the MCU anymore using ST-LINK. This is because I set pin 7 and 8 to a digital input whereas pin 7 and 8 are SWDIO and SWCLK respectively as well. This messes up the communication. I tried to pull pin 8 high (which is the boot0 pin as well) when powering the board in order to force it in a different boot mode, but STM32CubeProgrammer still cannot connect to the board, reporting "Error: No STM32 target found!"

I also tried setting the program mode to "under reset" and the reset mode to "Software reset", but nothing seems to work. What I can do?

Paulus Potter
  • 883
  • 6
  • 6

1 Answers1

0

https://electronics.stackexchange.com/a/303827 Program under reset is what you need to do but reset must be held using reset pin.

FoxVK
  • 77
  • 1
  • 7