lattice_ecp5_evn: update OpenOCD syntax

When running `litex_server`, this error appeared:

    can't read "_CHIPNAME": no such variable

This is a fix for the specific lattice_ecp5_evn board.
It also refreshes the OpenOCD syntax.
This commit is contained in:
Josuah Demangeon 2023-07-31 14:05:34 +02:00
parent cbcf6df26f
commit 538399cb3b
1 changed files with 8 additions and 7 deletions

View File

@ -1,9 +1,10 @@
interface ftdi
ftdi_vid_pid 0x0403 0x6010
ftdi_channel 0
ftdi_layout_init 0xfff8 0xfffb
adapter driver ftdi
adapter speed 25000
transport select jtag
ftdi vid_pid 0x0403 0x6010
ftdi channel 0
ftdi layout_init 0x00e8 0x60eb
reset_config none
adapter_khz 5000
jtag newtap ecp5 tap -irlen 8 -expected-id 0x81113043
set _CHIPNAME ecp5
jtag newtap $_CHIPNAME tap -irlen 8 -expected-id 0x81113043