cancel
Showing results for 
Search instead for 
Did you mean: 

How do you test the VCP uart port of the nucleo 32 board in linux?

PRedd.111
Associate III

I am using STm32 nucleo -32 F303K8 board. I see it has the ability to re-route uart2 to st-link to give a virtual com port. However, I see nothing on it. How do I validate the vcom port on linux cube ide? Is there a demo code?

2 REPLIES 2
Uwe Bonnes
Principal III

run "dmesg -w" and un- and replug the device. You should see some ttyUSBx appear. Open the device in some terminal emulator, short the RX/TX jumper and you should see echoed what you type. Remove the jumper and the echo should disappear. No write some test programm for the the target to write something on the port.

PRedd.111
Associate III

its actually tty/ACM0. I am able to tx but rx doesn't work at all. I have attached my simple barebones project.