Re: [Openocd-development] Breakpoints at High level language

2011-05-24 Thread Øyvind Harboe
My question is the following, while debugging an ARM target supported by OpenOCD, Is it possible to set breakpoints at high level language? I mean by pointing the breakpoint by file name and code line number? Yes, but only via GDB. (gdb) break foo.c:123 -- Øyvind Harboe Can Zylin

Re: [Openocd-development] Overlapping NAND Flash IDs

2011-05-23 Thread Øyvind Harboe
Is there any plans to improve flash detection (i.e. detecting on vendor,device pairs)? Please see if you can't write up a patch? Doesn't sound awfully hard to implement. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40

Re: [Openocd-development] Overlapping NAND Flash IDs

2011-05-23 Thread Øyvind Harboe
On Mon, May 23, 2011 at 12:23 PM, Damjan Marion damjan.mar...@gmail.com wrote: On May 23, 2011, at 11:42 AM, Øyvind Harboe wrote: Is there any plans to improve flash detection (i.e. detecting on vendor,device pairs)? Please see if you can't write up a patch? Doesn't sound awfully hard

Re: [Openocd-development] [PATCH 1/2] Reorganize NAND flash table

2011-05-23 Thread Øyvind Harboe
Any objections to these patches? -- Ø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] Outstanding patches

2011-05-21 Thread Øyvind Harboe
On Sat, May 21, 2011 at 10:58 AM, Tomek CEDRO tomek.ce...@gmail.com wrote: On Wed, May 18, 2011 at 8:52 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: The position of a release master is open. Nobody has stepped up. The build scripts are there. David Brownell did 0.4. We're pretty much

Re: [Openocd-development] reset problem on S3C2410

2011-05-19 Thread Øyvind Harboe
Try the master branch? -- Ø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] partial support for dsp568013/568037

2011-05-18 Thread Øyvind Harboe
#define err_check_propagate(retval,err_msg) if(retval != ERROR_OK){return retval;} i'll modify the macro to get that behavior. I'm thinking both forms of the macro could be useful, but when the error is already reported, the above form would be used. -- Øyvind Harboe Can Zylin Consulting

Re: [Openocd-development] Outstanding patches

2011-05-18 Thread Øyvind Harboe
The position of a release master is open. Nobody has stepped up. The build scripts are there. David Brownell did 0.4. We're pretty much ready to cut 0.5 and could probably cut a release per quarter. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434

Re: [Openocd-development] OpenOCD for STM32F2xx microcontroller

2011-05-18 Thread Øyvind Harboe
n Wed, May 18, 2011 at 2:31 PM, freddie_cho...@op.pl wrote: I recall that there was some work to implement STM32F2xx in OpenOCD lately these latest STM flashes are in a different driver too... -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434

Re: [Openocd-development] [patch] partial support for dsp568013/568037

2011-05-18 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] Error in test for current thread?

2011-05-18 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] Get register value if it's invalid in cache

2011-05-18 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] partial support for dsp568013/568037

2011-05-18 Thread Øyvind Harboe
and we're trying to get it to the point where others can test it directly from the git repository, so I let this one slip through. -- Ø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] [patch] partial support for dsp568013/568037

2011-05-17 Thread Øyvind Harboe
){return retval;} -- Ø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 in test for current thread?

2011-05-17 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] [PATCH] Get register value if it's invalid in cache

2011-05-17 Thread Øyvind Harboe
Are you still comfortable with this patch? Any objections? Anyone did any testing on other targets? -- Ø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] Unusual ARM chip

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

Re: [Openocd-development] Outstanding patches

2011-05-16 Thread Øyvind Harboe
Please repost the patch. -- Ø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] Outstanding patches

2011-05-16 Thread Øyvind Harboe
Loose the attitude. On Mon, May 16, 2011 at 9:14 AM, Laurent Gauch laurent.ga...@amontec.com wrote: Øyvind Harboe wrote: Please repost the patch. https://lists.berlios.de/pipermail/openocd-development/2011-April/018780.html Merge it ! -- Øyvind Harboe Can Zylin Consulting help

