Add Digilent JTAG-HS2 cJTAG configuration

Signed-off-by: mrv96 <mrv96@users.noreply.github.com>
This commit is contained in:
mrv96 2022-09-19 23:47:39 +02:00
parent 671d99b89b
commit c96a24a307
1 changed files with 19 additions and 0 deletions

View File

@ -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