This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Communication via ST-Link and µVision Printf Viewer

Started with a STM32F072 Nucleo with Keil MDK using ST-Link of Evaluation board.

Managed to do printf()/putchar() output to uVision 'Serial Debug (printf) Viewer'
via EventRecorder (DAP).
But: How to get input?
Or:
How to configure UART (USART2?) to get STDIO (STDOUT and STDIN) through ST-Link-USB.
Or:
How to communicate with Nucleo board application via STLink Virtual COM Port
using terminal application on PC? Which bitrate?

Checked SB61, SB62, SB63 of Nucleo board, all three are open,
so PA2/PA3 of F072 should go as USART2-Tx/Rx to ST-Link MCU (CN3 also open).