Searching with google https://www.google.com/search?q=%22iProduct%22+%22Digilent+Adept+USB+Device%22 reports that the 'iProduct' string 'Digilent Adept USB Device' was really existing. Then if, why and when Digilent changed it, that's hard to find. Personally I consider this string match as not strongly needed. I mean, you need the string match only in the odd case you have plugged two devices with the same USB 0403:6014 ID where one is the HS2 you want to use. But even in this case you can select the right one based on S/N or USB location. I think a reasonable patch could looks like this: ~~~ -ftdi device_desc "Digilent Adept USB Device" +# Different iProduct string is detected on Digilent devices +# ftdi device_desc "Digilent USB Device" +# ftdi device_desc "Digilent Adept USB Device" ~~~ Would it make sense to you? Would you like to propose something like this in OpenOCD's gerrit?
--- ** [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:** Fri Jul 22, 2022 07:13 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.