aboutsummaryrefslogtreecommitdiff
path: root/tcl/board/digilent_cmod_s7.cfg
blob: 4fa45a17a78c8290ddf306674ba9177c9554a802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# SPDX-License-Identifier: GPL-2.0-or-later

# digilent CMOD S7
# https://digilent.com/reference/programmable-logic/cmod-s7/reference-manual


adapter driver ftdi
ftdi channel 0
ftdi layout_init 0x0008 0x008b
ftdi vid_pid 0x0403 0x6010
reset_config none
transport select jtag

adapter speed 10000

source [find cpld/xilinx-xc7.cfg]

# "ipdbg create-hub xc7.ipdbghub -tap xc7.tap -ir 0x02"
# "xc7.ipdbghub ipdbg start -tool 0 -port 5555"
#openocd -f board/digilent_cmod_s7.cfg -c "init" -c "pld load xc7.pld shared_folder/cmod_s7_fast.bit"

set JTAGSPI_CHAIN_ID xc7.pld
source [find cpld/jtagspi.cfg]

#jtagspi_init xc7.pld "shared_folder/bscan_spi_xc7s25.bit" 0xab
#jtagspi_program shared_folder/cmod_s7_fast.bit 0