Re: [Openocd-development] cortex a8/a9 debug base

2011-03-22 Thread Øyvind Harboe
On Tue, Mar 22, 2011 at 12:14 PM, Michael Schwingen rincew...@discworld.dascon.de wrote: Øyvind Harboe wrote: I'm wondering if it would be better to ditch the automatic fixup code and use parameters to target in config script. Default would be to use the automatic detection per ARM's

[Openocd-development] merging cortex_a8/a9.c and improving Pandaboard config files

2011-03-21 Thread Øyvind Harboe
Can anyone think of a good reason why we're duplicating these source files at this point? I just got a Pandaboard today and ti_pandaboard.cfg is currently using omap3530.cfg, which uses Cortex A8, even if the Pandaboard is a Cortex A9. -- Øyvind Harboe Can Zylin Consulting help on your

[Openocd-development] [PATCH 2/2] omap4430: cortex a9 and a8 are now merged again

2011-03-21 Thread Øyvind Harboe
Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com --- tcl/target/omap4430.cfg |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tcl/target/omap4430.cfg b/tcl/target/omap4430.cfg index 5bdb9d6..13ed80c 100644 --- a/tcl/target/omap4430.cfg +++ b/tcl/target/omap4430.cfg

Re: [Openocd-development] [PATCH 1/2] cortex a9: merge cortex a9 and a8 code

2011-03-21 Thread Øyvind Harboe
that went into cortex_a9.c appropriate for cortex_a8? git log -- src/target/cortex_a9.c ll.txt -- Ø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

Re: [Openocd-development] [PATCH 1/2] cortex a9: merge cortex a9 and a8 code

2011-03-21 Thread Øyvind Harboe
been fairly straightforward, except there are broken implementations out there. The autodetection of the debug base was amended to automatically detect the broken boards, which still needs a bit of work last I heard. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980

Re: [Openocd-development] [PATCH] target: allow targets to override memory alignment

2011-03-18 Thread Øyvind Harboe
Merged. -- Ø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

Re: [Openocd-development] [PATCH] Fix a bunch of typos.

2011-03-17 Thread Øyvind Harboe
Merged. Thanks! 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

Re: [Openocd-development] [PATCH 1/2] dsp563xx: fix bug in x buffer handling

2011-03-17 Thread Øyvind Harboe
Merged. -- Ø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

Re: [Openocd-development] SYS_WRITE0 PATCH 1 (was Re: SYS_WRITE0 in do_semihosting in arm_semihosting.c broken)

2011-03-17 Thread Øyvind Harboe
Merged. -- Ø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

Re: [Openocd-development] SYS_WRITE0 PATCH 2 (was Re: SYS_WRITE0 in do_semihosting in arm_semihosting.c broken)

2011-03-17 Thread Øyvind Harboe
to list, possibly using git send-email --to=openocd-development@lists.berlios.de --smtp-server= -- Ø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

Re: [Openocd-development] chunksize src/flash/nor/tcl.c

2011-03-17 Thread Øyvind Harboe
I hate options. Can't we just set the right value or figure it out? Crank it up real high? 128/256kBytes? -- Ø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

Re: [Openocd-development] DSCR_DTR_RX_FULL

2011-03-17 Thread Øyvind Harboe
and annoying, but there you go. I don't have an answer for you on the DSCR_DTR_RX_FULL, I'd have to debug it. -- Ø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

[Openocd-development] Abatron support

2011-03-17 Thread Øyvind Harboe
Hi, Abatron has a TCP/IP interface that allows you to clock in/out TMS, TDO, TDI. Has anyone done any work on adding support to OpenOCD for it? -- Ø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

[Openocd-development] [PATCH] target: allow targets to override memory alignment

2011-03-17 Thread Øyvind Harboe
From: Mathias K kes...@freenet.de Targets can implement read/write_buffer to handle alignment. --- src/target/target.c | 30 ++ src/target/target_type.h |6 ++ 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/src/target/target.c

Re: [Openocd-development] [PATCH] target: memory alignment option

2011-03-17 Thread Øyvind Harboe
Please see: Please checkout this patch instead: http://lists.berlios.de/pipermail/openocd-development/2011-March/018323.html -- Ø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

