This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MCB2300 Evaluation Board CDC Gets hanged after resetting or unplug cable

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.

Parents
  • 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

Reply
  • 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

Children
No data