riscv-openocd/tcl/cpld/altera-maxii.cfg

22 lines
541 B
INI

# SPDX-License-Identifier: GPL-2.0-or-later
# Altera MAXII CPLD
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME maxii
}
# see MAX II Device Handbook
# Table 3-3: 32-Bit MAX II Device IDCODE
# Version Part Number Manuf. ID LSB
# 0000 0010 0000 1010 0001 000 0110 1110 1
jtag newtap $_CHIPNAME tap -irlen 10 \
-expected-id 0x020a10dd \
-expected-id 0x020a20dd \
-expected-id 0x020a30dd \
-expected-id 0x020a40dd \
-expected-id 0x020a50dd \
-expected-id 0x020a60dd