Skip to main content
ihaslam
Associate
January 22, 2015
Question

Setting the USART locks out the SWD function on STM32F030

  • January 22, 2015
  • 1 reply
  • 721 views
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
This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
January 22, 2015
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 (See Profile) Up vote any posts that you find helpful, it shows what's working..