cancel
Showing results for 
Search instead for 
Did you mean: 

locked out of my stm32g431.

TMich.1
Associate III

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

16 REPLIES 16

What does the sw active mean then? If it doesn't disable sw?

i replaced the chip and it didnt solve the problem

>>What does the sw active mean then? If it doesn't disable sw?

i meant dissabled, sorry

>>i replaced the chip and it didnt solve the problem

was that chip preprogrammed? if it wasnt maybe you fried something else

Available for consulting/freelancing , hit me up in https://github.com/javiBajoCero

it is a fresh chip from an unused stm32 nucleo that i took it from. I doubt i fried something because powerdraw was measured and never got high or hot. and I managed to make both boards work the first time for extended use.

I tried again and played with the frequency and i got in but during debugging it rather soon lost connection again. and i didn't manage to get it working after retrying

Does this mean bad connections?

Piranha
Chief II

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

Connect mode: Under Reset

Reset mode : Hardware reset

I tried this with no succes