82.12. How to restart a USB device

These instructions are useful when the USB device is blocked:

  1. Check the DevInd of the connected USB device:

    [12:47:17] ABILIS_CPX:debug usbdev lsn:1
    
    -------------------------------------------------------------------------------
    BufferLength:819    Date/Time:24/11/2017 12:50:06 TraceTime:440652
    
    USB SUBSYSTEM: Device table
    ------+--------+--------------------+-----------------------+---------+------
    DevInd|  Handle|Manufacturer        |Product                |UsbPort  |DrvInd
    ------+--------+--------------------+-----------------------+---------+------
         1|205246A0|On Time             |EHCI Virtual Root Hub  |0        |     -
         2|205332D4|On Time             |UHCI Virtual Root Hub  |1        |     -
         3|205759C8|On Time             |UHCI Virtual Root Hub  |2        |     -
         4|20608630|On Time             |UHCI Virtual Root Hub  |3        |     -
         5|36FD4ED4|Generic             |External               |0.1      |     -
         6|2A2DCD58|ASIX Elec. Corp.    |AX88772B               |0.4      |    11
    ------+--------+--------------------+-----------------------+---------+------
  2. Type the reset command, specifying the DevInd:

    [12:50:06] ABILIS_CPX:debug usbdev lsn:255 cmd:D6
    
    -------------------------------------------------------------------------------
    BufferLength:32     Date/Time:24/11/2017 13:00:16 TraceTime:1050680
    
    USB device successfully reset.
  3. Optional, check if the USB device has been restarted:

    [13:00:46] ABILIS_CPX:debug usbdev lsn:233
    
    -------------------------------------------------------------------------------
    BufferLength:5825   Date/Time:24/11/2017 13:03:47 TraceTime:1261122
    
    ...
    --------|-----------------|------------------------------------------------------
         12 |     1105,776212 | RESET-DRV              | 0.4        |           0
            | 241117 130046   |  36FD652C  | 0B95 772B | AX88772B
            |                 |        985 |           |
    --------|-----------------|------------------------------------------------------
         13 |     1105,779170 | DISCONNECT             | 0          |           0
            | 241117 130046   |  36FD652C  | 0B95 772B | Unkn Dev (disconnected)
            |                 |        895 |           |
    --------|-----------------|------------------------------------------------------
         14 |     1106,462071 | CONNECT                | 0.4        |           0
            | 241117 130046   |  36FD65B0  | 0B95 772B | AX88772B
            |                 |        840 |           |
    --------|-----------------|------------------------------------------------------