Re: [Openocd-development] flash driver buffer size

2009-04-02 Thread Øyvind Harboe
It would be *great* to crack this problem once and for all. It's been discussed in the past on the list. > 4)   That algorithm should/could use a *COMMON* set of commands >    That is *common* to *ALL* targets. For MIPS as well as ARM targets? So each target type has a compiler built in? Tran

Re: [Openocd-development] [Patch] Add board file for Olimex STM32-H103

2009-04-02 Thread Øyvind Harboe
Committed. Thanks! -- Øyvind Harboe PayBack incident management system Reduce costs and increase quality, free Starter Edition http://www.payback.no/index_en.html ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists

Re: [Openocd-development] LPC2103 config file

2009-04-02 Thread Øyvind Harboe
Committed. Thanks! -- Øyvind Harboe PayBack incident management system Reduce costs and increase quality, free Starter Edition http://www.payback.no/index_en.html ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists

Re: [Openocd-development] [PATCH 1/5] plug a memory leak

2009-04-02 Thread Øyvind Harboe
Committed. Thanks! -- Øyvind Harboe PayBack incident management system Reduce costs and increase quality, free Starter Edition http://www.payback.no/index_en.html ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.

Re: [Openocd-development] flash driver buffer size

2009-04-02 Thread Duane Ellis
Spencer Oliver> We have just changed the stm32 flash driver buffer to 16k (was 8k). Spencer Oliver> Is this worth doing on other flash drivers ?? Actually, I think coming up with a "common architecture" to do ARM flash would be better, or is more important. By that I specifically mean: 1) Downl

Re: [Openocd-development] [PATCH 1/5] plug a memory leak

2009-04-02 Thread Nicolas Pitre
On Thu, 2 Apr 2009, Nicolas Pitre wrote: > On Thu, 2 Apr 2009, Øyvind Harboe wrote: > > > Committed patches 1 through 5 inclusive. > > > > Please check that the patches went in correctly. > > Yep, thanks. One minor addition: list the new flag in the "nand write" help line. diff --git a/src/fl

Re: [Openocd-development] [PATCH] Oocdlink interface

2009-04-02 Thread Uwe Hermann
On Wed, Mar 25, 2009 at 10:42:13PM +0100, joern kaipf wrote: > Index: src/target/interface/oocdlink.cfg > === > --- src/target/interface/oocdlink.cfg (Revision 0) > +++ src/target/interface/oocdlink.cfg (Revision 0) It seems this patc

Re: [Openocd-development] Config files for flashing TinCanTools "Hammer" board?

2009-04-02 Thread Uwe Hermann
Hi, On Wed, Apr 01, 2009 at 05:32:19AM -0700, Jim Norton wrote: > Hi everybody, > > I'm a complete newbie to JTAG and embedded linux development. I have a > TinCanTools "Hammer" board that comes with support for an older > version of OpenOCD. > > However, I needed to use the newest version o

Re: [Openocd-development] [PATCH 1/5] plug a memory leak

2009-04-02 Thread Nicolas Pitre
On Thu, 2 Apr 2009, Øyvind Harboe wrote: > Committed patches 1 through 5 inclusive. > > Please check that the patches went in correctly. Yep, thanks. Nicolas ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berl

[Openocd-development] [Patch] Add board file for Olimex STM32-H103

2009-04-02 Thread Piotr Esden-Tempski
Hi,I added a board file for the Olimex STM32-H103 eval board.Patch is attached.Cheers Esden --My blog: http://www.esden.netMy projects: http://open-bldc.org, http://multicopter.orgProjects I am involved in: http://ng.uavp.ch  openocd-svn-1440-olimex_stm32_h103.patch Description: Binary data PGP

[Openocd-development] LPC2103 config file

2009-04-02 Thread Freddie Chopin
I attach a config file for LPC2103 - hope that I've done that right (; 4\/3!! Index: src/target/target/lpc2103.cfg === --- src/target/target/lpc2103.cfg (revision 0) +++ src/target/target/lpc2103.cfg (revision 0) @@ -0,0

Re: [Openocd-development] [PATCH 1/5] plug a memory leak

2009-04-02 Thread Øyvind Harboe
Committed patches 1 through 5 inclusive. Please check that the patches went in correctly. Thanks! -- Øyvind Harboe PayBack incident management system Reduce costs and increase quality, free Starter Edition http://www.payback.no/index_en.html ___ Ope

