diff options
| author | Catherine <whitequark@whitequark.org> | 2023-10-28 15:19:08 +0000 |
|---|---|---|
| committer | Catherine <whitequark@whitequark.org> | 2023-10-28 15:31:28 +0000 |
| commit | 54000b09498080706152bbb8782f68b8efa0ad33 (patch) | |
| tree | 2f8ecb25763d02ed5907fc76d5378068aa2ac343 /amaranth_boards/versa_ecp5.py | |
| parent | 91ffa38e788a691464a6873d44537eece72ef76e (diff) | |
versa_ecp5: update deprecated openocd command names.
Diffstat (limited to 'amaranth_boards/versa_ecp5.py')
| -rw-r--r-- | amaranth_boards/versa_ecp5.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/amaranth_boards/versa_ecp5.py b/amaranth_boards/versa_ecp5.py index 195548e..a7467a3 100644 --- a/amaranth_boards/versa_ecp5.py +++ b/amaranth_boards/versa_ecp5.py @@ -141,14 +141,14 @@ class VersaECP5Platform(LatticeECP5Platform): return { **super().file_templates, "{{name}}-openocd.cfg": r""" - interface ftdi + adapter driver ftdi + adapter speed 25000 {# FTDI descriptors is identical between non-5G and 5G recent Versa boards #} - ftdi_device_desc "Lattice ECP5_5G VERSA Board" - ftdi_vid_pid 0x0403 0x6010 - ftdi_channel 0 - ftdi_layout_init 0xfff8 0xfffb + ftdi device_desc "Lattice ECP5_5G VERSA Board" + ftdi vid_pid 0x0403 0x6010 + ftdi channel 0 + ftdi layout_init 0xfff8 0xfffb reset_config none - adapter_khz 25000 # ispCLOCK device (unusable with openocd and must be bypassed) #jtag newtap ispclock tap -irlen 8 -expected-id 0x00191043 |
