jtag/drivers/jlink: Use correct command errors
[openocd.git] / tcl / board / trion_t20_bga256.cfg
blobdc76d39104c0f96ca6f89eeae67289270dd30bce
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 # TrionĀ® T20 BGA256 Development Kit
4 # https://www.efinixinc.com/docs/trion20-devkit-ug-v1.5.pdf
6 # works after power cycle or pushing sw1.
7 # it is because we cannot control CDONE which is connected to ftdi channel 0
8 # note from an006: For JTAG programming, T4, T8, T13, and T20 FPGAs use the
9 # CRESET_N and SS_N pins in addition to the standard JTAG pins.
11 adapter driver ftdi
12 ftdi vid_pid 0x0403 0x6010
14 ftdi channel 1
15 ftdi layout_init 0x0008 0x008b
16 reset_config none
17 transport select jtag
18 adapter speed 6000
20 source [find fpga/efinix_trion.cfg]
22 #openocd -f board/trion_t20_bga256.cfg -c "init" -c "pld load trion.pld outflow/trion_blinker.bit"
23 #ipdbg -start -tap trion.tap -hub 0x8 -port 5555 -tool 0
25 set JTAGSPI_CHAIN_ID trion.pld
26 source [find cpld/jtagspi.cfg]
28 #jtagspi_init trion.pld "trion_jtagspi/outflow/trion_jtagspi.bit" 0xAB
29 #jtagspi_program trion_blinker/outflow/trion_blinker.bin 0