tcl/target/stm32f4x.cfg: Use Workareasize of smallest possible device. 78/3378/2
authorUwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Wed, 2 Mar 2016 12:36:54 +0000 (13:36 +0100)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 13 Aug 2016 22:34:29 +0000 (23:34 +0100)
Increase workareasize when it is know we have a larger device.

Change-Id: Ieaee92e7cd25cc201989f14de122349698871412
Signed-off-by: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Reviewed-on: http://openocd.zylin.com/3378
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
tcl/board/stm32f429discovery.cfg
tcl/board/stm32f469discovery.cfg
tcl/board/stm32f4discovery.cfg
tcl/target/stm32f4x.cfg

index eddaa9f6141bd21cd4935d8f512a9bac6b399324..e06d2a51c5b09f3782934007d6229e3e206d2cb7 100644 (file)
@@ -7,6 +7,9 @@ source [find interface/stlink-v2.cfg]
 
 transport select hla_swd
 
+# increase working area to 128KB
+set WORKAREASIZE 0x20000
+
 source [find target/stm32f4x.cfg]
 
 reset_config srst_only
index eecfe339601ab99d5c7ae6ac019087625a227789..63b13638afa3b19ddde6261c93cb959a2800b71f 100644 (file)
@@ -7,6 +7,9 @@ source [find interface/stlink-v2-1.cfg]
 
 transport select hla_swd
 
+# increase working area to 128KB
+set WORKAREASIZE 0x20000
+
 source [find target/stm32f4x.cfg]
 
 reset_config srst_only
index f5b52920434438f48c4d92f95e18ffb484e1a8e1..963e0f95931daf202ecc72c4ac8ea255866afbac 100644 (file)
@@ -5,6 +5,9 @@ source [find interface/stlink-v2.cfg]
 
 transport select hla_swd
 
+# increase working area to 64KB
+set WORKAREASIZE 0x10000
+
 source [find target/stm32f4x.cfg]
 
 reset_config srst_only
index 7205c461486e4f152348a8bceb21dc6afa40a120..14fc2ffbed5111848e07a09120fdc59c009dab85 100644 (file)
@@ -15,11 +15,11 @@ if { [info exists CHIPNAME] } {
 set _ENDIAN little
 
 # Work-area is a space in RAM used for flash programming
-# By default use 64kB
+# By default use 32kB (Available RAM in smallest device STM32F410)
 if { [info exists WORKAREASIZE] } {
    set _WORKAREASIZE $WORKAREASIZE
 } else {
-   set _WORKAREASIZE 0x10000
+   set _WORKAREASIZE 0x8000
 }
 
 #jtag scan chain

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)