cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicated Virtual COM Port number on Windows

PoP
Associate II

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  

PoP_0-1762982372832.png

 

3 REPLIES 3
Issamos
Lead II

Hello @PoP 

I think that you have the same behavior reported here. The Solution is to manually change one of the device's COM port number. I will also suggest you to read the full discussion of the post I’ve mentioned. It should help you.

Best Regards.

II

Pavel A.
Super User

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.

Karl Yamashita
Principal

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.

 

KarlYamashita_0-1762993425403.png

 

 

 

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.
CAN Jammer an open source CAN bus hacking tool
CANableV3 Open Source