Re: [Openocd-development] Outstanding patches

2011-05-16 Thread Øyvind Harboe
HEAD^ = post it To be entirely clear: I don't know much about the ft2232 driver and I want a review. Post a normal git patch w/a comment, without any attitude, and I'm sure someone will review it. Toss in some attitude and the list will be entirely justified in ignoring you. -- Øyvind Harboe

Re: [Openocd-development] Error in RTOS code?

2011-05-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

[Openocd-development] Outstanding patches

2011-05-14 Thread Øyvind Harboe
Are there any outstanding patches currently that are ready to be committed? -- Ø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 in RTOS code?

2011-05-12 Thread Øyvind Harboe
in the history and makes testing a lot easier. -- Ø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] OpenOCD becoming an Eclipse TCF Agent

2011-05-12 Thread Øyvind Harboe
So OpenOCD would have a TCF TCP/IP server that would feed output/input from DCC? Why is code required on the target? -- Ø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] gdb post mortem core file.

2011-05-12 Thread Øyvind Harboe
then add some commands to step back / forwards and in fact there are GDB commands to support backwards / fw's debugging -- Ø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] OpenOCD becoming an Eclipse TCF Agent

2011-05-12 Thread Øyvind Harboe
Hi Alex, thanks for the insight! This is very interesting Do you know what it would take to implement such a server? A gdb server, that OpenOCD has, has as a lot of optional functionality. What's the minimum that we'd have to do to get started? -- Øyvind Harboe Can Zylin Consulting

Re: [Openocd-development] Multi-core platform support

2011-05-11 Thread Øyvind Harboe
for threading/1149.7/etc. So I guess no matter what I chose, a lot of effort will need to be invested... No kidding Implementing a new CPU architecture is a huge undertaking, even if you were given the actual masks, sample chips, hw design and architecture for free -- Øyvind Harboe Can

[Openocd-development] Adding dummy RTOS thread type

2011-05-11 Thread Øyvind Harboe
for interfaces(dummy interface) and a dummy flash driver. -- Ø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] Funky defaults for commands

2011-05-10 Thread Øyvind Harboe
in cunning ways upon previous commands executed. I seem to recall that I deleted a few of those cases in the mists of time. If there are still such cases left, I know just what to do with them :-) -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434

Re: [Openocd-development] Compiling error under mingw64

2011-05-10 Thread Øyvind Harboe
It says something like the conversion type character 'l' is unknown. Any guesses? Try: sscanf(packet, qP%8 SCNx32 %16 SCNx64, mode, threadid); -- Ø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] Compiling error under mingw64

2011-05-10 Thread Øyvind Harboe
What version of gcc are you running? gcc --version -- Ø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] Compiling error under mingw64

2011-05-10 Thread Øyvind Harboe
The warning tells you something is wrong, so removing that warning and trying to run it isn't really recommended. -- Ø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] Multi-core platform support

2011-05-10 Thread Øyvind Harboe
at Cortex A implementation. It currently operates with a concept of a master tap common to all cores. If so, could you suggest a way of supporting this behavior with OpenOCD ? This is a sizable amount of work and would require somebody to do it as part of their day-time job I think. -- Øyvind Harboe

Re: [Openocd-development] stepi to infinity. The first stepi fails

2011-05-10 Thread Øyvind Harboe
Try the latest version from git. -- Ø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] Any AM1808 HawkBoard config scripts out there?

2011-05-09 Thread Øyvind Harboe
Beagle, Panda and now Hawk... A TI part on it http://www.hawkboard.org/ -- Ø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] cortex_a :smp feature

2011-05-09 Thread Øyvind Harboe
Merged. Thanks! Had to fix a minor typo(@exampleune = should be @example). -- Ø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] Any AM1808 HawkBoard config scripts out there?

