mirror of
https://git.code.sf.net/p/openocd/code
synced 2024-11-22 11:56:27 +00:00
16e9b9c44f
USB HS based CMSIS-DAP v1 (HID) adapters found on Atmel/Microchip Xplained Pro development boards. Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Change-Id: I62a4b656dc6dce27da386e906d87088befc2bcbf Reviewed-on: https://review.openocd.org/c/openocd/+/8038 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
212 lines
7.9 KiB
Plaintext
212 lines
7.9 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-or-later OR GFDL-1.2-no-invariants-or-later
|
|
|
|
# Optional comment
|
|
|
|
Bus 001 Device 006: ID 03eb:2111 Atmel Corp. Xplained Pro board debugger and programmer
|
|
Device Descriptor:
|
|
bLength 18
|
|
bDescriptorType 1
|
|
bcdUSB 2.00
|
|
bDeviceClass 239 Miscellaneous Device
|
|
bDeviceSubClass 2
|
|
bDeviceProtocol 1 Interface Association
|
|
bMaxPacketSize0 64
|
|
idVendor 0x03eb Atmel Corp.
|
|
idProduct 0x2111 Xplained Pro board debugger and programmer
|
|
bcdDevice 1.01
|
|
iManufacturer 1 Atmel Corp.
|
|
iProduct 2 EDBG CMSIS-DAP
|
|
iSerial 3 ATMLxxxxxxxxxxxxxxxx
|
|
bNumConfigurations 1
|
|
Configuration Descriptor:
|
|
bLength 9
|
|
bDescriptorType 2
|
|
wTotalLength 0x0082
|
|
bNumInterfaces 4
|
|
bConfigurationValue 1
|
|
iConfiguration 0
|
|
bmAttributes 0x80
|
|
(Bus Powered)
|
|
MaxPower 500mA
|
|
Interface Descriptor:
|
|
bLength 9
|
|
bDescriptorType 4
|
|
bInterfaceNumber 0
|
|
bAlternateSetting 0
|
|
bNumEndpoints 2
|
|
bInterfaceClass 3 Human Interface Device
|
|
bInterfaceSubClass 0
|
|
bInterfaceProtocol 0
|
|
iInterface 4 EDBG CMSIS-DAP
|
|
HID Device Descriptor:
|
|
bLength 9
|
|
bDescriptorType 33
|
|
bcdHID 1.11
|
|
bCountryCode 0 Not supported
|
|
bNumDescriptors 1
|
|
bDescriptorType 34 Report
|
|
wDescriptorLength 35
|
|
Report Descriptor: (length is 35)
|
|
Item(Global): Usage Page, data= [ 0x00 0xff ] 65280
|
|
(null)
|
|
Item(Local ): Usage, data= [ 0x01 ] 1
|
|
(null)
|
|
Item(Main ): Collection, data= [ 0x01 ] 1
|
|
Application
|
|
Item(Global): Logical Minimum, data= [ 0x00 ] 0
|
|
Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
|
|
Item(Global): Report Size, data= [ 0x08 ] 8
|
|
Item(Global): Report Count, data= [ 0x00 0x02 ] 512
|
|
Item(Local ): Usage, data= [ 0x01 ] 1
|
|
(null)
|
|
Item(Main ): Input, data= [ 0x02 ] 2
|
|
Data Variable Absolute No_Wrap Linear
|
|
Preferred_State No_Null_Position Non_Volatile Bitfield
|
|
Item(Global): Report Count, data= [ 0x00 0x02 ] 512
|
|
Item(Local ): Usage, data= [ 0x01 ] 1
|
|
(null)
|
|
Item(Main ): Output, data= [ 0x02 ] 2
|
|
Data Variable Absolute No_Wrap Linear
|
|
Preferred_State No_Null_Position Non_Volatile Bitfield
|
|
Item(Global): Report Count, data= [ 0x04 ] 4
|
|
Item(Local ): Usage, data= [ 0x01 ] 1
|
|
(null)
|
|
Item(Main ): Feature, data= [ 0x02 ] 2
|
|
Data Variable Absolute No_Wrap Linear
|
|
Preferred_State No_Null_Position Non_Volatile Bitfield
|
|
Item(Main ): End Collection, data=none
|
|
Endpoint Descriptor:
|
|
bLength 7
|
|
bDescriptorType 5
|
|
bEndpointAddress 0x01 EP 1 OUT
|
|
bmAttributes 3
|
|
Transfer Type Interrupt
|
|
Synch Type None
|
|
Usage Type Data
|
|
wMaxPacketSize 0x0200 1x 512 bytes
|
|
bInterval 1
|
|
Endpoint Descriptor:
|
|
bLength 7
|
|
bDescriptorType 5
|
|
bEndpointAddress 0x82 EP 2 IN
|
|
bmAttributes 3
|
|
Transfer Type Interrupt
|
|
Synch Type None
|
|
Usage Type Data
|
|
wMaxPacketSize 0x0200 1x 512 bytes
|
|
bInterval 1
|
|
Interface Association:
|
|
bLength 8
|
|
bDescriptorType 11
|
|
bFirstInterface 1
|
|
bInterfaceCount 2
|
|
bFunctionClass 2 Communications
|
|
bFunctionSubClass 2 Abstract (modem)
|
|
bFunctionProtocol 1 AT-commands (v.25ter)
|
|
iFunction 6 EDBG Virtual COM Port
|
|
Interface Descriptor:
|
|
bLength 9
|
|
bDescriptorType 4
|
|
bInterfaceNumber 1
|
|
bAlternateSetting 0
|
|
bNumEndpoints 1
|
|
bInterfaceClass 2 Communications
|
|
bInterfaceSubClass 2 Abstract (modem)
|
|
bInterfaceProtocol 1 AT-commands (v.25ter)
|
|
iInterface 0
|
|
CDC Header:
|
|
bcdCDC 1.10
|
|
CDC ACM:
|
|
bmCapabilities 0x06
|
|
sends break
|
|
line coding and serial state
|
|
CDC Union:
|
|
bMasterInterface 1
|
|
bSlaveInterface 2
|
|
CDC Call Management:
|
|
bmCapabilities 0x03
|
|
call management
|
|
use DataInterface
|
|
bDataInterface 2
|
|
Endpoint Descriptor:
|
|
bLength 7
|
|
bDescriptorType 5
|
|
bEndpointAddress 0x83 EP 3 IN
|
|
bmAttributes 3
|
|
Transfer Type Interrupt
|
|
Synch Type None
|
|
Usage Type Data
|
|
wMaxPacketSize 0x0040 1x 64 bytes
|
|
bInterval 8
|
|
Interface Descriptor:
|
|
bLength 9
|
|
bDescriptorType 4
|
|
bInterfaceNumber 2
|
|
bAlternateSetting 0
|
|
bNumEndpoints 2
|
|
bInterfaceClass 10 CDC Data
|
|
bInterfaceSubClass 0
|
|
bInterfaceProtocol 0
|
|
iInterface 0
|
|
Endpoint Descriptor:
|
|
bLength 7
|
|
bDescriptorType 5
|
|
bEndpointAddress 0x84 EP 4 IN
|
|
bmAttributes 2
|
|
Transfer Type Bulk
|
|
Synch Type None
|
|
Usage Type Data
|
|
wMaxPacketSize 0x0040 1x 64 bytes
|
|
bInterval 0
|
|
Endpoint Descriptor:
|
|
bLength 7
|
|
bDescriptorType 5
|
|
bEndpointAddress 0x05 EP 5 OUT
|
|
bmAttributes 2
|
|
Transfer Type Bulk
|
|
Synch Type None
|
|
Usage Type Data
|
|
wMaxPacketSize 0x0040 1x 64 bytes
|
|
bInterval 0
|
|
Interface Descriptor:
|
|
bLength 9
|
|
bDescriptorType 4
|
|
bInterfaceNumber 3
|
|
bAlternateSetting 0
|
|
bNumEndpoints 2
|
|
bInterfaceClass 255 Vendor Specific Class
|
|
bInterfaceSubClass 255 Vendor Specific Subclass
|
|
bInterfaceProtocol 255 Vendor Specific Protocol
|
|
iInterface 5 EDBG Data Gateway
|
|
Endpoint Descriptor:
|
|
bLength 7
|
|
bDescriptorType 5
|
|
bEndpointAddress 0x87 EP 7 IN
|
|
bmAttributes 2
|
|
Transfer Type Bulk
|
|
Synch Type None
|
|
Usage Type Data
|
|
wMaxPacketSize 0x0200 1x 512 bytes
|
|
bInterval 255
|
|
Endpoint Descriptor:
|
|
bLength 7
|
|
bDescriptorType 5
|
|
bEndpointAddress 0x06 EP 6 OUT
|
|
bmAttributes 2
|
|
Transfer Type Bulk
|
|
Synch Type None
|
|
Usage Type Data
|
|
wMaxPacketSize 0x0200 1x 512 bytes
|
|
bInterval 255
|
|
Device Qualifier (for other device speed):
|
|
bLength 10
|
|
bDescriptorType 6
|
|
bcdUSB 2.00
|
|
bDeviceClass 239 Miscellaneous Device
|
|
bDeviceSubClass 2
|
|
bDeviceProtocol 1 Interface Association
|
|
bMaxPacketSize0 64
|
|
bNumConfigurations 1
|
|
Device Status: 0x0000
|
|
(Bus Powered)
|