AnsweredAssumed Answered

How to unlock SWD on STM32F0?

Question asked by Mr_M_from_G on Aug 9, 2013
Latest reply on Aug 9, 2013 by fm
I accidentally configured USART2 to pins PA14 and PA15 with PA14 being also SWCLK. Now I can't upload code anymore. I read about putting the MCU into bootloader mode by setting BOOT0 to Vdd. But this doesn't work either. When reseting in this state, PA14 is also high which means the port is configured as USART by the bootloader. I found a note in AN2606:
Note: After the STM32F051x6 and STM32F051x8 devices have booted in bootloader mode, the serial wire debug (SWD) communication is no more possible until the system is reset, because SWD uses PA14 pin (SWCLK) which is already used by the bootloader

Is there any way to rescue my board (except of setting up a complete bootloader programming environment - or is there a simple tool doing it?)

Thank you very much for any help