AnsweredAssumed Answered

Setting the USART locks out the SWD function on STM32F030

Question asked by haslam.ian on Jan 22, 2015
Latest reply on Jan 22, 2015 by Clive One
I am trying to set up a USART1 on a STM32F030C8 using PB6 and PB7. I can programme the part via the SWD, if it is blank or the USART have not been configured. As soon as I load code which configures the USART the part becomes unresponsive to the ST-LINK programmer and the only way I can recover the part for programming is to put BOOT0 to 3.3V and then use the ST debugger to erase the memory via the UART port. What am I doing wrong?