[Openocd-development] bootstrap: patch proposal

2011-05-31 Thread Laurent Charpentier
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

[Openocd-development] Configuration file for stm32f2xxx

2011-06-06 Thread Laurent Charpentier
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

Re: [Openocd-development] Configuration file for stm32f2xxx

2011-06-06 Thread Laurent Charpentier
: 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

Re: [Openocd-development] Configuration file for stm32f2xxx

2011-06-06 Thread Laurent Charpentier
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

Re: [Openocd-development] Configuration file for stm32f2xxx

2011-06-06 Thread Laurent Charpentier
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

Re: [Openocd-development] Configuration file for stm32f2xxx

2011-06-07 Thread Laurent Charpentier
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

Re: [Openocd-development] Configuration file for stm32f2xxx

2011-06-07 Thread Laurent Charpentier
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

Re: [Openocd-development] rename st32 flash drivers

2011-07-28 Thread Laurent Charpentier
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 -

Re: [Openocd-development] Flashing STM32 F2

2011-12-15 Thread Laurent Charpentier
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