USB CDC disconnect/reconnect issue in Windows 10
This seems like a Windows 10 issue but maybe related to the USB CDC settings?
If the device is powered up with the USB cable connected or disconnected and then plugged in after power-up, Windows enumerates the device and can communicate via the comm port.
After that if the USB cable is disconnected (USB_DEVICE_Detach() is called) and reconnected (USB_DEVICE_Attach() is called), Windows still enumerates the device but when a software tool attempts to open the comm port it generates a file not found error (custom Python code) or tterm doesn't even see the comm port.
Have not yet tested on other Windows versions to see if this is specific to 10:
Note I did notice the speed setting difference (I inherited the project), it didn't make any difference making them match: