tcl/target/ti_k3: Add AM273 SoC
[openocd.git] / tcl / target / snps_hsdk_4xd.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 # Copyright (C) 2023 Synopsys, Inc.
4 # Artemiy Volkov <artemiy@synopsys.com>
5
6 # Adapted from tcl/target/snps_hsdk.cfg.
7
8 #
9 # HS Development Kit SoC.
10 #
11 # Contains quad-core ARC HS47D.
12 #
13
14 source [find cpu/arc/hs.tcl]
15
16 set _coreid 0
17 set _dbgbase [expr {$_coreid << 13}]
18
19 # CHIPNAME will be used to choose core family (600, 700 or EM). As far as
20 # OpenOCD is concerned EM and HS are identical.
21 set _CHIPNAME arc-em
22
23
24 proc setup_cpu {core_index expected_id} {
25 global _coreid
26 global _dbgbase
27 global _CHIPNAME
28
29 set _TARGETNAME $_CHIPNAME.cpu$core_index
30 jtag newtap $_CHIPNAME cpu$core_index -irlen 4 -ircapture 0x1 -expected-id $expected_id
31
32 target create $_TARGETNAME arcv2 -chain-position $_TARGETNAME
33 $_TARGETNAME configure -coreid $_coreid
34 $_TARGETNAME configure -dbgbase $_dbgbase
35 $_TARGETNAME configure -event reset-assert "arc_hs_reset $_TARGETNAME"
36
37 arc_hs_init_regs
38
39 $_TARGETNAME arc cache l2 auto 1
40
41 set _coreid [expr {$_coreid + 1}]
42 set _dbgbase [expr {$_coreid << 13}]
43 }
44
45 # OpenOCD discovers JTAG TAPs in reverse order.
46
47 setup_cpu 4 0x100c54b1
48 setup_cpu 3 0x100854b1
49 setup_cpu 2 0x100454b1
50 setup_cpu 1 0x100054b1

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)