Skip to main content
Visitor II
April 17, 2020
Question

While in debugging via st-link i can not connect a terminal in order to to see serial output.

  • April 17, 2020
  • 1 reply
  • 864 views

Hello,

I am using nucleo-64 board and CubeIDE in linux ubuntu.

Everything is working fine except I can not see any of my serial output from the application.

St-link is connected to usart2. I thought they could be used at the same time.

Do i need to use a separate serial port for my serial output ?

I tried to connect the nucleo board to my computer via a serial monitor to see the output but the serial terminal connection was unsuccessfull on any of my usual ports /dev/ttyUSB0 or /dev/ttyUSB1 .

Thanks

    This topic has been closed for replies.

    1 reply

    Graduate II
    April 17, 2020

    >>St-link is connected to usart2. I thought they could be used at the same time.

    The ST-LINK debugger and VCP can work concurrently, issue here with tools, drivers or OS

    >>Do i need to use a separate serial port for my serial output ?

    You could even use the same UART, and then a USB-to-CMOS Serial dongle that the tools don't interfere with.