drivers/stlink_usb: check error code returned by st-link
[openocd.git] / tcl / target / ti_cc32xx.cfg
1 #
2 # Texas Instruments CC32xx - ARM Cortex-M4
3 #
4 # http://www.ti.com/product/CC3200
5 # http://www.ti.com/product/CC3220
6 #
7
8 source [find target/swj-dp.tcl]
9 source [find target/icepick.cfg]
10
11 if { [info exists CHIPNAME] } {
12 set _CHIPNAME $CHIPNAME
13 } else {
14 set _CHIPNAME cc32xx
15 }
16
17 #
18 # Main DAP
19 #
20 if { [info exists DAP_TAPID] } {
21 set _DAP_TAPID $DAP_TAPID
22 } else {
23 if {[using_jtag]} {
24 set _DAP_TAPID 0x4BA00477
25 } else {
26 set _DAP_TAPID 0x2BA01477
27 }
28 }
29
30 if {[using_jtag]} {
31 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_DAP_TAPID -disable
32 jtag configure $_CHIPNAME.cpu -event tap-enable "icepick_c_tapenable $_CHIPNAME.jrc 0"
33 } else {
34 swj_newdap $_CHIPNAME cpu -expected-id $_DAP_TAPID
35 }
36
37 #
38 # ICEpick-C (JTAG route controller)
39 #
40 if { [info exists JRC_TAPID] } {
41 set _JRC_TAPID $JRC_TAPID
42 } else {
43 set _JRC_TAPID 0x0B97C02F
44 }
45
46 if {[using_jtag]} {
47 jtag newtap $_CHIPNAME jrc -irlen 6 -ircapture 0x1 -irmask 0x3f -expected-id $_JRC_TAPID -ignore-version
48 jtag configure $_CHIPNAME.jrc -event setup "jtag tapenable $_CHIPNAME.cpu"
49 }
50
51 set _TARGETNAME $_CHIPNAME.cpu
52 dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
53 target create $_TARGETNAME cortex_m -dap $_CHIPNAME.dap
54
55 if { [info exists WORKAREASIZE] } {
56 set _WORKAREASIZE $WORKAREASIZE
57 } else {
58 set _WORKAREASIZE 0x2000
59 }
60
61 $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0
62
63 reset_config srst_only
64 adapter_nsrst_delay 1100

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)