Re: [Openocd-development] [PATCH] Add missing STM32 BSTAPID to list of available ones

2009-04-02 Thread Øyvind Harboe
Committed. Thanks! -- Øyvind Harboe PayBack incident management system Reduce costs and increase quality, free Starter Edition http://www.payback.no/index_en.html ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.b

[Openocd-development] [PATCH 4/5] add standard ECC layout and ECC computation for NAND writing

2009-04-02 Thread Nicolas Pitre
The ECC data is automatically computed and written to the OOB area when the oob_softecc option is passed to the "nand write" command. --- src/flash/nand.c | 61 + src/flash/nand.h | 12 ++ 2 files changed, 68 insertions(+), 5 deletion

[Openocd-development] [PATCH 5/5] write ECC data when reflashing u-Boot on the SheevaPlug

2009-04-02 Thread Nicolas Pitre
--- src/target/board/sheevaplug.cfg |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/target/board/sheevaplug.cfg b/src/target/board/sheevaplug.cfg index 8e5c265..64e2596 100644 --- a/src/target/board/sheevaplug.cfg +++ b/src/target/board/sheevaplug.cfg @@ -99,8 +99,8

[Openocd-development] [PATCH 3/5] software ECC computation for NAND flash

2009-04-02 Thread Nicolas Pitre
--- src/flash/Makefile.am | 18 --- src/flash/nand.h |1 + src/flash/nand_ecc.c | 126 + 3 files changed, 138 insertions(+), 7 deletions(-) create mode 100644 src/flash/nand_ecc.c diff --git a/src/flash/Makefile.am b/src/flash/Make

[Openocd-development] [PATCH 2/5] add some rudimentary erased block accounting

2009-04-02 Thread Nicolas Pitre
This at least should make the "nand info" command a little more useful. --- src/flash/nand.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/flash/nand.c b/src/flash/nand.c index 2b3b517..7946e34 100644 --- a/src/flash/nand.c +++ b/src/flash/nand.c @@ -689,6 +68

[Openocd-development] [PATCH 1/5] plug a memory leak

2009-04-02 Thread Nicolas Pitre
Allocating a 6-byte memory location with malloc() is rather silly when this can be allocated on the stack. --- src/flash/nand.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/flash/nand.c b/src/flash/nand.c index 51755aa..2b3b517 100644 --- a/src/flash/nand.c +++ b

[Openocd-development] [PATCH] Add missing STM32 BSTAPID to list of available ones

2009-04-02 Thread Uwe Hermann
Add missing STM32 "0x06412041, Revision A" BSTAPID to list of available ones. This is checked against revision 8, 11-Feb-2009, of the RM0008 manual from http://www.st.com/stonline/products/literature/rm/13902.pdf. Also, I noticed that stm32.cfg will _not_ work for some targets per se, as it basi

Re: [Openocd-development] [PATCH] Improve comments of interface files

2009-04-02 Thread Øyvind Harboe
Committed. Thanks! -- Øyvind Harboe PayBack incident management system Reduce costs and increase quality, free Starter Edition http://www.payback.no/index_en.html ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.

[Openocd-development] [PATCH] Improve comments of interface files

2009-04-02 Thread Uwe Hermann
Add full company name (if any), interface/dongle name, and URL to all interface config files. Please check the infos, I may not have gotten all of them right. Uwe. -- http://www.hermann-uwe.de | http://www.holsham-traders.de http://www.crazy-hacks.org | http://www.unmaintained-free-software.or

Re: [Openocd-development] Support to interfaces except JTAG

2009-04-02 Thread Rick Altherr
On Apr 2, 2009, at 3:36 AM, SimonQian wrote: Hi, I noticed there is a thread about supporting other programming interfaces except JTAG. How is it going? There was some talk, but no action. It would require quite a bit of infrastructure work to remove the assumption that every pld and targ

Re: [Openocd-development] STM32 flash performance

2009-04-02 Thread Magnus Lundin
The follow patch improves algorithm performance slightly by only marking registers that has really changed as dirty. Tested with flash writing for STM32. With the latest changes I can now get the following performance: STM32-P103 board, FT2232 JTAG adapter 16 kB, jtag_khz 500 download to t

[Openocd-development] flash driver buffer size

