David Brownell <david-b@pacbell.net> "set _TARGETNAME ..." cleanup
[openocd.git] / tcl / target / samsung_s3c6410.cfg
1 # -*- tcl -*-
2 # Target configuration for the Samsung s3c6410 system on chip
3 # Tested on a SMDK6410
4 # Processor : ARM1176
5 # Info: JTAG device found: 0x0032409d (Manufacturer: 0x04e, Part: 0x0324, Version: 0x0)
6 # [Duane Ellis 27/nov/2008: Above 0x0032409d appears to be copy/paste from other places]
7 # [and I do not believe it to be accurate, hence the 0xffffffff below]
8
9 if { [info exists CHIPNAME] } {
10 set _CHIPNAME $CHIPNAME
11 } else {
12 set _CHIPNAME s3c6410
13 }
14
15 if { [info exists ENDIAN] } {
16 set _ENDIAN $ENDIAN
17 } else {
18 # this defaults to a bigendian
19 set _ENDIAN little
20 }
21
22 if { [info exists BSTAPID ] } {
23 set _BSTAPID $BSTAPID
24 } else {
25 # force an error till we get a good number
26 set _BSTAPID 0x2b900f0f
27 }
28
29 if { [info exists CPUTAPID ] } {
30 set _CPUTAPID $CPUTAPID
31 } else {
32 # force an error till we get a good number
33 set _CPUTAPID 0x07b76f0f
34 }
35
36 #jtag scan chain
37
38 # I think the "unknown" is the boundry scan tap
39 jtag newtap $_CHIPNAME unknown -irlen 4 -ircapture 0x1 -irmask 0xe -expected-id $_BSTAPID
40 jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_CPUTAPID
41
42 set _TARGETNAME $_CHIPNAME.cpu
43 target create $_TARGETNAME arm11 -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm1176
44
45 jtag_nsrst_delay 500
46 jtag_ntrst_delay 500
47
48 #reset configuration
49 reset_config trst_and_srst

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)