Skip to content

Instantly share code, notes, and snippets.

@mithro
Created October 15, 2017 10:57
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mithro/9f60cbd59c91b015c6491a0b2a091500 to your computer and use it in GitHub Desktop.
Save mithro/9f60cbd59c91b015c6491a0b2a091500 to your computer and use it in GitHub Desktop.
Digilent Arty config for OpenOCD.
#
# Digilent Arty with Xilinx Artix-7 FPGA
#
# http://store.digilentinc.com/arty-artix-7-fpga-development-board-for-makers-and-hobbyists/
#
# iManufacturer 1 Digilent
# iProduct 2 Digilent USB Device
# iSerial 3 210319A28C7F
interface ftdi
ftdi_device_desc "Digilent USB Device"
ftdi_vid_pid 0x0403 0x6010
# channel 1 does not have any functionality
ftdi_channel 0
# just TCK TDI TDO TMS, no reset
ftdi_layout_init 0x0088 0x008b
reset_config none
adapter_khz 10000
source [find cpld/xilinx-xc7.cfg]
source [find cpld/jtagspi.cfg]
@whatnick
Copy link

The newer Arty Device (S7 - XC7S25-CSGA324) has a different "ftdi_device_desc" and fails with this description. Perhaps leaving it out for now will be fine or x2 ftdi_device_desc.

@fatalfeel
Copy link

failed need help

lsusb->
Bus 002 Device 087: ID 0403:6010 Future Technology Devices International, Ltd FT2232C Dual USB-UART/FIFO IC

openocd -f /opt/openocd/share/openocd/scripts/target/artya735t.cfg
Open On-Chip Debugger 0.10.1+dev
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
DEPRECATED! use 'adapter driver' not 'interface'
DEPRECATED! use 'adapter speed' not 'adapter_khz'
Info : auto-selecting first available session transport "jtag". To override use 'transport select '.
jtagspi_program
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, description 'Digilent USB Device', serial '' at bus location ''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment