cancel
Showing results for 
Search instead for 
Did you mean: 

RE: Cannot connect to STM32 target to erase memory

nc_dummy
Visitor

Hello!

New to the STM controllers, failed to realize that PA13 was necessary to connect the debugger and was quite dismayed to realize my mistake after looking to program it as a GPIO. 

I have tried connecting with the IDE and Programmer alike, both with BOOT0 (PA13) to Vdd and without. My latest attempt is shown below which I found another thread about -- even with PA13 shorted to 3.3V and shorted to GND I see the same result -- have I killed my poor STM? 

I'm using the NUCLEO-G031J6 while I get accustomed to this microcontroller. 

Any advice would be greatly appreciated! Thanks

nc_dummy_0-1739921936807.png

 

1 REPLY 1
TDK
Guru

> BOOT0 (PA13)

PA14 is BOOT0, not PA13. Tie to the VDD during reset to enter the bootloader. Once in the bootloader, you can connect over SWD and erase the chip to recover.

TDK_0-1739914771628.png

 

 

I can't find a NUCLEO-G031J6 board. Is this perhaps the NUCLEO-G031K8? Same answer applies.

If you feel a post has answered your question, please click "Accept as Solution".