Re: [Openocd-development] [PATCH] dsp563xx: fix alignment warnings

2011-03-15 Thread Øyvind Harboe
Was this ever correct? It looks like the 'x' line should have (i+1), like below. I was wondering about that one... I was trying to fix the warnings in one commit and didn't want to bundle in behavioral changes. A bugfix should probably go in first. -- Øyvind Harboe Can Zylin Consulting

[Openocd-development] [PATCH 1/2] dsp563xx: fix bug in x buffer handling

2011-03-15 Thread Øyvind Harboe
found by inspection, not confirmed. Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com --- src/target/dsp563xx.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/target/dsp563xx.c b/src/target/dsp563xx.c index cb2025e..4969ed5 100644 --- a/src/target/dsp563xx.c

[Openocd-development] [PATCH 2/2] dsp563xx: fix alignment warnings

2011-03-15 Thread Øyvind Harboe
Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com --- src/target/dsp563xx.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/target/dsp563xx.c b/src/target/dsp563xx.c index 4969ed5..9f81134 100644 --- a/src/target/dsp563xx.c +++ b/src/target/dsp563xx.c

Re: [Openocd-development] [PATCH 1/2] dsp563xx: fix bug in x buffer handling

2011-03-15 Thread Øyvind Harboe
better? -- Ø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 From 9b1d38707c1d407a72c5b6d8bfd30240a9d7dd34 Mon Sep 17 00:00

[Openocd-development] [PATCH] dsp563xx: fix alignment warnings

2011-03-14 Thread Øyvind Harboe
Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com --- src/target/dsp563xx.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/target/dsp563xx.c b/src/target/dsp563xx.c index cb2025e..19f793e 100644 --- a/src/target/dsp563xx.c +++ b/src/target/dsp563xx.c

Re: [Openocd-development] [PATCH] dsp563xx: fix alignment warnings

2011-03-14 Thread Øyvind Harboe
is the lesser evil. -- Ø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

Re: [Openocd-development] SYS_WRITE0 in do_semihosting in arm_semihosting.c broken

2011-03-14 Thread Øyvind Harboe
Hi, thanks for the good work! Could you submit a patch or a diff? There should be two patches here, first fixing the bug and secondly the optimization you suggest. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http

Re: [Openocd-development] DSCR_DTR_RX_FULL

2011-03-13 Thread Øyvind Harboe
Which version are you using? Do you have config files, logs and minimal steps to reproduce? I've got an AM3517 at the office. -- Ø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

Re: [Openocd-development] [PATCH 1/4] jlink: add capability dumper and command

2011-03-13 Thread Øyvind Harboe
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

[Openocd-development] warnings about alignment (in dsp563xx.c)

2011-03-03 Thread Øyvind Harboe
/target/dsp563xx.c:1591: warning: cast increases required alignment of target type -- Ø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

[Openocd-development] [PATCH] jtag: clean up jtag_sleep, handle short sleeps correctly via usleep

2011-03-03 Thread Øyvind Harboe
short sleeps are handled via usleep, longer sleeps we round up to nearest ms. There was a bug in jtag_sleep() in that it would round *down* to nearest ms, thus making all 1ms sleeps 0. Found by inspection rather than symptom. Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com --- src/jtag

[Openocd-development] I'm out of the office March 4. - 11.

2011-03-03 Thread Øyvind Harboe
I'm hoping for lots of patches ready to be committed when I get back! :-) -- Ø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

Re: [Openocd-development] [PATCH] ft2232: fix log message and changelog output to debug

2011-03-03 Thread Øyvind Harboe
I send patches using: git send-email --to=openocd-development@lists.berlios.de --stmp-server=smtp.foo.com 000* -- Ø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

Re: [Openocd-development] [PATCH] jtag: clean up jtag_sleep, handle short sleeps correctly via usleep

2011-03-03 Thread Øyvind Harboe
to float back up and the sorts. JTAG can be gated during these operations. Short delays, when possible, are better to implement as clocking out ticks. -- Ø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

Re: [Openocd-development] [PATCH 1/6] at91sam9: factorise cpu support

2011-03-03 Thread Øyvind Harboe
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

Re: [Openocd-development] [PATCH] target: memory alignment option

