mirror of
https://git.code.sf.net/p/openocd/code
synced 2024-11-24 17:36:22 +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>
19 lines
413 B
INI
19 lines
413 B
INI
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
if { [info exists CHIPNAME] } {
|
|
set _CHIPNAME $_CHIPNAME
|
|
} else {
|
|
set _CHIPNAME certus
|
|
}
|
|
|
|
# Lattice Certus
|
|
#
|
|
# Certus NX LFD2NX-17 0x310f0043
|
|
# Certus NX LFD2NX-40 0x310f1043
|
|
|
|
|
|
jtag newtap $_CHIPNAME tap -irlen 8 -irmask 0x83 -ircapture 0x1 \
|
|
-expected-id 0x310F1043 -expected-id 0x310F0043
|
|
|
|
pld create $_CHIPNAME.pld lattice -chain-position $_CHIPNAME.tap
|