I'm seeing the same issue with my Digilent HS2 (Rev A) adapter.

I raised the question on the Digilent forums to see if things have always been 
this way or if earlier revisions used the "Digilent Adept USB Device" string:

https://forum.digilent.com/topic/23459-jtag-hs2-usb-iproduct-value-changes/


---

** [tickets:#357] digilent-hs2.cfg not working with Digilent HS2 JTAG adapter**

**Status:** new
**Milestone:** 0.10.0
**Created:** Tue Jul 19, 2022 03:03 PM UTC by Johannes Wüthrich
**Last Updated:** Thu Jul 21, 2022 09:09 PM UTC
**Owner:** nobody
**Attachments:**

- 
[Digilent-HS2-lsusb.txt](https://sourceforge.net/p/openocd/tickets/357/attachment/Digilent-HS2-lsusb.txt)
 (2.4 kB; text/plain)


The digilent-hs2.cfg config file currently provided by OpenOCD 
(`openocd/tcl/interface/ftdi/digilent-hs2.cfg`) does not allow to recognize the 
Digilent HS2 adapter which I am using.

The problem is most likely due to an incorrect / no longer correct 
`device_desc`filter in the current config file:

`Line 6: ftdi device_desc "Digilent Adept USB Device"`

Removing this line from the config file (or commenting it) allows the Digilent 
HS2 to be properly recognized.

For reference, the JTAG adapter I am using is a `Digilent HS2 Rev.4` bought in 
2021.

Under `lsusb` the adapter shows up as follows:
`Bus 001 Device 084: ID 0403:6014 Future Technology Devices International, Ltd 
FT232H Single HS USB-UART/FIFO IC`

The verbose output of `lsusb -vd 0403:6014` is attached.

The `dmesg` output when connecting the adapter is:

`[538700.013858] usb 1-6: USB disconnect, device number 84
[538703.215083] usb 1-6: new high-speed USB device number 90 using xhci_hcd
[538703.368280] usb 1-6: New USB device found, idVendor=0403, idProduct=6014, 
bcdDevice= 9.00
[538703.368286] usb 1-6: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[538703.368290] usb 1-6: Product: Digilent USB Device
[538703.368292] usb 1-6: Manufacturer: Digilent
[538703.368295] usb 1-6: SerialNumber: 210249AFCD0B
[538703.372699] ftdi_sio 1-6:1.0: FTDI USB Serial Device converter detected
[538703.372809] usb 1-6: Detected FT232H
[538703.373147] usb 1-6: FTDI USB Serial Device converter now attached to 
ttyUSB0`



---

Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.


Reply via email to