1
0
mirror of https://git.code.sf.net/p/openocd/code synced 2024-11-24 19:56:23 +00:00
openocd/tcl/cpld/altera-maxv.cfg
Daniel Anselmi db0609aeb4 pld: add support for altera/intel devices
Change-Id: I7977d39c9037ae71139f78c8d381f5f925dc3489
Signed-off-by: Daniel Anselmi <danselmi@gmx.ch>
Reviewed-on: https://review.openocd.org/c/openocd/+/7355
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2023-04-30 14:54:38 +00:00

20 lines
537 B
INI

# SPDX-License-Identifier: GPL-2.0-or-later
# Altera MAXV 5M24OZ/5M570Z CPLD
# see MAX V Device Handbook
# Table 6-3: 32-Bit MAX V Device IDCODE
# 5M40Z 5M80Z 5M160Z 5M240Z: 0x020A50DD
# 5M570Z: 0x020A60DD
# 5M1270Z: 0x020A30DD
# 5M1270Z 5M2210Z: 0x020A40DD
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME maxv
}
jtag newtap $_CHIPNAME tap -irlen 10 \
-expected-id 0x020A50DD -expected-id 0x020A60DD \
-expected-id 0x020A30DD -expected-id 0x020A40DD