tcl: cpld/xilinx-xc7: remove virtex-7 devices with ir-length > 6
[openocd.git] / tcl / cpld / xilinx-xc7.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 # xilinx series 7 (artix, kintex, virtex)
4 # http://www.xilinx.com/support/documentation/user_guides/ug470_7Series_Config.pdf
5
6 if { [info exists CHIPNAME] } {
7 set _CHIPNAME $CHIPNAME
8 } else {
9 set _CHIPNAME xc7
10 }
11
12 # the 4 top bits (28:31) are the die stepping/revisions. ignore it.
13 jtag newtap $_CHIPNAME tap -irlen 6 -ignore-version \
14 -expected-id 0x03622093 \
15 -expected-id 0x03620093 \
16 -expected-id 0x037C4093 \
17 -expected-id 0x0362F093 \
18 -expected-id 0x037C8093 \
19 -expected-id 0x037C7093 \
20 -expected-id 0x037C3093 \
21 -expected-id 0x0362E093 \
22 -expected-id 0x037C2093 \
23 -expected-id 0x0362D093 \
24 -expected-id 0x0362C093 \
25 -expected-id 0x03632093 \
26 -expected-id 0x03631093 \
27 -expected-id 0x03636093 \
28 -expected-id 0x03647093 \
29 -expected-id 0x0364C093 \
30 -expected-id 0x03651093 \
31 -expected-id 0x03747093 \
32 -expected-id 0x03656093 \
33 -expected-id 0x03752093 \
34 -expected-id 0x03751093 \
35 -expected-id 0x03671093 \
36 -expected-id 0x03667093 \
37 -expected-id 0x03682093 \
38 -expected-id 0x03687093 \
39 -expected-id 0x03692093 \
40 -expected-id 0x03691093 \
41 -expected-id 0x03696093
42
43 #jtag newtap $_CHIPNAME tap -irlen 24 -ignore-version \
44 # -expected-id 0x036B3093 -expected-id 0x036B7093 \
45 # -expected-id 0x036BB093 -expected-id 0x036BF093 \
46 # -expected-id 0x036D5093
47
48 #jtag newtap $_CHIPNAME tap -irlen 22 -ignore-version -expected-id 0x036D9093
49
50 #jtag newtap $_CHIPNAME tap -irlen 38 -ignore-version -expected-id 0x036DB093
51
52 pld device virtex2 $_CHIPNAME.tap 1
53
54 set XC7_JSHUTDOWN 0x0d
55 set XC7_JPROGRAM 0x0b
56 set XC7_JSTART 0x0c
57 set XC7_BYPASS 0x3f
58
59 proc xc7_program {tap} {
60 global XC7_JSHUTDOWN XC7_JPROGRAM XC7_JSTART XC7_BYPASS
61 irscan $tap $XC7_JSHUTDOWN
62 irscan $tap $XC7_JPROGRAM
63 runtest 60000
64 #JSTART prevents this from working...
65 #irscan $tap $XC7_JSTART
66 runtest 2000
67 irscan $tap $XC7_BYPASS
68 runtest 2000
69 }

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)