We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I'm using MCB2300 Evaluation Board. I've successfully configured Virtual Com. Now the problem is if i reset micro controller or Unplug the cable while the port is open, it does not resume the connection. Also I can't connect again unless i close hyperterminal and reset micro controller again.
Thanks for your Attention.
It's because such specific devices introduce custom drivers, which preserve COM port instance across device dismiss/re-arrival. This approach should be taken to do without any change of serial APIs. But it also introduces another problems, how long does the driver has to preserve the COM port, and what occurs when the preserve period expires.
Anyway, Windows in-box CDC driver, usbser.sys, doesn't have such a function. Also I have to point out that this disconnection / re-connection problem is common to Windows in-box USB drivers, HID WinUSB, etc.
If you would like ATTEN or Prolific drivers, you may easily make a clone USB device of these chips, on any USB MCUs ;-)
Tsuneo