jtag: linuxgpiod: drop extra parenthesis
[openocd.git] / tcl / board / rsc-w910.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 # Avalue RSC-W8910 sbc
4 # http://www.avalue.com.tw/products/RSC-W910.cfm
5 # 2MB NOR Flash
6 # 64MB SDRAM
7 # 128MB NAND Flash
8
9 # Based on Nuvoton nuc910
10 source [find target/nuc910.cfg]
11
12 #
13 # reset only behaves correctly if we use srst_pulls_trst
14 #
15 reset_config trst_and_srst srst_pulls_trst
16
17 adapter speed 1000
18 adapter srst delay 100
19 jtag_ntrst_delay 100
20
21 $_TARGETNAME configure -work-area-phys 0x00000000 -work-area-size 0x04000000 -work-area-backup 0
22
23 set _FLASHNAME $_CHIPNAME.flash
24 flash bank $_FLASHNAME cfi 0x20000000 0x00200000 2 2 $_TARGETNAME
25
26 set _NANDNAME $_CHIPNAME.nand
27 nand device $_NANDNAME nuc910 $_TARGETNAME
28
29 #
30 # Target events
31 #
32
33 $_TARGETNAME configure -event reset-start {adapter speed 1000}
34
35 $_TARGETNAME configure -event reset-init {
36 # switch on PLL for 200MHz operation
37 # running from 15MHz input clock
38
39 mww 0xB0000200 0x00000030 ;# CLKEN
40 mww 0xB0000204 0x00000f3c ;# CLKSEL
41 mww 0xB0000208 0x05007000 ;# CLKDIV
42 mww 0xB000020C 0x00004f24 ;# PLLCON0
43 mww 0xB0000210 0x00002b63 ;# PLLCON1
44 mww 0xB000000C 0x08817fa6 ;# MFSEL
45 sleep 10
46
47 # we are now running @ 200MHz
48 # enable all openocd speed tweaks
49
50 arm7_9 dcc_downloads enable
51 arm7_9 fast_memory_access enable
52 adapter speed 15000
53
54 # map nor flash to 0x20000000
55 # map sdram to 0x00000000
56
57 mww 0xb0001000 0x000530c1 ;# EBICON
58 mww 0xb0001004 0x40030084 ;# ROMCON
59 mww 0xb0001008 0x000010ee ;# SDCONF0
60 mww 0xb000100C 0x00000000 ;# SDCONF1
61 mww 0xb0001010 0x0000015b ;# SDTIME0
62 mww 0xb0001014 0x0000015b ;# SDTIME1
63 mww 0xb0001018 0x00000000 ;# EXT0CON
64 mww 0xb000101C 0x00000000 ;# EXT1CON
65 mww 0xb0001020 0x00000000 ;# EXT2CON
66 mww 0xb0001024 0x00000000 ;# EXT3CON
67 mww 0xb000102c 0x00ff0048 ;# CKSKEW
68 }

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)