cancel
Showing results for 
Search instead for 
Did you mean: 

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

joemccarr
Senior

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

1 REPLY 1

>>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.

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