Problem When USB CDC Device(Usbser.sys) poor contact,serialport may can not Read

xjfjian 1 Reputation point
2022-08-17T02:50:22.017+00:00

Win10 (usbser.sys):

  1. any serialport tool open Usbcdc device port,Verify that the transmission is OK.
  2. Simulated poor contact : Exposed USB D + D-,Short circuit D+ D- brief

231797-001.jpg

  1. serialport tool can send data to device. can not receive device send data. no error.
  2. serialport tool close and reopen port , can send data to device. can not receive device send data
  3. serialport tool close port, disable device and enable device in device manager,reopen port, the transmission is OK. Win10 (usbser.sys):
    1. any serialport tool open Usbcdc device port,Verify that the transmission is OK.
    2. Exposed USB D + D-,break D+ or D- circuitit brief
    3. serialport tool detect Serialport disconnect.
    4. Reopen Serialport , the transmission is OK.

Andriod(Andriod usb cdc lib)

  1. Andriod serialport tool open Usbcdc device port,Verify that the transmission is OK.
  2. Simulated poor contact : Exposed USB D + D-,Short circuit D+ D- brief
  3. Serialport disconnect.
  4. Reopen Serialport , the transmission is OK.

In Windows, The user cannot judge whether the connection is abnormal until the data is not received for a long time。

The results of short circuit and broken circuit are expected to be consistent.

Windows for business | Windows Client for IT Pros | Devices and deployment | Other
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.