This is an automated email from Gerrit. Paul Fertser (fercer...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/1378
-- gerrit commit 04c9354dd004f8f7e95b484be1b68126bd2f989c Author: Paul Fertser <fercer...@gmail.com> Date: Sun May 5 01:09:15 2013 +0400 stm32 configs: use 4kB working area size by default This is needed for configs that might be used with the cheapest STM32F100 parts that have only 4kB SRAM. Restrictions for the other STM32 families are verified to be set appropriately. Change-Id: I1ad2370435015604db9f27c1a76c153480311a28 Signed-off-by: Paul Fertser <fercer...@gmail.com> diff --git a/tcl/target/stm32_stlink.cfg b/tcl/target/stm32_stlink.cfg index 7dccd47..96bce5f 100644 --- a/tcl/target/stm32_stlink.cfg +++ b/tcl/target/stm32_stlink.cfg @@ -9,11 +9,11 @@ if { [info exists CHIPNAME] } { } # Work-area is a space in RAM used for flash programming -# By default use 16kB +# By default use 4kB (as found on some STM32F100s) if { [info exists WORKAREASIZE] } { set _WORKAREASIZE $WORKAREASIZE } else { - set _WORKAREASIZE 0x4000 + set _WORKAREASIZE 0x1000 } if { [info exists CPUTAPID] } { diff --git a/tcl/target/stm32f1x.cfg b/tcl/target/stm32f1x.cfg index 7d3f42f..12d33d5 100644 --- a/tcl/target/stm32f1x.cfg +++ b/tcl/target/stm32f1x.cfg @@ -13,11 +13,11 @@ if { [info exists ENDIAN] } { } # Work-area is a space in RAM used for flash programming -# By default use 16kB +# By default use 4kB (as found on some STM32F100s) if { [info exists WORKAREASIZE] } { set _WORKAREASIZE $WORKAREASIZE } else { - set _WORKAREASIZE 0x4000 + set _WORKAREASIZE 0x1000 } # JTAG speed should be <= F_CPU/6. F_CPU after reset is 8MHz, so use F_JTAG = 1MHz -- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel