mirror of
https://git.code.sf.net/p/openocd/code
synced 2024-11-24 18:46:24 +00:00
5ae0264055
Change-Id: I05e8596ffacdb6cd8da4dd8a40bb460183f4930a Signed-off-by: Daniel Anselmi <danselmi@gmx.ch> Reviewed-on: https://review.openocd.org/c/openocd/+/7728 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
31 lines
949 B
INI
31 lines
949 B
INI
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
if { [info exists CHIPNAME] } {
|
|
set _CHIPNAME $_CHIPNAME
|
|
} else {
|
|
set _CHIPNAME ecp5
|
|
}
|
|
|
|
# Lattice ECP5 family
|
|
# TAP IDs are extracted from BSDL files found on this page:
|
|
# https://www.latticesemi.com/Products/FPGAandCPLD/ECP5
|
|
#
|
|
# 0x01111043 - LAE5UM_25F/LFE5UM_25F
|
|
# 0x01112043 - LAE5UM_45F/LFE5UM_45F
|
|
# 0x01113043 - LAE5UM_85F/LFE5UM_85
|
|
# 0x21111043 - LFE5U_12F
|
|
# 0x41111043 - LFE5U_25F
|
|
# 0x41112043 - LFE5U_45F
|
|
# 0x41113043 - LFE5U_85F
|
|
# 0x81111043 - LFE5UM5G-25
|
|
# 0x81112043 - LFE5UM5G-45
|
|
# 0x81113043 - LFE5UM5G-85
|
|
|
|
jtag newtap $_CHIPNAME tap -irlen 8 -irmask 0x83 -ircapture 0x1 \
|
|
-expected-id 0x01111043 -expected-id 0x01112043 -expected-id 0x01113043 \
|
|
-expected-id 0x21111043 -expected-id 0x41111043 -expected-id 0x41112043 \
|
|
-expected-id 0x41113043 -expected-id 0x81111043 -expected-id 0x81112043 \
|
|
-expected-id 0x81113043
|
|
|
|
pld create $_CHIPNAME.pld lattice -chain-position $_CHIPNAME.tap
|