diff options
author | Daniel Anselmi <danselmi@gmx.ch> | 2022-12-17 13:11:30 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2023-09-23 14:34:57 +0000 |
commit | b2a22943e1d76b549c5ff5e84b95658abbd89a69 (patch) | |
tree | 42a0da6561ef8a19e7987a6e040838ebfb300cd3 /tcl | |
parent | 302027094bfa9f331f5de2d25ecea01bac68a58a (diff) | |
download | riscv-openocd-b2a22943e1d76b549c5ff5e84b95658abbd89a69.zip riscv-openocd-b2a22943e1d76b549c5ff5e84b95658abbd89a69.tar.gz riscv-openocd-b2a22943e1d76b549c5ff5e84b95658abbd89a69.tar.bz2 |
jtagspi/pld: add support from efinix driver
Provide jtagspi with information to use jtagspi for
programming spi-flash devices on efinix trion and
titanium devices using a proxy bitstream.
Change-Id: I4a851fcaafe832c35bd7b825d95a3d08e4d57a7b
Signed-off-by: Daniel Anselmi <danselmi@gmx.ch>
Reviewed-on: https://review.openocd.org/c/openocd/+/7826
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
Diffstat (limited to 'tcl')
-rw-r--r-- | tcl/board/trion_t20_bga256.cfg | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tcl/board/trion_t20_bga256.cfg b/tcl/board/trion_t20_bga256.cfg index 045d63d..dc76d39 100644 --- a/tcl/board/trion_t20_bga256.cfg +++ b/tcl/board/trion_t20_bga256.cfg @@ -19,6 +19,11 @@ adapter speed 6000 source [find fpga/efinix_trion.cfg] -#openocd -f board/trion_t20_bga256.cfg -c "init" -c "pld load 0 outflow/trion_blinker.bit" +#openocd -f board/trion_t20_bga256.cfg -c "init" -c "pld load trion.pld outflow/trion_blinker.bit" #ipdbg -start -tap trion.tap -hub 0x8 -port 5555 -tool 0 +set JTAGSPI_CHAIN_ID trion.pld +source [find cpld/jtagspi.cfg] + +#jtagspi_init trion.pld "trion_jtagspi/outflow/trion_jtagspi.bit" 0xAB +#jtagspi_program trion_blinker/outflow/trion_blinker.bin 0 |