2011-03-03 Thread Øyvind Harboe
How about using polymorphism instead of conditional code? i.e. implement target-type-write_buffer(target, address, size, buffer) that defaults to todays implementation, but can be overridden? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434

Re: [Openocd-development] [PATCH] ft2232: fix log message and change log output to debug

2011-03-03 Thread Øyvind Harboe
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

Re: [Openocd-development] [PATCH 1/6] at91sam9: factorise cpu support

2011-03-02 Thread Øyvind Harboe
I haven't looked at this in detail, but it makes sense to me to reorganize in this fashion. Any objections? Do you have any particular fears w.r.t. regressions, incompatibilities or changes in how the user use OpenOCD and the scripts afterwards? -- Øyvind Harboe Can Zylin Consulting help

Re: [Openocd-development] [PATCH 1/4] jlink: add new PID and VID

2011-03-02 Thread Øyvind Harboe
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

Re: [Openocd-development] [PATCH 1/4] jlink: add new PID and VID

2011-03-01 Thread Øyvind Harboe
Any objections? I don't much about this driver, so if anyone has objections, lets hear them! -- Ø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

Re: [Openocd-development] [PATCH] svf: add nil option that just runs through the svf file

2011-02-28 Thread Øyvind Harboe
Merged. -- Ø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

Re: [Openocd-development] Error and then segfault with svf

2011-02-28 Thread Øyvind Harboe
Could you repost the patches? 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

Re: [Openocd-development] Error and then segfault with svf

2011-02-28 Thread Øyvind Harboe
On Mon, Feb 28, 2011 at 7:40 PM, Andrew Leech coronasen...@gmail.comwrote: On 28/02/2011 7:01 PM, Øyvind Harboe wrote: Has anyone used the SVF support recently? I've tried to use svf, but it doesn't work in my case. I've attached a test file + I've modified OpenOCD so it is possible

Re: [Openocd-development] Error and then segfault with svf

2011-02-28 Thread Øyvind Harboe
On Mon, Feb 28, 2011 at 11:48 PM, Andrew Leech coronasen...@gmail.com wrote: On Tue, Mar 1, 2011 at 6:04 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: On Mon, Feb 28, 2011 at 7:40 PM, Andrew Leech coronasen...@gmail.com wrote: On 28/02/2011 7:01 PM, Øyvind Harboe wrote: Has anyone used

Re: [Openocd-development] [PATCH] svf: add nil option that just runs through the svf file

