psoc5lp: Add NV Latch flash driver
[openocd.git] / tcl / target / ti_cc26x0.cfg
1 #
2 # Texas Instruments CC26x0 - ARM Cortex-M3
3 #
4 # http://www.ti.com
5 #
6
7 source [find target/icepick.cfg]
8 source [find target/ti-cjtag.cfg]
9
10 if { [info exists CHIPNAME] } {
11 set _CHIPNAME $CHIPNAME
12 } else {
13 set _CHIPNAME cc26x0
14 }
15
16 #
17 # Main DAP
18 #
19 if { [info exists DAP_TAPID] } {
20 set _DAP_TAPID $DAP_TAPID
21 } else {
22 set _DAP_TAPID 0x4BA00477
23 }
24 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_DAP_TAPID -disable
25 jtag configure $_CHIPNAME.cpu -event tap-enable "icepick_c_tapenable $_CHIPNAME.jrc 0"
26
27 #
28 # ICEpick-C (JTAG route controller)
29 #
30 if { [info exists JRC_TAPID] } {
31 set _JRC_TAPID $JRC_TAPID
32 } else {
33 set _JRC_TAPID 0x0B99A02F
34 }
35 jtag newtap $_CHIPNAME jrc -irlen 6 -ircapture 0x1 -irmask 0x3f -expected-id $_JRC_TAPID -ignore-version
36 jtag configure $_CHIPNAME.jrc -event setup "jtag tapenable $_CHIPNAME.cpu"
37 # A start sequence is needed to change from 2-pin cJTAG to 4-pin JTAG
38 jtag configure $_CHIPNAME.jrc -event post-reset "ti_cjtag_to_4pin_jtag $_CHIPNAME.jrc"
39
40 set _TARGETNAME $_CHIPNAME.cpu
41 dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
42 target create $_TARGETNAME cortex_m -dap $_CHIPNAME.dap
43
44 if { [info exists WORKAREASIZE] } {
45 set _WORKAREASIZE $WORKAREASIZE
46 } else {
47 set _WORKAREASIZE 0x4000
48 }
49
50 $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0
51
52 set _FLASHNAME $_CHIPNAME.flash
53 flash bank $_FLASHNAME cc26xx 0 0 0 0 $_TARGETNAME
54
55 reset_config srst_only
56 adapter_nsrst_delay 100

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)