Re: [Openocd-development] Event gdb-attach is called two times in a row on GDB attach

2010-10-26 Thread Drasko DRASKOVIC
On Mon, Oct 25, 2010 at 8:47 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: I am using openocd-0.4.0. Try the HEAD of the master branch. I can not, as I am creating patch for local use based on stable release. ___ Openocd-development mailing list

Re: [Openocd-development] Event gdb-attach is called two times in a row on GDB attach

2010-10-26 Thread Øyvind Harboe
On Tue, Oct 26, 2010 at 10:34 AM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: On Mon, Oct 25, 2010 at 8:47 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: I am using openocd-0.4.0. Try the HEAD of the master branch. I can not, as I am creating patch for local use based on stable

Re: [Openocd-development] Event gdb-attach is called two times in a row on GDB attach

2010-10-26 Thread Drasko DRASKOVIC
On Tue, Oct 26, 2010 at 10:44 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: On Tue, Oct 26, 2010 at 10:34 AM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: On Mon, Oct 25, 2010 at 8:47 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: I am using openocd-0.4.0. Try the HEAD of the

Re: [Openocd-development] Event gdb-attach is called two times in a row on GDB attach

2010-10-26 Thread Øyvind Harboe
On Tue, Oct 26, 2010 at 10:55 AM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: On Tue, Oct 26, 2010 at 10:44 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: On Tue, Oct 26, 2010 at 10:34 AM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: On Mon, Oct 25, 2010 at 8:47 PM, Øyvind

Re: [Openocd-development] Event gdb-attach is called two times in a row on GDB attach

2010-10-26 Thread Drasko DRASKOVIC
On Tue, Oct 26, 2010 at 11:02 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: On Tue, Oct 26, 2010 at 10:55 AM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: On Tue, Oct 26, 2010 at 10:44 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: On Tue, Oct 26, 2010 at 10:34 AM, Drasko

Re: [Openocd-development] Event gdb-attach is called two times in a row on GDB attach

2010-10-26 Thread Laurent Gauch
On Tue, Oct 26, 2010 at 11:02 AM, Øyvind Harboe oyvind.harboe at zylin.com https://lists.berlios.de/mailman/listinfo/openocd-development wrote: / On Tue, Oct 26, 2010 at 10:55 AM, Drasko DRASKOVIC // drasko.draskovic at gmail.com https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] Event gdb-attach is called two times in a row on GDB attach

2010-10-26 Thread Peter Stuge
Drasko DRASKOVIC wrote: git rebase really makes working on top of the master branch simple in most cases, .. OK, I'll see about this. But I am convinced that it will be more easier for the most of the people to apply patch 6 months from now on a stable release, than to clone dev branches,

Re: [Openocd-development] Event gdb-attach is called two times in a row on GDB attach

2010-10-26 Thread Øyvind Harboe
[...] it is a very good idea to always use as recent versions as possible. If nothing else, than because there is a chance that someone would be interested in helping you in the community. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00

[Openocd-development] Printing on the GDB Server Output

2010-10-26 Thread Nived
Hi, This may be an unreasonable idea which i am thinking of because i am not aware of the architecture of openocd. But i was wondering if it is possible to plug in statements in the program that could output to the gdb server output. Or in other words say a printf on the remote device would print

Re: [Openocd-development] Printing on the GDB Server Output

2010-10-26 Thread Øyvind Harboe
This is supported by OpenOCD already. Read up on DCC in the manual and look at the DCC stuff in the source code of OpenOCD. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash

Re: [Openocd-development] Printing on the GDB Server Output

2010-10-26 Thread Igor Skochinsky
Semihosting might be simpler to use (and AFAIK it's supported too). On Tue, Oct 26, 2010 at 17:31, Øyvind Harboe oyvind.har...@zylin.com wrote: This is supported by OpenOCD already. Read up on DCC in the manual and look at the DCC stuff in the source code of OpenOCD. -- Øyvind Harboe

[Openocd-development] olimex-jtag-tiny and pxa270

2010-10-26 Thread Oleg Kravchenko
What i do wrong? :) Help please! # cat /usr/share/openocd/scripts/interface/olimex-jtag-tiny.cfg /usr/share/openocd/scripts/target/pxa270.cfg openocd.cfg # openocd Open On-Chip Debugger 0.5.0-dev-00557-ged7 (2010-10-25-01:15) Licensed under GNU GPL v2 For bug reports, read

Re: [Openocd-development] olimex-jtag-tiny and pxa270

2010-10-26 Thread Nived
Hi, Error: pxa270.cpu: IR capture error; saw 0x7f not 0x01 This happens when your configuration file has a wrong newtap value. This is what my file reads and i used the file that came with OpenOcd. jtag newtap $_CHIPNAME cpu -irlen 7 -ircapture 0x1 -irmask 0x7f -expected-id