Skip to content

Instantly share code, notes, and snippets.

@tmk
Created July 17, 2021 14:20
Show Gist options
  • Save tmk/54658fb8a2dbab4a3c2550023d2fc24a to your computer and use it in GitHub Desktop.
Save tmk/54658fb8a2dbab4a3c2550023d2fc24a to your computer and use it in GitHub Desktop.
14cd:121c Super Top microSD card reader
Bus 005 Device 018: ID 14cd:121c Super Top microSD card reader
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x14cd Super Top
idProduct 0x121c microSD card reader
bcdDevice 2.00
iManufacturer 1
iProduct 3
iSerial 2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0020
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 248mA
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 1C 12 00 02 01 03
02 01
// Device:
bLength: 12
bDescriptorType: 01
bcdUSB: 0200
bDeviceClass: 00
bDeviceSubClass: 00
bDeviceProtocol: 00
bMaxPacketSize0: 40
idVendor: 14CD
idProduct: 121C
bcdDevice: 0200
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 38 00 31 00 32 00 33 00 32 00 30 00 30 00
// 39 00 30 00 35 00 31 00 39 00
// 812320090519
// Config0 dump: len: 0020
09 02 20 00 01 01 00 C0 7C 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: C0
bMaxPower: 7C
// 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