Skip to content

Instantly share code, notes, and snippets.

@esden
Created January 18, 2012 05:32
Show Gist options
  • Save esden/1631182 to your computer and use it in GitHub Desktop.
Save esden/1631182 to your computer and use it in GitHub Desktop.
Full Speed device @ 6 (0xFA130000): ............................................. Miscellaneous/Common Class device: "Black Magic Probe"
Port Information: 0x0018
Not Captive
External Device
Connected
Enabled
Number Of Endpoints (includes EP0):
Total Endpoints for Configuration 1 (current): 7
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: 0x0483/0x5740 (STMicroelectronics)
Device Version Number: 0x0200
Number of Configurations: 1
Manufacturer String: 1 "Black Sphere Technologies"
Product String: 2 "Black Magic Probe"
Serial Number String: 3 "7FC084D1"
Configuration Descriptor (current config)
Length (and contents): 167
Number of Interfaces: 5
Configuration Value: 1
Attributes: 0x80 (bus-powered)
MaxPower: 100 ma
Interface Association Communications-Control
First Interface 0
Interface Count 2
Function Class 2 (Communications-Control)
Function Subclass 2
Interface Protocol 1
Function String 0 (none)
Interface #0 - Communications-Control .............................................. "Black Magic GDB Server"
Alternate Setting 0
Number of Endpoints 1
Interface Class: 2 (Communications-Control)
Interface Subclass; 2
Interface Protocol: 1
Comm Class Header Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 00 10 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 0x82 - Interrupt Input
Address: 0x82 (IN)
Attributes: 0x03 (Interrupt no synchronization data endpoint)
Max Packet Size: 16
Polling Interval: 255 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 0x01 - Bulk Output
Address: 0x01 (OUT)
Attributes: 0x02 (Bulk no synchronization data endpoint)
Max Packet Size: 64
Polling Interval: 1 ms
Endpoint 0x81 - Bulk Input
Address: 0x81 (IN)
Attributes: 0x02 (Bulk no synchronization data endpoint)
Max Packet Size: 64
Polling Interval: 1 ms
Interface Association Communications-Control
First Interface 2
Interface Count 2
Function Class 2 (Communications-Control)
Function Subclass 2
Interface Protocol 1
Function String 0 (none)
Interface #2 - Communications-Control .............................................. "Black Magic UART Port"
Alternate Setting 0
Number of Endpoints 1
Interface Class: 2 (Communications-Control)
Interface Subclass; 2
Interface Protocol: 1
Comm Class Header Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 00 10 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 0x84 - Interrupt Input
Address: 0x84 (IN)
Attributes: 0x03 (Interrupt no synchronization data endpoint)
Max Packet Size: 16
Polling Interval: 255 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 0x03 - Bulk Output
Address: 0x03 (OUT)
Attributes: 0x02 (Bulk no synchronization data endpoint)
Max Packet Size: 64
Polling Interval: 1 ms
Endpoint 0x83 - Bulk Input
Address: 0x83 (IN)
Attributes: 0x02 (Bulk no synchronization data endpoint)
Max Packet Size: 64
Polling Interval: 1 ms
Interface Association Application Specific/Device Firmware Update
First Interface 4
Interface Count 1
Function Class 254 (Application Specific)
Function Subclass 1 (Device Firmware Update)
Interface Protocol 1
Function String 6 "Black Magic Firmware Upgrade"
Interface #4 - Application Specific/Device Firmware Update .............................................. "Black Magic Firmware Upgrade"
Alternate Setting 0
Number of Endpoints 0
Interface Class: 254 (Application Specific)
Interface Subclass; 1 (Device Firmware Update)
Interface Protocol: 1
DFU Functional Descriptor
bmAttributes: 0x09 (Download, No Upload, Not Manifestation Tolerant, Reserved bits: 0x08)
wDetachTimeout: 255 ms
wTransferSize: 1024 bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment