mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-07-18 15:20:06 +10:00
This adds some additional IDCODEs from the datasheet. It also adds support for customizing the tap name. Signed-off-by: Sean Anderson <sean.anderson@seco.com> Change-Id: I7cda10b92c229b61836c12cd9ca410de358ede2e Reviewed-on: https://review.openocd.org/c/openocd/+/6846 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
20 lines
509 B
INI
20 lines
509 B
INI
# Altera MAXII EPM240T100C CPLD
|
|
|
|
if { [info exists CHIPNAME] } {
|
|
set _CHIPNAME $CHIPNAME
|
|
} else {
|
|
set _CHIPNAME epm240
|
|
}
|
|
|
|
# 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
|