I tried to flash STM32 F2 in the same way like i do on F1
devices and hit some issues:
My 1st try was with stm32f2x mass_erase 0 but seems that
there is no subcommands registered.
You can use the following command instead:
monitor flash erase_sector 0 0 11
Laurent
Hi Spencer,
Idea is to bring the stm32 flash drivers inline with their
actual names, eg.
stm32x to stm32f1x
stm32f2xxx to stm32f2x
This is a good idea to clean that up.
I think you can go one step further by dropping the 'x' (which has no meaning)
in order to rename:
- stm32x to stm32f1
-
Hi Øyvind,Here are the patches attached.
Laurent
--- On Tue, 6/7/11, Øyvind Harboe oyvind.har...@zylin.com wrote:
From: Øyvind Harboe oyvind.har...@zylin.com
Subject: Re: [Openocd-development] Configuration file for stm32f2xxx
To: Laurent Charpentier laurent_p...@yahoo.com
Cc: openocd-development
Here are the configuration files for STM32F2xxx to review:
0001-Added-configuration-file-for-stm32f2xxx.patch
Description: Binary data
0002-Added-configuration-file-for-STM3220G-EVAL-board.patch
Description: Binary data
___
Openocd-development mailing
Hi,
We would like to add the configuration file for the stm32f2xxx to the GIT
repository.
Here is the file (should be named openocd/tcl/target/stm32f2xxx.cfg )
Thanks for adding this file.
Laurent
--
# script for stm32f2xxx
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
:
From: Andreas Fritiofson andreas.fritiof...@gmail.com
Subject: Re: [Openocd-development] Configuration file for stm32f2xxx
To: Øyvind Harboe oyvind.har...@zylin.com
Cc: Laurent Charpentier laurent_p...@yahoo.com,
openocd-development@lists.berlios.de
Date: Monday, June 6, 2011, 2:40 AM
On Mon, Jun
I added the tcl/target/stm32f2xxx.cfg file.
I changed the 128KB RAM size to 64KB according to Andreas' note.
L.
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development
I also added the STM3220G-EVAL configuration file to
tcl/board/stm3220g_eval.cfg
# STM3220G-EVAL: This is an STM32F2 eval board with a single STM32F207IGT6
# (128KB) chip.
# http://www.st.com/internet/evalboard/product/250374.jsp
# increase working area to 128KB
set WORKAREASIZE
Hi Everyone,
I would like to propose a (minor) patch for the bootstrap file.
Code at line 30:
if [ -n $1 ] || [ $1 != nosubmodule ]
This condition is always TRUE:
- TRUE if string is non-zero
- TRUE if string is zero (since empty string is different from nosubmodule)
This issue prevents