On Tue, Oct 11, 2011 at 12:24 PM, Peter Stuge <[email protected]> wrote:
> Xiaofan Chen wrote:
>
>> > Or does the driver support so many jlink devices with so many different
>> > USB interface variants that there's no way to get around it?
>>
>> That is right, there are different version of J-Link with different
>> endpoints configuration.
>
> With the same vidpid? Meh. :(
>

Yes, different output endpoint used but with the same VID/PID.

For example, with V3 J-Link, the following is the output of USBView
(under Windows now). V4 may be the same (I have not seen V1/V2/V4).

Device Descriptor:
bcdUSB:             0x0110
bDeviceClass:         0x00
bDeviceSubClass:      0x00
bDeviceProtocol:      0x00
bMaxPacketSize0:      0x08 (8)
idVendor:           0x1366
idProduct:          0x0101
bcdDevice:          0x0001
iManufacturer:        0x01
iProduct:             0x02
iSerialNumber:        0x03
bNumConfigurations:   0x01

ConnectionStatus: DeviceConnected
Current Config Value: 0x01
Device Bus Speed:     Full
Device Address:       0x01
Open Pipes:              2

Endpoint Descriptor:
bEndpointAddress:     0x81  IN
Transfer Type:        Bulk
wMaxPacketSize:     0x0040 (64)
bInterval:            0x00

Endpoint Descriptor:
bEndpointAddress:     0x01  OUT
Transfer Type:        Bulk
wMaxPacketSize:     0x0040 (64)
bInterval:            0x00

With V7, the output is like this. V6/V8/Pro should be the same. Probably
V5 as well. I have not seen a V5 or an Ultra yet.
Device Descriptor:
bcdUSB:             0x0110
bDeviceClass:         0x00
bDeviceSubClass:      0x00
bDeviceProtocol:      0x00
bMaxPacketSize0:      0x08 (8)
idVendor:           0x1366
idProduct:          0x0101
bcdDevice:          0x0001
iManufacturer:        0x01
iProduct:             0x02
iSerialNumber:        0x03
bNumConfigurations:   0x01

ConnectionStatus: DeviceConnected
Current Config Value: 0x01
Device Bus Speed:     Full
Device Address:       0x01
Open Pipes:              2

Endpoint Descriptor:
bEndpointAddress:     0x81  IN
Transfer Type:        Bulk
wMaxPacketSize:     0x0040 (64)
bInterval:            0x00

Endpoint Descriptor:
bEndpointAddress:     0x02  OUT
Transfer Type:        Bulk
wMaxPacketSize:     0x0040 (64)
bInterval:            0x00


-- 
Xiaofan
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to