2009-04-02 Thread Spencer Oliver
Hi, We have just changed the stm32 flash driver buffer to 16k (was 8k). Is this worth doing on other flash drivers ?? Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd

Re: [Openocd-development] STM32 flash performance

2009-04-02 Thread Magnus Lundin
Spencer Oliver wrote: > > >> Does anyone have any objections to committing this patch? >> >> It's relatively straightforward to revert and reportely >> improves performance significantly and hurts noone(so far). >> When we commit it we have a record of it at least >> >> > > Fine wit

Re: [Openocd-development] Support to interfaces except JTAG

2009-04-02 Thread Alan Carvalho de Assis
Hi SimonQian, On 4/2/09, SimonQian wrote: > Hi, > I noticed there is a thread about supporting other > programming interfaces except JTAG. > How is it going? > I don't know much about it. > I'll release a program with these support. > I tested it on AVR_ISP/JTAG, C51_ISP, C8051F_C2/JTAG, > PSOC

Re: [Openocd-development] arm116jzf-s

2009-04-02 Thread plarroy
Ah, my bad I'm referring to: ARM 1176JZF-S Regards. Alan Carvalho de Assis wrote: > s/Thank/Take/ > :-D > > On 4/2/09, Alan Carvalho de Assis wrote: > >> Hi >> >> On 4/2/09, plarroy wrote: >> >>> Hi >>> >>> Is arm116jzf-s known to be supported by openocd? >>> >>> >> I think you

Re: [Openocd-development] arm116jzf-s

2009-04-02 Thread Alan Carvalho de Assis
s/Thank/Take/ :-D On 4/2/09, Alan Carvalho de Assis wrote: > Hi > > On 4/2/09, plarroy wrote: >> Hi >> >> Is arm116jzf-s known to be supported by openocd? >> > > I think you are asking about arm1136jf-s. > > Yes, it is supported! > > Thank a look on i.MX31 and i.MX35. > >> >> Regards. >> > > Bes

Re: [Openocd-development] arm116jzf-s

2009-04-02 Thread Alan Carvalho de Assis
Hi On 4/2/09, plarroy wrote: > Hi > > Is arm116jzf-s known to be supported by openocd? > I think you are asking about arm1136jf-s. Yes, it is supported! Thank a look on i.MX31 and i.MX35. > > Regards. > Best Regards, Alan ___ Openocd-development m

Re: [Openocd-development] STM32 flash performance

2009-04-02 Thread Spencer Oliver
> Does anyone have any objections to committing this patch? > > It's relatively straightforward to revert and reportely > improves performance significantly and hurts noone(so far). > When we commit it we have a record of it at least > Fine with me, i would also #if 0 the first scan_inou

[Openocd-development] Support to interfaces except JTAG

2009-04-02 Thread SimonQian
Hi, I noticed there is a thread about supporting other programming interfaces except JTAG. How is it going? I'll release a program with these support. I tested it on AVR_ISP/JTAG, C51_ISP, C8051F_C2/JTAG, PSOC_ISSP, MSP430_JTAG(non-standard JTAG), and even STM32_ISP(Comm port). If such support

Re: [Openocd-development] xsvf patch

2009-04-02 Thread SimonQian
Hi, Attached patch fixs: 1. call buf_cmp_mask to compare buffer with mask. 2. remove long lines according to GNU coding standard. NOTE: The patch is untested, I don't have XC9572XL to test on. And I'll prepare a patch for vsllink code according to GNU coding standard. 2009-04-02 Best Regards,

Re: [Openocd-development] jtag_get_tms_path() - changes the 7 bit issue.

2009-04-02 Thread Duane Ellis
duane> A while ago a number of us noticed that OpenOCD *ASSUMES* that all TAP duane> transitions require 7 TMS clocks, which is quite wrong, and problematic. oyvind> You can use the pathmove if you need something else. E.g. XScale and xsvf do this. The problem is not there, the problem is in p

Re: [Openocd-development] xsvf patch

2009-04-02 Thread SimonQian
My previous patch only fix the BUG that error message display the wrong information. Yes, data should be compared bit by bit, not byte by byte. And buf_cmp_mask can be called to do the comparation. I'll provide a patch for this. PS: > P.S. It isn't really easy to read source code if it has long l

[Openocd-development] arm116jzf-s

2009-04-02 Thread plarroy
Hi Is arm116jzf-s known to be supported by openocd? Regards. ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development