Merge pull request #742 from mrv96/cjtag

Fix Digilent JTAG-HS2 cJTAG configuration script
This commit is contained in:
Tim Newsome 2022-10-06 09:43:11 -07:00 committed by GitHub
commit b411a955c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -1,11 +1,9 @@
# 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
ftdi layout_init 0x60e8 0x60eb
reset_config none
@ -14,6 +12,6 @@ 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 JTAG_SEL -ndata 0x6000 -oe 0x6000
ftdi layout_signal TMSC_EN -data 0x0020
ftdi layout_signal TMSC_EN -data 0x0020 -oe 0x0020