AnsweredAssumed Answered

usart strange behaviour, need restart

Question asked by pcu on Jun 4, 2013
Latest reply on Jun 4, 2013 by pcu
Hello I have a strange behaviour with usart (1 and 4) on STM32F217.
I use it as output log. When I build and debug, nothing leaves the STM. After a "debug" reset in atollic(a restart)  it works fine.

I tried these two operations:
-after one loop of program, try a soft reset. But not good.
-an external reset. But not good.

I don't know where to search. I compared register when it works and when it doesn't but no difference (for USART and NVIC).
It is exactly the same with DMA and USART transmit. It is fine at the second time (only after debugger reset).

If somebody has an idea?