From c96a24a30775689a928d22d30c3c43cda38b8b94 Mon Sep 17 00:00:00 2001 From: mrv96 Date: Mon, 19 Sep 2022 23:47:39 +0200 Subject: Add Digilent JTAG-HS2 cJTAG configuration Signed-off-by: mrv96 --- tcl/interface/ftdi/digilent-hs2-cjtag.cfg | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tcl/interface/ftdi/digilent-hs2-cjtag.cfg diff --git a/tcl/interface/ftdi/digilent-hs2-cjtag.cfg b/tcl/interface/ftdi/digilent-hs2-cjtag.cfg new file mode 100644 index 0000000..067f664 --- /dev/null +++ b/tcl/interface/ftdi/digilent-hs2-cjtag.cfg @@ -0,0 +1,19 @@ +# this supports JTAG-HS2 (and apparently Nexys4 as well) + +adapter driver ftdi +ftdi device_desc "Digilent Adept USB Device" +ftdi vid_pid 0x0403 0x6014 + +ftdi channel 0 +ftdi layout_init 0xc0e8 0xe0eb + +reset_config none + +# These signals are used for cJTAG escape sequence on initialization only +ftdi layout_signal TCK -data 0x0001 +ftdi layout_signal TDI -data 0x0002 +ftdi layout_signal TDO -input 0x0004 +ftdi layout_signal TMS -data 0x0008 +ftdi layout_signal JTAG_SEL -ndata 0xc000 + +ftdi layout_signal TMSC_EN -data 0x0020 -- cgit v1.1