2011-02-25 Thread Øyvind Harboe
On Fri, Feb 25, 2011 at 4:49 PM, Peter Stuge pe...@stuge.se wrote: Øyvind Harboe wrote: @@ -349,6 +358,10 @@ COMMAND_HANDLER(handle_svf_command)               {                       svf_quiet = 1;               } +             else if ((strcmp(CMD_ARGV[i], nil) == 0) || (strcmp(CMD_ARGV[i

[Openocd-development] [PATCH 2/2] log: debug level is between silent and debug output levels

2011-02-24 Thread Øyvind Harboe
It wasn't previously possible to silence the output. Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com --- src/helper/log.c | 17 - 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/helper/log.c b/src/helper/log.c index b6fab01..8a8f08a 100644 --- a/src

[Openocd-development] [PATCH 1/2] jtag: add wait_srst_deassert command

2011-02-24 Thread Øyvind Harboe
Useful to do something *real quick* after a SRST deassert. Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com --- src/jtag/tcl.c | 51 +++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c index

Re: [Openocd-development] question about memory access in target.c

2011-02-24 Thread Øyvind Harboe
Why is this a configuration option rather than something that the target sets up itself? -- Ø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

Re: [Openocd-development] [PATCH] ft2232: fix possible read buffer overflow

2011-02-24 Thread Øyvind Harboe
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

Re: [Openocd-development] OCD with IMX25

2011-02-22 Thread Øyvind Harboe
We've got many Freescale imx arm7/9 customers. Performance isn't an issue. -- Ø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

Re: [Openocd-development] question about memory access in target.c

2011-02-22 Thread Øyvind Harboe
All else being equal, I prefer polymorphism to if statements and flags It just simplifies testing and doesn't touch the existing code. -- Ø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

Re: [Openocd-development] [PATCH] cortex_a8: remove dap_ap_sel calls

2011-02-22 Thread Øyvind Harboe
I have not reviewed it, but given your track record and no protests, 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

Re: [Openocd-development] dsp563xx: rudimentary gdb support

2011-02-21 Thread Øyvind Harboe
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

Re: [Openocd-development] question about memory access in target.c

2011-02-20 Thread Øyvind Harboe
Is there any chance to add a configuration option that would disable the alignment functionality for a target? I'd rather define another level of polymorphism where the current behavior is the default, but overridable by the target. This is how we've done things before. -- Øyvind Harboe

Re: [Openocd-development] dsp563xx: rudimentary gdb support

2011-02-20 Thread Øyvind Harboe
Any objections? I have not reviewed it. Mathias is the de-facto maintainer of this module. -- Ø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

Re: [Openocd-development] [PATCH] gitmodules: use http protocol for git2cl module

2011-02-20 Thread Øyvind Harboe
Makes sense to me. I'll merge it later on today. -- Ø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

Re: [Openocd-development] [PATCH] gitmodules: use http protocol for git2cl module

2011-02-20 Thread Øyvind Harboe
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

Re: [Openocd-development] question about jimtcl and gdb commands

2011-02-18 Thread Øyvind Harboe
On Fri, Feb 18, 2011 at 11:41 AM, Mathias K. kes...@freenet.de wrote: This works, i need the global command context to access this variable from c: There might be a way around that, but for now that's probably OK. Once you submit a patch, we can have a closer look... -- Øyvind Harboe Can

Re: [Openocd-development] [PATCH] dsp563xx: minor fixes, code cleanup

2011-02-17 Thread Øyvind Harboe
Merged. Thanks! W.r.t. error reporting, then LOG_ERROR() should be invoked at the error site. No user information is propagated via the return value. -- Ø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

Re: [Openocd-development] [PATCH] arm_adi_v5: add/move apsel member in struct adiv5_dap

2011-02-17 Thread Øyvind Harboe
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

Re: [Openocd-development] question about jimtcl and gdb commands

2011-02-17 Thread Øyvind Harboe
Not quite sure what you're asking Add qset to your config? # handle qset... proc qset {a b} { # Do stuff here... } # Invoke tcl 'qset' proc monitor qset foo bar -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http

Re: [Openocd-development] [PATCH] stm32: add ID for medium density device Rev Z

2011-02-17 Thread Øyvind Harboe
...@stuge.se If you look at the LPC config scripts, we've started work to reduce copy paste and general ugliness in the scripts... Merged. -- Ø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

Re: [Openocd-development] [PATCH] stm32: add ID for medium density device Rev Z

2011-02-17 Thread Øyvind Harboe
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

[Openocd-development] commit messages work again

2011-02-17 Thread Øyvind Harboe
I suppose sourceforge fixed it. Otherwise thanks to whomever did it! :-) -- Ø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

Re: [Openocd-development] question about jimtcl and gdb commands

2011-02-17 Thread Øyvind Harboe
Now i need to access this variable from c. Use a Tcl C function to read the contents of the variable? Jim_GetVariable - see jimtcl/jim.c I guess I don't know enough about the context to reply sensibly. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434

Re: [Openocd-development] fyi: make failed with -j2

2011-02-17 Thread Øyvind Harboe
I don't know that Jim supports make -jN -- Ø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

Re: [Openocd-development] [PATCH] dsp563xx: fix resume and step function ...

2011-02-16 Thread Øyvind Harboe
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

Re: [Openocd-development] [PATCH] dsp563xx: minor fixes, code cleanup

2011-02-16 Thread Øyvind Harboe
up a list of commits and if you chose edit for a commit, you can modify the changes for that commit or simply change the commit comment: git commit --amend The format of a commit comment is(by convention): topic: short descript blank line longer description -- Øyvind Harboe Can Zylin

Re: [Openocd-development] Correct definition of JTAG_INSTR_CLAMP in dsp563xx_once.c

2011-02-15 Thread Øyvind Harboe
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

Re: [Openocd-development] [PATCH] dsp563xx mem rw changes

2011-02-15 Thread Øyvind Harboe
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

Re: [Openocd-development] Flash driver for LPC32xx - no NXP code

2011-02-15 Thread Øyvind Harboe
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

Re: [Openocd-development] [PATCH] ft2232.c add functions to set high/low byte

2011-02-14 Thread Øyvind Harboe
Near as I can tell this patch just deletes lots of unecessary repetition by making a fn that should have been there in the first place, right? There is no change in behavior whatsoever, right? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434

Re: [Openocd-development] [PATCH 1/6] cortex_a9: trivial fixes

2011-02-14 Thread Øyvind Harboe
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

Re: [Openocd-development] [PATCH] ft2232.c add functions to set high/low byte

2011-02-14 Thread Øyvind Harboe
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

Re: [Openocd-development] [PATCH] dsp563xx mem rw changes

2011-02-14 Thread Øyvind Harboe
Should this fix be merged? Any objections? Could you write a patch with a better commit comment? 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

Re: [Openocd-development] Correct definition of JTAG_INSTR_CLAMP in dsp563xx_once.c

2011-02-14 Thread Øyvind Harboe
Should this patch be merged? -- Ø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

Re: [Openocd-development] stm32f2xxx flash support

2011-02-14 Thread Øyvind Harboe
These changes have indeed been merged with the master branch. OpenOCD could need some good configuration scripts for these STM32 parts and eval boards... Patches gladly accepted! -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87

[Openocd-development] cortex a9

2011-02-14 Thread Øyvind Harboe
I'm having trouble getting hold of cortex a9 hardware. Anyone got anything out there to donate? The pandaboard is on order, but who knows when more will be available. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http

Re: [Openocd-development] [PATCH 1/6] cortex_a9: trivial fixes

2011-02-13 Thread Øyvind Harboe
any objections to committing this series? -- Ø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

Re: [Openocd-development] [PATCH] ft2232.c add functions to set high/low byte

2011-02-13 Thread Øyvind Harboe
bits high/low byte. Regards, Mathias ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development -- Øyvind Harboe Can Zylin Consulting help on your project? US toll

Re: [Openocd-development] Flash driver for LPC32xx - no NXP code

2011-02-13 Thread Øyvind Harboe
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

Re: [Openocd-development] gdb startup from eclipse failue

2011-02-13 Thread Øyvind Harboe
Start with GDB in command line mode to figure out if it works correctly there. -- Ø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

Re: [Openocd-development] [PATCH] interface decrease calling overhead

2011-02-11 Thread Øyvind Harboe
On Fri, Feb 11, 2011 at 8:41 AM, Michael Schwingen rincew...@discworld.dascon.de wrote: On 02/11/2011 07:29 AM, Øyvind Harboe wrote: I don't have any objections to this particular patch, but if we have to start doing tweaks at this level, then where does it end? I am not too fond

Re: [Openocd-development] [PATCH] interface decrease calling overhead

2011-02-11 Thread Øyvind Harboe
What kind of CPU are you running OpenOCD on? It's great that you are basing your optimizations on profiling information. That always makes for a convincing case. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http

Re: [Openocd-development] [PATCH] interface decrease calling overhead

2011-02-11 Thread Øyvind Harboe
How about rewriting clock_tms then? -- Ø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

Re: [Openocd-development] [PATCH] cortex_a9: implement read/write memory through APB-AP

2011-02-10 Thread Øyvind Harboe
/018067.html -- Ø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

Re: [Openocd-development] [PATCH] cortex_a9: fix dap_ap_select() usage

2011-02-10 Thread Øyvind Harboe
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

Re: [Openocd-development] [PATCH] cortex_a9: implement read/write memory through APB-AP

2011-02-10 Thread Øyvind Harboe
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

[Openocd-development] Problems with commit messages

2011-02-10 Thread Øyvind Harboe
-receive: line 639: /usr/sbin/sendmail: No such file or directory error: cannot run hooks/post-receive: No such file or directory -- Ø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

Re: [Openocd-development] current and maximum jtag queue size for jtag hardware ?

2011-02-10 Thread Øyvind Harboe
the api allows for the queue to start executing *before* jtag_execute_queue() is invoked(e.g. hardware FIFO), jtag_execute_queue() just ensures that the queue is flushed. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27

Re: [Openocd-development] current and maximum jtag queue size for jtag hardware ?

2011-02-10 Thread Øyvind Harboe
no and no. There is no maximum queue size and the api doesn't and should expose the queue size. 'should not' -- Ø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

Re: [Openocd-development] [PATCH] interface decrease calling overhead

2011-02-10 Thread Øyvind Harboe
what good profiling data result in, small changes that are surprisingly effective. -- Ø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

Re: [Openocd-development] [PATCH] cortex_a9: fix dap_ap_select() usage

2011-02-09 Thread Øyvind Harboe
generally do is that I let discussions play out, but if no-one steps up with a better patch, then the first one goes in. Does this patch break anything that you know of? Any objections out there to committing for now? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866

Re: [Openocd-development] [PATCH] cortex_a9: implement read/write memory through APB-AP

2011-02-09 Thread Øyvind Harboe
Any objections out there? -- Ø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

Re: [Openocd-development] [PATCH] buf_set_buf around 30% speed increase

2011-02-08 Thread Øyvind Harboe
On Tue, Feb 8, 2011 at 9:09 AM, Mathias K. kes...@freenet.de wrote: Hello, On 05.02.2011 10:43, Øyvind Harboe wrote: What sort of CPU did you run the tests on? Which test? The target cpu/mcu or my system cpu? System CPU. Let me know when the patch is ready to be committed. I suppose

Re: [Openocd-development] [PATCH] cortex_a8/a9: fix some comments

2011-02-08 Thread Øyvind Harboe
Merged. -- Ø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

Re: [Openocd-development] Buspirate fixes

2011-02-08 Thread Øyvind Harboe
. To restore the original branch and stop patching run git am --abort. -- Ø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

Re: [Openocd-development] [PATCH] dsp563xx: add x, y and p memory access

2011-02-08 Thread Øyvind Harboe
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

Re: [Openocd-development] [PATCH] omap4430: Add JRC TAPID for PandaBoard REV EA1 (PEAP platforms)

2011-02-08 Thread Øyvind Harboe
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

Re: [Openocd-development] [PATCH] buf_set_buf around 30% speed increase

2011-02-08 Thread Øyvind Harboe
in master branch? I committed the wrong version and then the correct one(hopefully!) -- Ø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

[Openocd-development] Fwd: Flash driver for LPC32xx

2011-02-08 Thread Øyvind Harboe
not be compatible.  2) It's using a different OOB layout than lpc3180 Also borrowing code from the NXP CDL library, written by Kevin Wells. Tested on lpc3250 (Hitex LPC3250-Stick).  OOB layout is compatible with LPCLinux. Bjarne Steinsbo -- Øyvind Harboe Can Zylin Consulting help on your project? US toll

Re: [Openocd-development] Fwd: Flash driver for LPC32xx

2011-02-08 Thread Øyvind Harboe
probably doesn't have. Øyvind Harboe wrote: This code uses the NXP CDL library which is limited to be used against NXP hardware. Would that be in violation of GPL? Yes indeed. Using NXP CDL code on anything but NXP might not make any sense, but doing stuff that makes no sense is a freedom

Re: [Openocd-development] [PATCH] buf_set_buf around 30% speed increase

2011-02-07 Thread Øyvind Harboe
What impact would it have to make this an inline fn? How often are unsigned src_start, unsigned, dst_start, unsigned len constants that could be dealt with through constant propagation and code elimination? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980

Re: [Openocd-development] [PATCH] buf_set_buf around 30% speed increase

2011-02-07 Thread Øyvind Harboe
On Mon, Feb 7, 2011 at 9:50 AM, Marc Pignat marc.pig...@hevs.ch wrote: On Monday 07 February 2011 09:09:36 Øyvind Harboe wrote: What impact would it have to make this an inline fn? ... Inlined or not, this function could be faster. Even with inlining and constant propagation, I don't

Re: [Openocd-development] [PATCH] dsp563xx: add x, y and p memory access

2011-02-06 Thread Øyvind Harboe
You're the expert here. I'll merge this if I hear no protests. -- Ø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

<    2   3   4   5   6   7   8   9   10   11   >