Skip to content

Instantly share code, notes, and snippets.

@tmk
Created July 17, 2021 14:16
Show Gist options
  • Save tmk/774225e2d9e2685df3c6a442893550c1 to your computer and use it in GitHub Desktop.
Save tmk/774225e2d9e2685df3c6a442893550c1 to your computer and use it in GitHub Desktop.
14cd:1212 Super Top microSD card reader (SY-T18)
Bus 005 Device 006: ID 14cd:1212 Super Top microSD card reader (SY-T18)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x14cd Super Top
idProduct 0x1212 microSD card reader (SY-T18)
bcdDevice 1.00
iManufacturer 1
iProduct 3
iSerial 2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0020
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
////////////////////////////////////////////////////////////////////////////////
// USB_desc_dump
// Address: 01
// Lowspeed: 00
// Devicer dump:
12 01 00 02 00 00 00 40 CD 14 12 12 00 01 01 03
02 01
// Device:
bLength: 12
bDescriptorType: 01
bcdUSB: 0200
bDeviceClass: 00
bDeviceSubClass: 00
bDeviceProtocol: 00
bMaxPacketSize0: 40
idVendor: 14CD
idProduct: 1212
bcdDevice: 0100
iManufacturer: 01
iProduct: 03
iSerialNumber: 02
bNumConfigurations: 01
// String Zero: len: 04
// 04 03 09 04
// LangId: 0409
// iManufacturer: String1(0409): len: 10
// 10 03 47 00 65 00 6E 00 65 00 72 00 69 00 63 00
// Generic
// iProduct: String3(0409): len: 28
// 28 03 4D 00 61 00 73 00 73 00 20 00 53 00 74 00
// 6F 00 72 00 61 00 67 00 65 00 20 00 44 00 65 00
// 76 00 69 00 63 00 65 00
// Mass Storage Device
// iSerialNumber: String2(0409): len: 1A
// 1A 03 31 00 32 00 31 00 32 00 32 00 30 00 31 00
// 36 00 30 00 32 00 30 00 34 00
// 121220160204
// Config0 dump: len: 0020
09 02 20 00 01 01 00 80 32 09 04 00 00 02 08 06
50 00 07 05 81 02 40 00 00 07 05 02 02 40 00 00
// Config0:
bLength: 09
bDescriptorType: 02
wTotalLength: 0020
bNumInterfaces: 01
bConfigurationValue: 01
iConfiguration: 00
bmAttributes: 80
bMaxPower: 32
// Interface0.0:
bLength: 09
bDescriptorType: 04
bInterfaceNumber: 00
bAlternateSetting: 00
bNumEndpoints: 02
bInterfaceClass: 08
bInterfaceSubClass: 06
bInterfaceProtocol: 50
iInterface: 00
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 81
bmAttributes: 02
wMaxPacketSize: 0040
bInterval: 00
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 02
bmAttributes: 02
wMaxPacketSize: 0040
bInterval: 00
// Parse data here: http://eleccelerator.com/usbdescreqparser/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment