target/cortex_m: Add Cortex-M85 part
[openocd.git] / tcl / fpga / lattice_ecp3.cfg
blob21c8ffa842e19248f5186c78c51a189dc3f1bc10
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 if { [info exists CHIPNAME] } {
4         set _CHIPNAME $_CHIPNAME
5 } else {
6         set _CHIPNAME ecp3
9 # Lattice ECP3 family
10 # TAP IDs are extracted from BSDL files found on this page:
11 # https://www.latticesemi.com/Products/FPGAandCPLD/LatticeECP3
13 # LFE3_17:  0x01010043
14 # LFE3_35:  0x01012043
15 # LFE3_95:  0x01014043 and LFE3_70
16 # LFE3_150: 0x01015043
18 jtag newtap $_CHIPNAME tap -irlen 8  \
19         -expected-id 0x01010043 -expected-id 0x01012043 \
20         -expected-id 0x01014043 -expected-id 0x01015043
22 pld create $_CHIPNAME.pld lattice -chain-position $_CHIPNAME.tap