diff --git a/litex_boards/prog/openocd_evn_ecp5.cfg b/litex_boards/prog/openocd_evn_ecp5.cfg index 21e9bb4..1278357 100644 --- a/litex_boards/prog/openocd_evn_ecp5.cfg +++ b/litex_boards/prog/openocd_evn_ecp5.cfg @@ -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