fm4: Split out S6E2CC family config 07/3007/2
authorAndreas Färber <afaerber@suse.de>
Sun, 11 Oct 2015 00:06:00 +0000 (02:06 +0200)
committerFreddie Chopin <freddie.chopin@gmail.com>
Fri, 30 Oct 2015 12:51:37 +0000 (12:51 +0000)
Its memory layout is different from MB9BFxxx.

Change-Id: I39c9f9cf582cd182971a9f83bb88c7a18da6cf15
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/3007
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
tcl/board/spansion_sk-fm4-176l-s6e2cc.cfg
tcl/target/fm4_s6e2cc.cfg [new file with mode: 0644]

index 6d805078bf7698865444976e5beb897bc01e7e36..4b23146f8b0cbf7aa32d3e6fd9bcd8291a1afc1a 100644 (file)
@@ -10,9 +10,10 @@ source [find interface/cmsis-dap.cfg]
 # There's also an unpopulated 10-pin 0.05" pinout.
 
 #
 # There's also an unpopulated 10-pin 0.05" pinout.
 
 #
-# FM4 S6E2CCAJ0A
+# FM4 S6E2CCAJ0A w/ 192 KB SRAM0
 #
 set CHIPNAME s6e2cc
 #
 set CHIPNAME s6e2cc
-source [find target/fm4.cfg]
+set WORKAREASIZE 0x30000
+source [find target/fm4_s6e2cc.cfg]
 
 reset_config srst_only
 
 reset_config srst_only
diff --git a/tcl/target/fm4_s6e2cc.cfg b/tcl/target/fm4_s6e2cc.cfg
new file mode 100644 (file)
index 0000000..18cc630
--- /dev/null
@@ -0,0 +1,15 @@
+#
+# Spansion FM4 S6E2CC (ARM Cortex-M4)
+#
+
+source [find target/fm4.cfg]
+
+# S6E2CC8 H/J/L have 96 KB SRAM0
+if { [info exists WORKAREASIZE] } {
+       set _WORKAREASIZE $WORKAREASIZE
+} else {
+       set _WORKAREASIZE 0x18000
+}
+
+$_TARGETNAME configure -work-area-phys [expr 0x20000000 - $_WORKAREASIZE] \
+                       -work-area-size $_WORKAREASIZE -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)