target/stm32xx: Endian is not configurable.
[openocd.git] / tcl / target / ti_tms570.cfg
1 adapter_khz 1500
2
3 if { [info exists CHIPNAME] } {
4 set _CHIPNAME $CHIPNAME
5 } else {
6 set _CHIPNAME tms570
7 }
8
9 if { [info exists ENDIAN] } {
10 set _ENDIAN $ENDIAN
11 } else {
12 set _ENDIAN big
13 }
14
15 # TMS570 has an ICEpick-C on which we need the router commands.
16 source [find target/icepick.cfg]
17
18 # Main DAP
19 if { [info exists DAP_TAPID] } {
20 set _DAP_TAPID $DAP_TAPID
21 } else {
22 set _DAP_TAPID 0x0B8A002F
23 }
24 jtag newtap $_CHIPNAME dap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_DAP_TAPID -disable
25 jtag configure $_CHIPNAME.dap -event tap-enable "icepick_c_tapenable $_CHIPNAME.jrc 0"
26
27 # ICEpick-C (JTAG route controller)
28 if { [info exists JRC_TAPID] } {
29 set _JRC_TAPID $JRC_TAPID
30 } else {
31 set _JRC_TAPID 0x0B8A002F
32 }
33 jtag newtap $_CHIPNAME jrc -irlen 6 -ircapture 0x1 -irmask 0x3f \
34 -expected-id $_JRC_TAPID -ignore-version
35 jtag configure $_CHIPNAME.jrc -event setup "jtag tapenable $_CHIPNAME.dap"
36 jtag configure $_CHIPNAME.jrc -event post-reset "runtest 100"
37
38 # Cortex R4 target
39 set _TARGETNAME $_CHIPNAME.cpu
40 target create $_TARGETNAME cortex_r4 -endian $_ENDIAN \
41 -chain-position $_CHIPNAME.dap -coreid 0 -dbgbase 0x00001003
42
43 # TMS570 uses quirky BE-32 mode
44 $_TARGETNAME dap ti_be_32_quirks 1
45
46 $_TARGETNAME configure -event gdb-attach {
47 cortex_r4 dbginit
48 halt
49 }
50
51 $_TARGETNAME configure -event "reset-assert" {
52 global _CHIPNAME
53
54 # assert warm system reset through ICEPick
55 icepick_c_wreset $_CHIPNAME.jrc
56 }

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)