Skip to main content
TMich.1
Associate III
February 15, 2023
Question

locked out of my stm32g431.

  • February 15, 2023
  • 2 replies
  • 2891 views

made my own board with stm32g431kb and accidentally disabled swd. I can't acces my board anymore and pulling up boot0 doesn't help.

This topic has been closed for replies.

2 replies

Javier1
Principal
February 15, 2023

Youre not locked out , try this:

  • CubeMx CubeProgrammer with Power down or under reset mode0693W00000YAmQYQA1.png
  • If that doesnt work you need to do the reset SW raindance.
  1. Hold the board in reset
  2. Release the reset and inmediately press Connect in cubeProgrammer
hit me up in https://www.linkedin.com/in/javiermuñoz/
TMich.1
TMich.1Author
Associate III
February 15, 2023

is this cubemx or cubeide? in dube ide and cubemx I don't see the tab from your picture. and also do this with or without boot pulled up?

KnarfB
Super User
February 15, 2023

CubeProgrammer

Piranha
Principal III
February 19, 2023

Connect the NRST pin to debugger and set those in CubeProgrammer:

Connect mode: Under Reset

Reset mode : Hardware reset

TMich.1
TMich.1Author
Associate III
February 19, 2023

I tried this with no succes