Virtual COM Port with Nucleo F103RB on Windows 11

47 Views Asked by At

I followed this tutorial https://medium.com/@pasindusandima/stm32-usb-virtual-com-port-vcp-bc7cb1bd5f5 to set up a USB data transmission from my board to a Virtual COM Port.

After building the project and running with debugger, I only see "STMicroelectronics STLink Virtual COM Port (COM5)" and "ST-Link Debug" on my device manager. After using PuTTY to listen to serial port COM5, I see no activity in the terminal.

However, I noticed that the tutorial does not use COM5 and instead uses "STMicroelectronics Virtual COM Port (COM10)". But when I run my program, no new USB devices show up, and only the original two mentioned before are present. How can I get the correct COM port to show up on my device manager?

USB Peripherals in STM32CubeIDE

  • Connectivity > USB > Device (FS) with default settings
  • Middleware & Software Packs > USB_DEVICE > Communication Device Class (Virtual Port Com) with default settings
0

There are 0 best solutions below