target config files: Fix whitespace issues.
[openocd.git] / tcl / board / digi_connectcore_wi-9c.cfg
index ad40d537fe8b477bf43e73a4cc22f82b190ddf50..8a8d4c3bfb69108b4ea4fcb3dfbd1178b348e78e 100644 (file)
@@ -27,7 +27,7 @@ if { [info exists ENDIAN] } {
 jtag_rclk 1000
 
 
-if { [info exists CPUTAPID ] } {
+if { [info exists CPUTAPID] } {
    set _CPUTAPID $CPUTAPID
 } else {
    set _CPUTAPID 0x07926031
@@ -48,31 +48,31 @@ target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNA
 
 $_TARGETNAME configure -event reset-init {
        mww 0x90600104 0x33313333
-       mww 0xA0700000 0x00000001  # Enable the memory controller.
-       mww 0xA0700024 0x00000006  # Set the refresh counter 6
-       mww 0xA0700028 0x00000001  #
-       mww 0xA0700030 0x00000001  # Set the precharge period
-       mww 0xA0700034 0x00000004  # Active to precharge command period is 16 clock cycles
-       mww 0xA070003C 0x00000001  # tAPR
-       mww 0xA0700040 0x00000005  # tDAL
-       mww 0xA0700044 0x00000001  # tWR
-       mww 0xA0700048 0x00000006  # tRC 32 clock cycles
-       mww 0xA070004C 0x00000006  # tRFC 32 clock cycles
-       mww 0xA0700054 0x00000001  # tRRD
-       mww 0xA0700058 0x00000001  # tMRD
-       mww 0xA0700100 0x00004280  # Dynamic Config 0 (cs4)
-       mww 0xA0700120 0x00004280  # Dynamic Config 1 (cs5)
-       mww 0xA0700140 0x00004280  # Dynamic Config 2 (cs6)
-       mww 0xA0700160 0x00004280  # Dynamic Config 3 (cs7)
+       mww 0xA0700000 0x00000001  ;# Enable the memory controller.
+       mww 0xA0700024 0x00000006  ;# Set the refresh counter 6
+       mww 0xA0700028 0x00000001  ;#
+       mww 0xA0700030 0x00000001  ;# Set the precharge period
+       mww 0xA0700034 0x00000004  ;# Active to precharge command period is 16 clock cycles
+       mww 0xA070003C 0x00000001  ;# tAPR
+       mww 0xA0700040 0x00000005  ;# tDAL
+       mww 0xA0700044 0x00000001  ;# tWR
+       mww 0xA0700048 0x00000006  ;# tRC 32 clock cycles
+       mww 0xA070004C 0x00000006  ;# tRFC 32 clock cycles
+       mww 0xA0700054 0x00000001  ;# tRRD
+       mww 0xA0700058 0x00000001  ;# tMRD
+       mww 0xA0700100 0x00004280  ;# Dynamic Config 0 (cs4)
+       mww 0xA0700120 0x00004280  ;# Dynamic Config 1 (cs5)
+       mww 0xA0700140 0x00004280  ;# Dynamic Config 2 (cs6)
+       mww 0xA0700160 0x00004280  ;# Dynamic Config 3 (cs7)
        #
-       mww 0xA0700104 0x00000203  # CAS latency is 2 at 100 MHz
-       mww 0xA0700124 0x00000203  # CAS latency is 2 at 100 MHz
-       mww 0xA0700144 0x00000203  # CAS latency is 2 at 100 MHz
-       mww 0xA0700164 0x00000203  # CAS latency is 2 at 100 MHz
+       mww 0xA0700104 0x00000203  ;# CAS latency is 2 at 100 MHz
+       mww 0xA0700124 0x00000203  ;# CAS latency is 2 at 100 MHz
+       mww 0xA0700144 0x00000203  ;# CAS latency is 2 at 100 MHz
+       mww 0xA0700164 0x00000203  ;# CAS latency is 2 at 100 MHz
        #
-       mww 0xA0700020 0x00000103  # issue SDRAM PALL command
+       mww 0xA0700020 0x00000103  ;# issue SDRAM PALL command
        #
-       mww 0xA0700024 0x00000001  # Set the refresh counter to be as small as possible
+       mww 0xA0700024 0x00000001  ;# Set the refresh counter to be as small as possible
        #
        # Add some dummy writes to give the SDRAM time to settle, it needs two
        # AHB clock cycles, here we poke in the debugger flag, this lets
@@ -89,19 +89,19 @@ $_TARGETNAME configure -event reset-init {
        mdw 0xA0900000
        mdw 0xA0900000
        #
-       mww 0xA0700024 0x00000030 # Set the refresh counter to 30
-       mww 0xA0700020 0x00000083 # Issue SDRAM MODE command
+       mww 0xA0700024 0x00000030 ;# Set the refresh counter to 30
+       mww 0xA0700020 0x00000083 ;# Issue SDRAM MODE command
        #
        # Next we perform a read of RAM.
        # mw = move word.
        mdw 0x00022000
        # mw 0x00022000:P, r3  # 22000 for cas2 latency, 32000 for cas 3
        #
-       mww 0xA0700020 0x00000003   # issue SDRAM NORMAL command
-       mww 0xA0700100 0x00084280   # Enable buffer access
-       mww 0xA0700120 0x00084280   # Enable buffer access
-       mww 0xA0700140 0x00084280   # Enable buffer access
-       mww 0xA0700160 0x00084280   # Enable buffer access
+       mww 0xA0700020 0x00000003   ;# issue SDRAM NORMAL command
+       mww 0xA0700100 0x00084280   ;# Enable buffer access
+       mww 0xA0700120 0x00084280   ;# Enable buffer access
+       mww 0xA0700140 0x00084280   ;# Enable buffer access
+       mww 0xA0700160 0x00084280   ;# Enable buffer access
 
        #Set byte lane state (static mem 1)"
        mww 0xA0700220 0x00000082
@@ -125,6 +125,6 @@ $_TARGETNAME configure -work-area-phys 0x00000000 -work-area-size 0x1000 -work-a
 #####################
 
 #M29DW323DB - not working
-#flash bank cfi <base> <size> <chip width> <bus width> <target#>
+#flash bank <name> cfi <base> <size> <chip width> <bus width> <target>
 set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME cfi 0x50000000 0x0400000 2 2 0
+flash bank $_FLASHNAME cfi 0x50000000 0x0400000 2 2 $_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)