2025-11-12 1:32 PM
I have several an 2 F401RE boards connected to my PCs and getting data by the Virtual Communication Port.
Unfortunately when installing a new board on the PC, I ve seen that my 2 boards were declared by Windows with the COM port
COM port 7, 9 and 10 are allocated by Windows to others boards
I am under the impression that there is a bug in the Virtual COM driver that do not authorize to declare a virtual COM Port beyond COM10.
Is there a fix or a workaround.
Otherwise Is it possible to reuse an COM port, for instance the COM 9. Is there a procedure to unsintall the COM9 in order to use for my new board
Finally, I would have connected in parallel, on my system, 3 boards with COM8, COM0 and COM10
2025-11-12 1:54 PM
2025-11-12 1:59 PM - edited 2025-11-12 2:00 PM
Windows has its own driver (a.k.a. in-box) for USB CDC devices. This driver is unlikely to have such bugs.
User can change the COM port number assigned to a serial device via properties GUI in the Device Manager.
User can assign same numbers to more than one serial device, then the behavior is undefined until the devices are unplugged and plugged again.
Of course, 3rd party software can interfere and change the behavior.
2025-11-12 4:33 PM
I am under the impression that there is a bug in the Virtual COM driver that do not authorize to declare a virtual COM Port beyond COM10.
I've had virtual COM ports in the 20's in Windows 10. Here, I have 3 Nucleo boards with COM ports in the 30's in Windows 11. So your assumption that Windows can't assign virtual COM port beyond COM10 is incorrect.