Re: [OpenOCD-devel] [PATCH]: 06542c5 [EXPERIMENTAL][RFC] Handle Tcl return values consistently

2013-11-25 Thread Paul Fertser
On Tue, Nov 26, 2013 at 10:31:04AM +0800, Antonio Borneo wrote: > while I agree on such development, a single patch with ~800 > modifications is difficult to review and handle. > Do you think possible to split it in a sequence of few patches? Sure, possible and reasonable. But I need to be sure th

Re: [OpenOCD-devel] [PATCH]: 06542c5 [EXPERIMENTAL][RFC] Handle Tcl return values consistently

2013-11-25 Thread Antonio Borneo
On Mon, Nov 25, 2013 at 4:06 PM, wrote: > This is an automated email from Gerrit. > > Paul Fertser (fercer...@gmail.com) just uploaded a new patch set to Gerrit, > which you can find at http://openocd.zylin.com/1815 Hi Paul, while I agree on such development, a single patch with ~800 modificat

Re: [OpenOCD-devel] using multiple Versaloon JTAG dongles at the same time

2013-11-25 Thread Andreas Fritiofson
On Mon, Nov 25, 2013 at 4:42 PM, Ram Bhamidipaty wrote: > > I have several Versaloon JTAG dongles. I would like to use them at the > same time - in my case I want to run regression tests across several > hardware platforms. > > Is there a way to do this? > > If the answer is no - what kinds of ch

[OpenOCD-devel] [PATCH]: 2fb17fd versaloon: Finish support for serial number matching

2013-11-25 Thread gerrit
This is an automated email from Gerrit. Andreas Fritiofson (andreas.fritiof...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/1816 -- gerrit commit 2fb17fdb791718539d8c56bdeea2f5d7b8e6af4d Author: Andreas Fritiofson Date: Mon Nov 25 23:50:3

Re: [OpenOCD-devel] Debugging an arm920t target with MMU and caches enabled is a PITA

2013-11-25 Thread Drasko DRASKOVIC
On Mon, Nov 25, 2013 at 11:04 PM, Andreas Fritiofson wrote: > > > > On Mon, Nov 25, 2013 at 11:04 AM, Paul Fertser wrote: >> >> Hi again, >> >> Since I'm still unaware of any better way to report bugs for OpenOCD, >> here it goes. >> >> Trying to debug Linux code on Samsung S3C2442 results in at

Re: [OpenOCD-devel] Debugging an arm920t target with MMU and caches enabled is a PITA

2013-11-25 Thread Andreas Fritiofson
On Mon, Nov 25, 2013 at 11:04 AM, Paul Fertser wrote: > Hi again, > > Since I'm still unaware of any better way to report bugs for OpenOCD, > here it goes. > > Trying to debug Linux code on Samsung S3C2442 results in at least > the following issues: > > 1. Software breakpoints crash execution. It

Re: [OpenOCD-devel] Default procedures for gdb-* hooks

2013-11-25 Thread Andreas Fritiofson
On Mon, Nov 25, 2013 at 11:00 AM, Paul Fertser wrote: > Hi, > > Would it make sense to add something like this to default > configuration? What are the objections? > Depends what you mean by default configuration. I guess this could be in a tcl file somewhere and explicitly sourced where approp

[OpenOCD-devel] using multiple Versaloon JTAG dongles at the same time

2013-11-25 Thread Ram Bhamidipaty
I have several Versaloon JTAG dongles. I would like to use them at the same time - in my case I want to run regression tests across several hardware platforms. Is there a way to do this? If the answer is no - what kinds of changes would be needed? I thought that adding something simple like addi

[OpenOCD-devel] Transcript of SWO features discussion with karlp

2013-11-25 Thread Paul Fertser
Hi, Karl Palsson was digging this topic extensively (down to the usb level traces) lately so I think OpenOCD community can benefit from his opinion. He implemented a standalone tool to talk to stlink that allows to turn on/off different stimuli interactively and draws a real-time plot. < karlp> b

[OpenOCD-devel] Debugging an arm920t target with MMU and caches enabled is a PITA

2013-11-25 Thread Paul Fertser
Hi again, Since I'm still unaware of any better way to report bugs for OpenOCD, here it goes. Trying to debug Linux code on Samsung S3C2442 results in at least the following issues: 1. Software breakpoints crash execution. It's impossible to continue once you stop on one (Linux reports Oops unde

[OpenOCD-devel] Default procedures for gdb-* hooks

2013-11-25 Thread Paul Fertser
Hi, Would it make sense to add something like this to default configuration? What are the objections? $_TARGETNAME configure -event gdb-attach { halt wait_halt } $_TARGETNAME configure -event gdb-flash-erase-start { reset init } $_TARGETNAME configure -event gdb-flash-write-end {

Re: [OpenOCD-devel] SRST is pulled twice, breaking assumptions and some targets; other reset issues

2013-11-25 Thread Paul Fertser
Bumping the thread, adding new thoughts. On Tue, Oct 15, 2013 at 12:29:48PM +0400, Paul Fertser wrote: > As Freddie Chopin already reported, dual-core LPC microcontrollers > do not work properly. It was also discussed on IRC with some user I do > not remember the name of. > > First time SRST is p

Re: [OpenOCD-devel] TCL API inconsistency: problem getting results back

2013-11-25 Thread Paul Fertser
Hi, On Fri, Nov 01, 2013 at 07:29:18PM +0100, Andreas Fritiofson wrote: > What's the difference between log output and return values? Why should any > command output what could be the return value through the log facility? One of > the main problems with the telnet interface is the lack of sane re