2011-05-09 Thread Øyvind Harboe
On Tue, May 10, 2011 at 3:36 AM, Xiaofan Chen xiaof...@gmail.com wrote: On Tue, May 10, 2011 at 3:37 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: Beagle, Panda and now Hawk... A TI part on it http://www.hawkboard.org/ Looks like a nice board. Interesting, I just saw a TI (also

Re: [Openocd-development] [PATCH] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-05-06 Thread Øyvind Harboe
to the frequency specified. The above would mean use rclk if available, otherwise 0khz = error. I think using rclk if available and falling back to 8khz is a reasonable default. -- Ø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] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-05-05 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] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-05-05 Thread Øyvind Harboe
could have a default jtag_rclk 8, I suppose. Patches gladly accepted! -- Ø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] beagleboard: add support for various icepick versions

2011-05-04 Thread Øyvind Harboe
Fixed. 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 From 41ad35ffbf0eaafa5510f637024bf9357dc4d269 Mon Sep 17

Re: [Openocd-development] [PATCH] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-05-04 Thread Øyvind Harboe
() to mean RCLK. If jlink has some other magic value, then the jlink driver needs to do the translation. -- Ø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] code structuring advice needed

2011-05-03 Thread Øyvind Harboe
On Mon, May 2, 2011 at 10:43 PM, Eric Cooper e...@cmu.edu wrote: On Mon, May 02, 2011 at 09:33:33PM +0200, Øyvind Harboe wrote: Perhaps you can add a polymorphism hook where the current behavior for handling software breakpoints is the default? If I understand what you mean by a polymorphism

Re: [Openocd-development] [PATCH] adapter speed: require init script setting and centralize activation from drivers to core.c

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

Re: [Openocd-development] [PATCH] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-05-03 Thread Øyvind Harboe
The error message is working as intended, near as I can tell. You have to specify the JTAG communication frequency, there no longer is any concept of a default frequency. These scripts are missing a statement to set the JTAG communication frequency. Patches gladly accepted! -- Øyvind Harboe

Re: [Openocd-development] [PATCH] Get register value if it's invalid in cache

2011-05-03 Thread Øyvind Harboe
Which target are you working on btw? -- Ø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] Remove useless MIPS code in avr32_ap7k.c

2011-05-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] Get register value if it's invalid in cache

2011-05-03 Thread Øyvind Harboe
Start with a smoketest. Would this improve performance on ARM targets you think? -- Ø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] LPC2460 Support

2011-05-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] Get register value if it's invalid in cache

2011-05-03 Thread Øyvind Harboe
I'm working on Blackfin. Nice! The blackfin guys have put a lot of effort into uClinux as I could tell from my work with Nios Linux. -- Ø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] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-05-03 Thread Øyvind Harboe
why do you want to set one the adapter is in auto adaptive mode by default no need to set any speed OpenOCD doesn't have an auto-adaptive mode, so I guess you need to explain what you are referring to. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434

[Openocd-development] [PATCH] beagleboard: add support for various icepick versions

2011-05-03 Thread Øyvind Harboe
The beagleboard icepick jtag tap id's vary. --- tcl/target/amdm37x.cfg |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tcl/target/amdm37x.cfg b/tcl/target/amdm37x.cfg index ab18681..4ba4294 100644 --- a/tcl/target/amdm37x.cfg +++ b/tcl/target/amdm37x.cfg @@ -29,11

Re: [Openocd-development] Make fails

2011-05-03 Thread Øyvind Harboe
I don't understand the error, since it looks like struct watchpoint ** watchpoint_p is being used in the while loop. Check the code again: watchpoint_p is not used, the compiler is right. Patch gladly accepted! :-) -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1

Re: [Openocd-development] [PATCH] Invalidate feroceon L2 cache when setting/unsetting software breakpoints

2011-05-02 Thread Øyvind Harboe
On Mon, May 2, 2011 at 4:11 AM, Eric Cooper e...@cmu.edu wrote: On Mon, May 02, 2011 at 03:24:00AM +0200, Øyvind Harboe wrote: Also, don't you need to flush the data cache somehow before invalidating the data cache? Good question.  I thought the arm926ejs write code, which feroceon uses

Re: [Openocd-development] Why not default halt the target when GDB connects to OpenOCD?

2011-05-02 Thread Øyvind Harboe
Short story: creates other nasty problems. You can easily add a monitor halt + stepi to your gdb init sequence. -- Ø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] code structuring advice needed (was: [PATCH] Invalidate feroceon L2 cache ...)

2011-05-02 Thread Øyvind Harboe
sense. Some of the arm9 targets do it this way, except that they mess around with type-write_buffer() which is a bit kludgy. -- Ø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] Read register using GDB

2011-05-02 Thread Øyvind Harboe
After connecting GDB to OpenOCD, you need to issue a stepi to sync GDB and OpenOCD. The advantage of this approach is (amongst many other things) that attaching to the target does *nothing*. Via monitor commands, you can easily manipulate the target, e.g. issuing a monitor halt. -- Øyvind

Re: [Openocd-development] Why not default halt the target when GDB connects to OpenOCD?

2011-05-02 Thread Øyvind Harboe
On Mon, May 2, 2011 at 9:43 PM, Jie Zhang jzhang...@gmail.com wrote: On Mon, May 2, 2011 at 3:31 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: Short story: creates other nasty problems. You can easily add a monitor halt  + stepi  to your gdb init sequence. Thank you for your reply

Re: [Openocd-development] Why not default halt the target when GDB connects to OpenOCD?

2011-05-02 Thread Øyvind Harboe
straightforward and visible, would have to be added manually in all cases one connects to the target. -- Ø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] Read register using GDB

2011-05-02 Thread Øyvind Harboe
What are the other advantages? If they are important, we can consider changing GDB not to expect target halted when it connects to OpenOCD. IMHO, a quixotic undertaking. -- Ø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] [PATCH] Invalidate feroceon L2 cache when setting/unsetting software breakpoints

2011-05-01 Thread Øyvind Harboe
and breakpoints in target-type-write_memory() by making single word writes(16 and 32) safe for setting and restoring software breakpoints. If you don't need to, then I think it merits a comment to explain why. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434

Re: [Openocd-development] [PATCH] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-05-01 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] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-04-29 Thread Øyvind Harboe
Any objections? I'd rather like to hear some testing feedback on this one! -- Ø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] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-04-29 Thread Øyvind Harboe
(2011-04-29-12:45) Licensed under GNU GPL v2 For bug reports, read http://openocd.berlios.de/doc/doxygen/bugs.html Info : only one transport option; autoselect 'jtag' 1 kHz Info : clock speed 1 kHz Warn : There are no enabled taps. AUTO PROBING MIGHT NOT WORK!! -- Øyvind Harboe Can Zylin

Re: [Openocd-development] [PATCH] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-04-29 Thread Øyvind Harboe
So is this something that should be fixed or is this an inherent limitation of the parport driver? The parport drivers main purpose, IMHO, is to act as reference code for the bitbang driver. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434

Re: [Openocd-development] [PATCH] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-04-29 Thread Øyvind Harboe
On Fri, Apr 29, 2011 at 3:32 PM, Jonas Hoerberg jhorb...@sauer-danfoss.com wrote: On Friday, April 29, 2011 3:03 PM, Øyvind Harboe [mailto:oyvind.har...@zylin.com] wrote: So is this something that should be fixed or is this an inherent limitation of the parport driver? The parport drivers

Re: [Openocd-development] cortex_a :smp feature

2011-04-28 Thread Øyvind Harboe
and maintenance will be done it, which you should benefit from. Thanks for the good work! -- Ø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] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-04-28 Thread Øyvind Harboe
I haven't been able to test, but this does indeed seem like what we need. Testing anyone? Do we want to do away with adapter_speed as user visible command entirely? The error message should use adapter_khz instead of adapter_speed. -- Øyvind Harboe Can Zylin Consulting help on your project

Re: [Openocd-development] [PATCH] Correct very slow initialization steps and strange behaviour

2011-04-27 Thread Øyvind Harboe
to have *no* default speed and have it simply fail to enumerate the chain unless the scripts sets a jtag speed explicitly. -- Ø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] [PATCH] Correct very slow initialization steps and strange behaviour

2011-04-27 Thread Øyvind Harboe
all interfaces, then that would be my choice too. Patch anyone? -- Ø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] Correct very slow initialization steps and strange behaviour

2011-04-27 Thread Øyvind Harboe
be removed. Could you make those changes and post with a fresh subject? -- Ø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] Fix crash / exit() in cfi

2011-04-27 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 From 36d60ee6c8d3aa1865dac2378c481954ba402910 Mon Sep 17 00

[Openocd-development] sw breakpoints in flash

2011-04-26 Thread Øyvind Harboe
vendor specific???) flash patching hardware. What I don't like about this feature is that it would be target and perhaps even vendor specific. I like features that are general enough that they will get a lot of testing exposure and use -- Øyvind Harboe Can Zylin Consulting help on your

Re: [Openocd-development] [PATCH] buspirate: fix building on some OSes

2011-04-26 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] STM32F215RG tested OK, but 0x1FFFF7E0 is not for flash_sram size now

2011-04-26 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] sw breakpoints in flash

2011-04-26 Thread Øyvind Harboe
that Cortex-Mx defines that can be optionally supported? I.e. would this be a vendor specific feature? -- Ø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] sw breakpoints in flash

2011-04-26 Thread Øyvind Harboe
Like this one? http://www.segger.com/cms/jlink-flash-breakpoints.html Yep. :-) They say performance isn't a problem. Anyone want to put together a patch? -- Ø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] sw breakpoints in flash

2011-04-26 Thread Øyvind Harboe
On Tue, Apr 26, 2011 at 3:19 PM, Xiaofan Chen xiaof...@gmail.com wrote: On Tue, Apr 26, 2011 at 9:05 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: Like this one? http://www.segger.com/cms/jlink-flash-breakpoints.html Yep. :-) They say performance isn't a problem. Anyone want to put

Re: [Openocd-development] [PATCH] Correct very slow initialization steps and strange behaviour

2011-04-26 Thread Øyvind Harboe
something that the user *has to* set up for JTAG chain validation to work and do away with the entire concept of a default speed. Perhaps make 100kHz the default speed(invoked after interface init is completed) and delete code from driver _init() code to try to set up JTAG speed? -- Øyvind Harboe

Re: [Openocd-development] STM32F215RG tested OK, but 0x1FFFF7E0 is not for flash_sram size now

2011-04-24 Thread Øyvind Harboe
Looks OK to me. Any comments or 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

Re: [Openocd-development] [PATCH] buspirate: fix building on some OSes

2011-04-24 Thread Øyvind Harboe
://lists.berlios.de/mailman/listinfo/openocd-development -- Ø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] cortex_a :smp feature

2011-04-20 Thread Øyvind Harboe
that easter is coming up, I'll leave this patch to cool off for a while longer. Any further documentation (patch to openocd.texi would have been *great*) and testing would be most welcome! -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47

Re: [Openocd-development] RTOS Thread awareness patch : amd64 compilation error

2011-04-19 Thread Øyvind Harboe
Looks like a reasonable fix to me. 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

Re: [Openocd-development] cortex_a :smp feature

2011-04-19 Thread Øyvind Harboe
Hi Michel, thanks for the effort here! Could you write some documentation? I'd like to let these patches cool off and leave some time for feedback. -- Ø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] cortex_a :smp feature

2011-04-19 Thread Øyvind Harboe
Could you create a patch to openocd.texi? type make pdf = generates doc/openocd.pdf -- Ø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] LPC32XX Nand support

2011-04-19 Thread Øyvind Harboe
Merged. Thanks! ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] RTOS Thread awareness patch : amd64 compilation error

2011-04-19 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] Fix: Correctly exit function: ft2232_init when an error occurred

2011-04-18 Thread Øyvind Harboe
higher as it will be less effort and clearer what you really are changing. -- Ø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] Fix: Correctly exit function: ft2232_init when an error occurred

2011-04-18 Thread Øyvind Harboe
to ft2232 by someone who spends time on this driver before I commit it. The ft2232 is used by a lot users out there, so more speed and less haste is good here. Perhaps the patch is fine as is and someone will review it. Tip: you'll catch more bees with a drop of honey, than a gallon of bile. -- Øyvind

Re: [Openocd-development] Fix: Correctly exit function: ft2232_init when an error occurred

2011-04-18 Thread Øyvind Harboe
On Mon, Apr 18, 2011 at 11:30 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: Did you read the patch ? No. I'll leave it to others to work on the ft2232 driver. I should be a bit more precise here. I looked at it quickly and decided that it would be best to have this reviewed by someone who

Re: [Openocd-development] Fix: Correctly exit function: ft2232_init when an error occurred

2011-04-17 Thread Øyvind Harboe
have to present patches to the list in a clear fashion so that someone in the community will be willing to look at your patch. Then if there are others on the list that can confirm that this is a change we want to ft2232, then one of the maintainers will commit your patch in due time. -- Øyvind

[Openocd-development] Easter coming up

2011-04-17 Thread Øyvind Harboe
Easter is coming up, which means things might be a bit slower than usual w.r.t. reviewing and committing. -- Ø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] [PATCH] RTOS Thread awareness support wip

2011-04-15 Thread Øyvind Harboe
Merged. Thanks! Feedback testing, documentation, etc. would be the next steps... And patches! :-) eCos anyone? -- Ø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] partial support for dsp5680xx

2011-04-15 Thread Øyvind Harboe
to add a bit of context. 3. Check and propagate error values, e.g. dsp5680xx_ram_to_rom_block() is missing checks. 4. Perhaps some of the fn's should return void(i.e. can't fail). E.g. queuing commands to the jtag interface can't fail. -- Øyvind Harboe Can Zylin Consulting help on your project

Re: [Openocd-development] [PATCH] RTOS Thread awareness support wip

2011-04-14 Thread Øyvind Harboe
Any objections to merging? I'd like testing feedback on this patch that it does not break anything. If the -rtos option is not specified on the target, then there should be only trivial innocuous changes in code paths. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free

Re: [Openocd-development] [PATCH] RTOS Thread awareness support wip

2011-04-14 Thread Øyvind Harboe
patches for coding style changes? -- Ø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] To correctly close the JTAG adapter handle in any cases

2011-04-14 Thread Øyvind Harboe
Why don't you post a patch for fixing ft2232 init() fn so it cleans up after itself in the case of failure and post it as a patch? If other adapters have broken init() functions, I won't ask you to fix them. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980

Re: [Openocd-development] [doc] MIPS EJTAG Communication Demystified

2011-04-14 Thread Øyvind Harboe
If you look at the OpenOCD documentation, you'll find that Zach Welch did write up development documentation and that it's in git repository. Did you look at that? Your ejtag.txt would be a welcome addition to that documentation! -- Øyvind Harboe Can Zylin Consulting help on your project

Re: [Openocd-development] [doc] MIPS EJTAG Communication Demystified

2011-04-14 Thread Øyvind Harboe
On Thu, Apr 14, 2011 at 3:53 PM, Tomek CEDRO tomek.ce...@gmail.com wrote: On Thu, Apr 14, 2011 at 11:52 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: If you look at the OpenOCD documentation, you'll find that Zach Welch did write up development documentation and that it's in git repository

Re: [Openocd-development] LPC32XX Nand support

2011-04-14 Thread Øyvind Harboe
Any objections to merging? -- Ø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

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