Try to connect using the JLink programmer
~~~
jtag
xc7_program
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Warn : Failed to open device: LIBUSB_ERROR_NOT_SUPPORTED.
Info : J-Link V9 compiled May  7 2021 16:26:12
Info : Hardware version: 9.60
Info : VTarget = 3.303 V
Info : clock speed 15000 kHz
Info : JTAG tap: xc7.tap tap/device found: 0x13631093 (mfg: 0x049 (Xilinx), 
part: 0x3631, ver: 0x1)
Info : JTAG tap: auto0.tap tap/device found: 0x13631093 (mfg: 0x049 (Xilinx), 
part: 0x3631, ver: 0x1)
Warn : AUTO auto0.tap - use "jtag newtap auto0 tap -irlen 2 -expected-id 
0x13631093"
Error: IR capture error at bit 8, saw 0x0FFFFFFFFFFFFFFD75 not 0x...3
Warn : Bypassing JTAG setup events due to errors
Warn : gdb services need one or more targets defined
~~~
2 JTGA Taps appear, follow the prompts and add " jtag newtap auto0 tap -irlen 2 
-expected-id 0x13631093 " to the cfg.
~~~
xc7_program
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Warn : Failed to open device: LIBUSB_ERROR_NOT_SUPPORTED.
Info : J-Link V9 compiled May  7 2021 16:26:12
Info : Hardware version: 9.60
Info : VTarget = 3.316 V
Info : clock speed 15000 kHz
Info : JTAG tap: auto0.tap tap/device found: 0x13631093 (mfg: 0x049 (Xilinx), 
part: 0x3631, ver: 0x1)
Info : JTAG tap: xc7.tap tap/device found: 0x13631093 (mfg: 0x049 (Xilinx), 
part: 0x3631, ver: 0x1)
Error: IR capture error at bit 8, saw 0x0175 not 0x...3
Warn : Bypassing JTAG setup events due to errors
Warn : gdb services need one or more targets defined
~~~
The pcb has 2 pieces of the same model FPGA type on it.


---

**[tickets:#429] How to Select Daisy Chain Chip Devices**

**Status:** new
**Milestone:** 0.10.0
**Labels:** FTDI USB FPGA Daisy Chain 
**Created:** Thu Apr 11, 2024 06:38 AM UTC by KooLee
**Last Updated:** Thu Apr 11, 2024 06:38 AM UTC
**Owner:** nobody


I'm having problems programming FPGAs with FT2232H+OpenOCD, I don't know how to 
solve it, I hope enthusiastic people in the community can help me out.

According to Xilinx UG470 manual, FPGA supports JTAG daisy chaining.
![](https://img2.imgtp.com/2024/04/11/FWale1Ie.png)

Xilinx Vivado Hardware Managers
![](https://img2.imgtp.com/2024/04/11/HCbVfMmx.png)

Please tell me how to select the specified FPGA device in openocd.

The programmer device I am using is FT2232H.
![](https://img2.imgtp.com/2024/04/11/HHP6qaRz.png)
ft2232h.cfg
~~~
interface ftdi
ftdi_vid_pid 0x0403 0x6011
ftdi_channel 0
ftdi_layout_init 0x0098 0x008b
reset_config none

source [find cpld/xilinx-xc7.cfg]
source [find cpld/jtagspi.cfg]
adapter_khz 10000

proc fpga_program {} {
        global _CHIPNAME
        xc7_program $_CHIPNAME.tap
}

init
jtagspi_init 0 bscan_spi_xc7a50t.bit
jtagspi_program bin.bin 0x0
fpga_program
shutdown
~~~


---

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