cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103TBU6 forgot port pins! restore comms?

klaus2399
Associate
Posted on September 03, 2016 at 15:34

During my first foray into CubeMX I was distracted with clock settings and forgot to configure SWDIO/SWCLK and UART pins! After flashing, STLink can no longer connect. Is there a way to rescue the chip? 

2 REPLIES 2
Posted on September 03, 2016 at 15:39

Strap BOOT0 High so it boots into the System Loader, and use the ST-LINK Utilities to erase your errant code.

Alternatively if you have NRST connected to the debugger you can ''Connect Under Reset'' to achieve the erasure.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
klaus2399
Associate
Posted on September 04, 2016 at 06:46

BOOT0 High worked!

Many thanks, clive1