Use hardware reset and connect under reset on boards with ST-LINK/V2, as
[openocd.git] / tcl / board / ethernut3.cfg
1 #
2 # Ethernut 3 board configuration file
3 #
4 # http://www.ethernut.de/en/hardware/enut3/
5
6
7 # AT91R40008-66AU ARM7TDMI Microcontroller
8 # 256kB internal RAM
9 source [find target/at91r40008.cfg]
10
11
12 # AT49BV322A-70TU NOR Flash
13 # 2M x 16 mode at address 0x10000000
14 # Common flash interface supported
15 #
16 set _FLASHNAME $_CHIPNAME.flash
17 flash bank $_FLASHNAME cfi 0x10000000 0x400000 2 2 $_TARGETNAME
18
19
20 # Micrel MIC2775-29YM5 Supervisor
21 # Reset output will remain active for 280ms (maximum)
22 #
23 adapter_nsrst_delay 300
24 jtag_ntrst_delay 300
25
26
27 arm7_9 fast_memory_access enable
28 arm7_9 dcc_downloads enable
29 adapter_khz 16000
30
31
32 # Target events
33 #
34 $_TARGETNAME configure -event reset-init { board_init }
35
36 # Initialize board hardware
37 #
38 proc board_init { } {
39 board_remap
40 flash probe 0
41 }
42
43 # Memory remap
44 #
45 proc board_remap {{VERBOSE 0}} {
46 # CS0: NOR flash
47 # 16MB @ 0x10000000
48 # 16-bit data bus
49 # 4 wait states
50 #
51 mww 0xffe00000 0x1000212d
52
53 # CS1: Ethernet controller
54 # 1MB @ 0x20000000
55 # 16-bit data bus
56 # 2 wait states
57 # Byte select access
58 #
59 mww 0xffe00004 0x20003025
60
61 # CS2: CPLD registers
62 # 1MB @ 0x21000000
63 # 8-bit data bus
64 # 2 wait states
65 #
66 mww 0xffe00008 0x21002026
67
68 # CS3: Expansion bus
69 # 1MB @ 0x22000000
70 # 8-bit data bus
71 # 8 wait states
72 #
73 mww 0xffe00010 0x22002e3e
74
75 # Remap command
76 #
77 mww 0xffe00020 0x00000001
78
79 if {$VERBOSE != 0} {
80 echo "0x00000000 RAM"
81 echo "0x10000000 Flash"
82 echo "0x20000000 Ethernet"
83 echo "0x21000000 CPLD"
84 echo "0x22000000 Expansion"
85 }
86 }

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)