diff --git a/litex_boards/prog/openocd_ecpix5.cfg b/litex_boards/prog/openocd_ecpix5.cfg index 4ff7868..b109af8 100644 --- a/litex_boards/prog/openocd_ecpix5.cfg +++ b/litex_boards/prog/openocd_ecpix5.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 0xfff8 0xfffb reset_config none -adapter_khz 25000 - -jtag newtap ecp5 tap -irlen 8 -expected-id 0x81113043 +set _CHIPNAME ecp5 +jtag newtap $_CHIPNAME tap -irlen 8 -expected-id 0x81113043