trion_t20_bga256.cfg 945 B

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