cancel
Showing results for 
Search instead for 
Did you mean: 

Setting the USART locks out the SWD function on STM32F030

ihaslam
Associate II
Posted on January 22, 2015 at 17:32

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?

#stm32 #usart #stm32f0 #!espn
1 REPLY 1
Posted on January 22, 2015 at 18:07

What am I doing wrong?

Dunno, show code, something minimal, but complete enough to demonstrate the issue.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..