Skip to content

Instantly share code, notes, and snippets.

@k0d
Created June 2, 2020 17:22
Show Gist options
  • Save k0d/acc77da4cfc29ccd4dac2c04f3a2b3de to your computer and use it in GitHub Desktop.
Save k0d/acc77da4cfc29ccd4dac2c04f3a2b3de to your computer and use it in GitHub Desktop.
usb-probe
Full Speed device @ 32 (0x14500000): ............................................. Miscellaneous/Common Class device: "TinyUSB Device"
Port Information: 0x001a
Not Captive
Attached to Root Hub
External Device
Connected
Enabled
Number Of Endpoints (includes EP0):
Total Endpoints for Configuration 1 (unconfigured): 9
Device Descriptor
Descriptor Version Number: 0x0200
Device Class: 239 (Miscellaneous)
Device Subclass: 2 (Common Class)
Device Protocol: 1 (Interface Association)
Device MaxPacketSize: 64
Device VendorID/ProductID: 0xCAFE/0x4002 (unknown vendor)
Device Version Number: 0x0100
Number of Configurations: 1
Manufacturer String: 1 "TinyUSB"
Product String: 2 "TinyUSB Device"
Serial Number String: 3 "123456"
Current configuration: 0 (unconfigured)
Configuration Descriptor
Length (and contents): 164
Raw Descriptor (hex) 0000: 09 02 A4 00 05 01 00 A0 32 08 0B 00 02 02 02 00
Raw Descriptor (hex) 0010: 00 09 04 00 00 01 02 02 00 04 05 24 00 20 01 05
Raw Descriptor (hex) 0020: 24 01 00 01 04 24 02 02 05 24 06 00 01 07 05 81
Raw Descriptor (hex) 0030: 03 08 00 10 09 04 01 00 02 0A 00 00 00 07 05 02
Raw Descriptor (hex) 0040: 02 40 00 00 07 05 82 02 40 00 00 08 0B 02 02 02
Raw Descriptor (hex) 0050: 02 00 00 09 04 02 00 01 02 02 00 04 05 24 00 20
Raw Descriptor (hex) 0060: 01 05 24 01 00 03 04 24 02 02 05 24 06 02 03 07
Raw Descriptor (hex) 0070: 05 83 03 08 00 10 09 04 03 00 02 0A 00 00 00 07
Raw Descriptor (hex) 0080: 05 04 02 40 00 00 07 05 84 02 40 00 00 09 04 04
Raw Descriptor (hex) 0090: 00 02 08 06 50 05 07 05 05 02 40 00 00 07 05 85
Raw Descriptor (hex) 00a0: 02 40 00 00
Number of Interfaces: 5
Configuration Value: 1
Attributes: 0xA0 (bus-powered, remote wakeup)
MaxPower: 100 mA
Interface Association Communications-Control
First Interface 0
Interface Count 2
Function Class 2 (Communications-Control)
Function Subclass 2
Interface Protocol 0
Function String 0 (none)
Interface #0 - Communications-Control .............................................. "TinyUSB CDC"
Alternate Setting 0
Number of Endpoints 1
Interface Class: 2 (Communications-Control)
Interface Subclass; 2
Interface Protocol: 0
Comm Class Header Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 00 20 01
Comm Class Call Management Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 01 00 01
Comm Class Abstract Control Management Functional Descriptor
Raw Descriptor (hex) 0000: 04 24 02 02
Comm Class Union Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 06 00 01
Endpoint 0x81 - Interrupt Input
Address: 0x81 (IN)
Attributes: 0x03 (Interrupt)
Max Packet Size: 8
Polling Interval: 16 ms
Interface #1 - Communications-Data/Unknown Comm Class Model
Alternate Setting 0
Number of Endpoints 2
Interface Class: 10 (Communications-Data)
Interface Subclass; 0 (Unknown Comm Class Model)
Interface Protocol: 0
Endpoint 0x02 - Bulk Output
Address: 0x02 (OUT)
Attributes: 0x02 (Bulk)
Max Packet Size: 64
Polling Interval: 0 ms
Endpoint 0x82 - Bulk Input
Address: 0x82 (IN)
Attributes: 0x02 (Bulk)
Max Packet Size: 64
Polling Interval: 0 ms
Interface Association Communications-Control
First Interface 2
Interface Count 2
Function Class 2 (Communications-Control)
Function Subclass 2
Interface Protocol 0
Function String 0 (none)
Interface #2 - Communications-Control .............................................. "TinyUSB CDC"
Alternate Setting 0
Number of Endpoints 1
Interface Class: 2 (Communications-Control)
Interface Subclass; 2
Interface Protocol: 0
Comm Class Header Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 00 20 01
Comm Class Call Management Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 01 00 03
Comm Class Abstract Control Management Functional Descriptor
Raw Descriptor (hex) 0000: 04 24 02 02
Comm Class Union Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 06 02 03
Endpoint 0x83 - Interrupt Input
Address: 0x83 (IN)
Attributes: 0x03 (Interrupt)
Max Packet Size: 8
Polling Interval: 16 ms
Interface #3 - Communications-Data/Unknown Comm Class Model
Alternate Setting 0
Number of Endpoints 2
Interface Class: 10 (Communications-Data)
Interface Subclass; 0 (Unknown Comm Class Model)
Interface Protocol: 0
Endpoint 0x04 - Bulk Output
Address: 0x04 (OUT)
Attributes: 0x02 (Bulk)
Max Packet Size: 64
Polling Interval: 0 ms
Endpoint 0x84 - Bulk Input
Address: 0x84 (IN)
Attributes: 0x02 (Bulk)
Max Packet Size: 64
Polling Interval: 0 ms
Interface #4 - Mass Storage/SCSI .............................................. "TinyUSB MSC"
Alternate Setting 0
Number of Endpoints 2
Interface Class: 8 (Mass Storage)
Interface Subclass; 6 (SCSI)
Interface Protocol: 80 (Bulk Only)
Endpoint 0x05 - Bulk Output
Address: 0x05 (OUT)
Attributes: 0x02 (Bulk)
Max Packet Size: 64
Polling Interval: 0 ms
Endpoint 0x85 - Bulk Input
Address: 0x85 (IN)
Attributes: 0x02 (Bulk)
Max Packet Size: 64
Polling Interval: 0 ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment