jtag: linuxgpiod: drop extra parenthesis
[openocd.git] / tcl / target / mc13224v.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 source [find bitsbytes.tcl]
4 source [find cpu/arm/arm7tdmi.tcl]
5 source [find memory.tcl]
6 source [find mmr_helpers.tcl]
7
8 set CHIP_MAKER freescale
9 set CHIP_FAMILY mc1322x
10 set CHIP_NAME mc13224
11 set N_RAM 1
12 set RAM(0,BASE) 0x00400000
13 set RAM(0,LEN) 0x18000
14 set RAM(0,HUMAN) "internal SRAM"
15 set RAM(0,TYPE) "ram"
16 set RAM(0,RWX) $RWX_RWX
17 set RAM(0,ACCESS_WIDTH) $ACCESS_WIDTH_ANY
18
19 # I AM LAZY... I create 1 region for all MMRs.
20 set N_MMREGS 1
21 set MMREGS(0,CHIPSELECT) -1
22 set MMREGS(0,BASE) 0x80000000
23 set MMREGS(0,LEN) 0x00030000
24 set MMREGS(0,HUMAN) "mm-regs"
25 set MMREGS(0,TYPE) "mmr"
26 set MMREGS(0,RWX) $RWX_RW
27 set MMREGS(0,ACCESS_WIDTH) $ACCESS_WIDTH_ANY
28
29 set N_XMEM 0
30
31 set _CHIPNAME mc13224v
32 set _CPUTAPID 0x1f1f001d
33
34 jtag newtap $_CHIPNAME cpu -irlen 4 -expected-id $_CPUTAPID
35
36 reset_config srst_only
37 jtag_ntrst_delay 200
38
39 # rclk hasn't been working well. This maybe the mc13224v or something else.
40 #adapter speed 2000
41 adapter speed 2000
42
43 ######################
44 # Target configuration
45 ######################
46
47 set _TARGETNAME $_CHIPNAME.cpu
48 target create $_TARGETNAME arm7tdmi -chain-position $_TARGETNAME
49
50 # Internal sram memory
51 $_TARGETNAME configure -work-area-phys 0x00408000 \
52 -work-area-size 0x1000 \
53 -work-area-backup 1
54
55 # flash support is pending (should be straightforward to implement)
56 #flash bank mc1322x 0 0 0 0 $_TARGETNAME

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)