cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L431�?� �?�용해 프로�?트 개발 중�?��?�, SWO로 printf를 출력할려고 하는�?� 안�?�네요. 설정�?� 어떻게 해야 하나요?

TChun.4
Associate
 
1 REPLY 1

I'm developing a project using STM32L431, and I'm trying to output printf with SWO, but I can't. How do I set it up?

Have the signal come out of PB3, have the debugger configure the debugger pod to use the trace mode, and the core clock, vs SWCLK

Plumb ITM_SendChar() into your STDIO layer so printf/putchar use it via __io_putchar() in ST's GNU/GCC implementation.

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