2019-09-17 12:15 PM
2019-09-17 12:16 PM
I am testing in production environment and would like to avoid creating COM ports. HOw?
2019-09-17 12:44 PM
If the devices report a unique serial number, via a descriptor, Windows will given each a unique enumeration.
One approach is to cull all the enumeration nodes from the registry periodically.
2019-09-17 01:03 PM
Even if you're not using the UART bridge from FTDI, read FTDI's Appnote 123. It describes how Windows decides the COM port name and states methods how you can avoid getting assigned a new COM port each time. Basically you're telling Windows to ignore the HW Serial number and use a specific com port whenever a device with a specific vendor ID / device ID gets connected. A great tool to manage already existing COM ports is UsbDeview
2019-09-17 01:36 PM
I was digging for that, but in the wrong place. Not in SiLabs driver...
https://blogs.msdn.microsoft.com/xiz/2013/11/03/to-ignore-a-devices-serial-number/
2019-09-17 04:31 PM
Specially for this purpose WIndows has a way to disregard "serial numbers" for specific vendor & device ID.
Look for "IgnoreHWSerNum" here.
-- pa