Hi, I am running M3/M4 Book Yui programs on the STM32 Discovery Board M4. The program has puts or putch functions in the program. How would I see these serial messages. I am using TeraTerm and I tried all Comm ports Tera Term has. Not seeing serial port activity using teraterm. Thank You
I found a way in Keil Menu
View > Serial Windows > Debug (printf) Window
There are also UART1 UART2 UART3 But these don't show any output.
the Debug (printf) window does show serial activity
YIU not YUI
Debug (printf) Window shows the SWV (Serial Wire Viewer) output, there will be code in there retargeting the console output via ITM_SendChar(), and the Debug/Trace pane enabling it.
Unless you have connected up a serial port, and have it wired to a PC COM port in some fashion, it's not going to output to a Terminal. The ST Nucleo boards support a Virtual COM Port (VCP), but you'd still need to configure it's USART2 and pins, the Discovery boards do not support this functionality.