Re: [OpenOCD-devel] Crash using rbreak command that could impact on RTOS !

2013-06-17 Thread Vivien Giraud
On 17/06/2013 20:06, Manuel Borchers wrote: > Hi, > > Am Montag, den 17.06.2013, 10:23 +0200 schrieb Vivien Giraud: > >>> However, it should of course not crash. But I don't see any crash >>> here. What exact sequence of commands do you use? >> It's weird, I use rbreak 1 -> because I thought I had

Re: [OpenOCD-devel] faster way to do ir/dr scanning ?

2013-06-17 Thread Adrian Burns
Andreas, this is great.. some of these optimisations i have tried but some i havnt, so this gives me something to go on, i can try optimise my use of jtag_execute_queue(); some more. one other thing, as far as i see it in other targets, reg_cache is filled up with valid register values when a cpu

Re: [OpenOCD-devel] faster way to do ir/dr scanning ?

2013-06-17 Thread Andreas Fritiofson
On Mon, Jun 17, 2013 at 3:37 PM, Adrian Burns wrote: > hi, > a newbie here, > Hi! > using flyswatter2 and olimex arm debuggers > working with openocd 6.1 codebase > > in order to read back some registers i have to issue a number of ir/dr > scans to my tap chain and its working fine but im looki

[OpenOCD-devel] [PATCH]: 90ed918 drivers/jtag: usb_blaster add pin controls

2013-06-17 Thread gerrit
This is an automated email from Gerrit. Robert Jarzmik ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/1448 -- gerrit commit 90ed918a44874198e5938c0de271b1ad9f8f Author: Robert Jarzmik Date: Sun Jun 16 20:22:30 2013 +0200

Re: [OpenOCD-devel] Crash using rbreak command that could impact on RTOS !

2013-06-17 Thread Manuel Borchers
Hi, Am Montag, den 17.06.2013, 10:23 +0200 schrieb Vivien Giraud: > > > > However, it should of course not crash. But I don't see any crash > > here. What exact sequence of commands do you use? > It's weird, I use rbreak 1 -> because I thought I had to type rbreak > and the numbre of the breakpo

[OpenOCD-devel] faster way to do ir/dr scanning ?

2013-06-17 Thread Adrian Burns
hi, a newbie here, using flyswatter2 and olimex arm debuggers working with openocd 6.1 codebase in order to read back some registers i have to issue a number of ir/dr scans to my tap chain and its working fine but im looking at ways to speed it up if possible so im calling jtag_add_ir_scan() and

Re: [OpenOCD-devel] RTOS: Current thread error

2013-06-17 Thread Vivien Giraud
The problem is that GDB ask for current thread id before OpenOCD compute it. If we block it GDB won't let you connect to OpenOCD, IMO we have to let it like that and try to change the current thread when we upload .elf file. Vivien On 17/06/2013 10:45, Vivien Giraud wrote: > Hi everyone, > > I

[OpenOCD-devel] RTOS: Current thread error

2013-06-17 Thread Vivien Giraud
Hi everyone, I found where all my problem come from ! Each time I want to print the thread list in GDB I'v got a error because openOCD try to read at 0x0. After lots of reading and observations I found that GDB allways say that the last thread is the current one (using '*'). So, using traces, I fo

Re: [OpenOCD-devel] Crash using rbreak command that could impact on RTOS !

2013-06-17 Thread Vivien Giraud
On 12/06/2013 21:45, Andreas Fritiofson wrote: > On Wed, Jun 12, 2013 at 6:02 PM, Vivien Giraud > wrote: > > Hi all, > > I have a problem using OpenOCD, when I want to remove a breakpoint > with 'rbreak' command. > > > Are you talking about > (gdb) help rbre