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>
This commit is contained in:
committed by
Antonio Borneo
parent
7c6d446440
commit
db0609aeb4
19
tcl/cpld/altera-maxv.cfg
Normal file
19
tcl/cpld/altera-maxv.cfg
Normal file
@@ -0,0 +1,19 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user