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