Toshiba TMPA900 config: Fix incorrect working area.
authorUwe Hermann <uwe@hermann-uwe.de>
Tue, 18 Oct 2011 23:09:44 +0000 (01:09 +0200)
committerPeter Stuge <peter@stuge.se>
Wed, 19 Oct 2011 00:24:40 +0000 (00:24 +0000)
The Toshiba TMPA900 series (TMPA900/901) only has internal RAM regions
RAM-0 (16kB) and RAM-1 (8kB) which we can use as working area.

This is probably a copy-paste error from tmpa910.cfg, which has the
correct values and sizes for the TMPA910 series (TMPA910/911/912/913):
there are RAM-0, RAM-1, and RAM-2 (each 16kB).

Also, change "built-in RAM" to "internal RAM" to match what the
datasheet uses.

Change-Id: I993cd6b7fadc28cf34e5cc18426bb2bb42597670
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Reviewed-on: http://openocd.zylin.com/34
Tested-by: jenkins
Reviewed-by: Peter Stuge <peter@stuge.se>
tcl/target/tmpa900.cfg
tcl/target/tmpa910.cfg

index d5b458fd7406d85eb1f3f30af4c49579e4ec0888..90851f69cb4f06c770bc4a1408a50d9c6e47974b 100644 (file)
@@ -42,15 +42,9 @@ jtag_ntrst_delay 20
 set _TARGETNAME $_CHIPNAME.cpu
 target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME
 
-# built-in RAM0
-#working_area 0 0xf8004000 0x4000 nobackup
-# built-in RAM1
-#working_area 1 0xf8008000 0x4000 nobackup
-# built-in RAM2
-#working_area 2 0xf800c000 0x4000 nobackup
-# built-in RAM 0-2 48k total
-#working_area 0 0xf8004000 0xc000 nobackup
-
-# Internal sram1 memory
-$_TARGETNAME configure -work-area-phys 0xf8004000 -work-area-size 0x8000 \
+# Internal RAM-0 (16kB): 0xf8004000
+# Internal RAM-1 (8kB): 0xf8008000
+
+# Use internal RAM-0 and RAM-1 as working area (24kB total).
+$_TARGETNAME configure -work-area-phys 0xf8004000 -work-area-size 0x6000 \
 -work-area-backup 0
index fa6f87b00769d58d2eb46de889ab9d0f7885140e..36874d94d0124944705fc022c76644532b966898 100644 (file)
@@ -42,15 +42,10 @@ jtag_ntrst_delay 20
 set _TARGETNAME $_CHIPNAME.cpu
 target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME
 
-# built-in RAM0
-#working_area 0 0xf8004000 0x4000 nobackup
-# built-in RAM1
-#working_area 1 0xf8008000 0x4000 nobackup
-# built-in RAM2
-#working_area 2 0xf800c000 0x4000 nobackup
-# built-in RAM 0-2 48k total
-#working_area 0 0xf8004000 0xc000 nobackup
-
-# Internal sram1 memory
+# Internal RAM-0 (16kB): 0xf8004000
+# Internal RAM-1 (16kB): 0xf8008000
+# Internal RAM-2 (16kB): 0xf800c000
+
+# Use internal RAM-0, RAM-1, and RAM-2 as working area (48kB total).
 $_TARGETNAME configure -work-area-phys 0xf8004000 -work-area-size 0xc000 \
 -work-area-backup 0

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)