Re: [Openocd-development] Configuration file for stm32f2xxx
Please provide a git patch. That way I don't have to piece together the story from the email thread. Thanks! -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] Configuration file for stm32f2xxx
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@lists.berlios.de Date: Tuesday, June 7, 2011, 12:13 AM Please provide a git patch. That way I don't have to piece together the story from the email thread. Thanks! -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer 0001-Configuration-file-for-stm32f2xxx.patch Description: Binary data 0002-Added-configuration-file-for-STM3220G-EVAL-board.patch Description: Binary data 0003-Added-STM32F2-configuration-file.patch Description: Binary data ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] Configuration file for stm32f2xxx
Do an interactive rebase and squash 1+3 together. git rebase --help git rebase -i origin/master = move last commit up below first commit and change pick to s (for squash). git format-patch origin/master -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] Configuration file for stm32f2xxx
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 list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] Configuration file for stm32f2xxx
Merged. Thanks! -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] Configuration file for stm32f2xxx
Any objections? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] Configuration file for stm32f2xxx
On Mon, Jun 6, 2011 at 11:10 AM, Laurent Charpentier laurent_p...@yahoo.com wrote: 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 A patch is generally preferred. # Work-area is a space in RAM used for flash programming # By default use 128kB if { [info exists WORKAREASIZE] } { set _WORKAREASIZE $WORKAREASIZE } else { set _WORKAREASIZE 0x2 } There are at least one STM32F2xx with 64 kB RAM, so the default work area size shouldn't exceed that. /Andreas ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] Configuration file for stm32f2xxx
To create a patch: git add tcl/tcl/target/stm32f2xxx.cfg git commit = write something like: stm32f2xxx: config file yyy git format-patch HEAD^ Remove the below, it's just copy and paste junk. # For more information about the configuration files, take a look at: # openocd.texi -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] Configuration file for stm32f2xxx
On Mon, Jun 6, 2011 at 11:23 AM, Øyvind Harboe oyvind.har...@zylin.comwrote: To create a patch: git add tcl/tcl/target/stm32f2xxx.cfg Another minor thing I noticed now, why three x in the file name? And in the flash driver too it seems? Shouldn't it be stm32f2xx? (also, to avoid confusion, I'll just point out that the above git snippet has tcl/ duplicated in the path) /Andreas ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] Configuration file for stm32f2xxx
Andreas,STM32F2 is referenced as stm32f2xxx (3 Xs) in the openocd project (don't ask me why :). for example:./src/flash/nor/stm32f2xxx.c./contrib/loaders/flash/stm32f2xxx.S To make it consistent I kept the 3 Xs.Laurent --- On Mon, 6/6/11, Andreas Fritiofson andreas.fritiof...@gmail.com wrote: 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 6, 2011 at 11:23 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: To create a patch: git add tcl/tcl/target/stm32f2xxx.cfg Another minor thing I noticed now, why three x in the file name? And in the flash driver too it seems? Shouldn't it be stm32f2xx? (also, to avoid confusion, I'll just point out that the above git snippet has tcl/ duplicated in the path) /Andreas ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] Configuration file for stm32f2xxx
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
On Mon, Jun 6, 2011 at 11:40 AM, Andreas Fritiofson andreas.fritiof...@gmail.com wrote: On Mon, Jun 6, 2011 at 11:23 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: To create a patch: git add tcl/tcl/target/stm32f2xxx.cfg Another minor thing I noticed now, why three x in the file name? And in the flash driver too it seems? Shouldn't it be stm32f2xx? (also, to avoid confusion, I'll just point out that the above git snippet has tcl/ duplicated in the path) No reason really, when I implemented it, I thought there were multiple versions of this chip. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] Configuration file for stm32f2xxx
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 0x2 # chip name set CHIPNAME STM32F207IGT6 source [find target/stm32f2xxx.cfg] ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development