[Openocd-development] SVN Rev. 951

2008-08-20 Thread Daniel Gimpelevich
On Tue, 19 Aug 2008 02:41:56 +, Daniel Gimpelevich wrote: > Hello. Before I get into the subject of my message, let me mention the > following mini-patch: > [snip patch] > > I don't actually have such an adapter, but they currently seem to be the > cheapest reasonably-made Wigglers sold in t

Re: [Openocd-development] should validation of jtag chain be compulsory?

2008-08-20 Thread Alan Carvalho de Assis
Hi Oyvind, 2008/8/20 Øyvind Harboe <[EMAIL PROTECTED]>: > On Wed, Aug 20, 2008 at 7:43 PM, Alan Carvalho de Assis > <[EMAIL PROTECTED]> wrote: >> This is the way that SEGGER J-Link does to iMX31 currently. > > Is SEGGER J-Link software linked with OpenOCD ? > > I.e. is there any GPL code there tha

Re: [Openocd-development] should validation of jtag chain be compulsory?

2008-08-20 Thread Øyvind Harboe
On Wed, Aug 20, 2008 at 7:43 PM, Alan Carvalho de Assis <[EMAIL PROTECTED]> wrote: > This is the way that SEGGER J-Link does to iMX31 currently. Is SEGGER J-Link software linked with OpenOCD ? I.e. is there any GPL code there that we can use`? Note that it doesn't matter whether or not the code

Re: [Openocd-development] should validation of jtag chain be compulsory?

2008-08-20 Thread Alan Carvalho de Assis
This is the way that SEGGER J-Link does to iMX31 currently. Best Regards, Alan 2008/8/20 Øyvind Harboe <[EMAIL PROTECTED]>: > I've committed the change. > > I figure it might give us some better feedback from problems w/devices and > it does not change the behaviour for the case where the device

Re: [Openocd-development] GDB/Telnet doesn't open when ignoring the IR mismatch code of iMX31 processor

2008-08-20 Thread Alan Carvalho de Assis
Hi Valentin, 2008/8/20 Valentin Longchamp <[EMAIL PROTECTED]>: > Hi all, > sic > Here is the beginning of the log I get with using the gdbinit script > Alan sent me for i.MX31 > > Open On-Chip Debugger 1.0 (2008-08-19-20:07) svn:946M > $URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $ > jt

[Openocd-development] Cortex fix for gdb timeout handling + error propagation

2008-08-20 Thread Øyvind Harboe
Committed. issuing "reset init" w/500kHz target would causee GDB timeout problems. Any comments? -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash programmer Index: C:/workspace/openocd/src/target/cortex_swjdp.c ===

Re: [Openocd-development] should validation of jtag chain be compulsory?

2008-08-20 Thread Øyvind Harboe
I've committed the change. I figure it might give us some better feedback from problems w/devices and it does not change the behaviour for the case where the device is working as expected. -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash progra

Re: [Openocd-development] should validation of jtag chain be compulsory?

2008-08-20 Thread Øyvind Harboe
On Wed, Aug 20, 2008 at 1:15 PM, Duane Ellis <[EMAIL PROTECTED]> wrote: > Øyvind Harboe wrote: >> >> Is it a good or bad idea to continue startup if validation of the jtag >> chain fails? >> > > Hmmm - do you mean OpenOCD should exit if the chain fails validation? That's what it does today. It fai

Re: [Openocd-development] should validation of jtag chain be compulsory?

2008-08-20 Thread Duane Ellis
Øyvind Harboe wrote: > Is it a good or bad idea to continue startup if validation of the jtag > chain fails? > Hmmm - do you mean OpenOCD should exit if the chain fails validation? Of course with some type of big clear message why it is exiting. -Duane.

Re: [Openocd-development] [PATCH] jim - NVP additions -

2008-08-20 Thread Duane Ellis
duane> [ nvp patch ] Spen> Hi this breaks native win32 due to vasprintf not being available. Spen> i notice that the Jim_SetResult_sprintf function has a #if 0, That is what I suspected... and hence my pre-positioning #if 0 there. What it needs is a "./configure" option of some sort - problem w

[Openocd-development] Adding new cable to openocd

2008-08-20 Thread Bart Bilos
Hello all, Well I have gotten a bit further and discovered the problem. It when moving from state with TMS, not all bits should be used. In my case the move TMS of 0x7F was the culprit, the last 0 was shifted out while that was invalid, shifting all the IDcodes of the chips by one. Why do you have

[Openocd-development] should validation of jtag chain be compulsory?

2008-08-20 Thread Øyvind Harboe
Is it a good or bad idea to continue startup if validation of the jtag chain fails? This is in reference to problems with validating the iMX31 chain. https://lists.berlios.de/pipermail/openocd-development/2008-August/002919.html As far as I can tell, validation does not change the state of Ope

Re: [Openocd-development] [PATCH] jim - NVP additions -

2008-08-20 Thread Spen
> > that was the problem the last time - SVN DIFF does not > include new files that one adds. > > oh well ... attached. > Hi this breaks native win32 due to vasprintf not being available. i notice that the Jim_SetResult_sprintf function has a #if 0, if the code is to stay as is then we will h

Re: [Openocd-development] Feroceon Revisited

2008-08-20 Thread Øyvind Harboe
Committed. Thanks! -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-

Re: [Openocd-development] GDB/Telnet doesn't open when ignoring the IR mismatch code of iMX31 processor

2008-08-20 Thread Øyvind Harboe
On Wed, Aug 20, 2008 at 9:03 AM, Valentin Longchamp <[EMAIL PROTECTED]> wrote: > Hi all, > > On Tue, Aug 19, 2008 at 3:56 PM, Øyvind Harboe <[EMAIL PROTECTED]> wrote: >> I've committed this patch, even if it is work in progress, as >> there are also other changes to jtag.c going on at this time >>

Re: [Openocd-development] BUG: keep_alive()

2008-08-20 Thread Øyvind Harboe
Committed. -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-develo

Re: [Openocd-development] GDB/Telnet doesn't open when ignoring the IR mismatch code of iMX31 processor

2008-08-20 Thread Valentin Longchamp
Hi all, On Tue, Aug 19, 2008 at 3:56 PM, Øyvind Harboe <[EMAIL PROTECTED]> wrote: > I've committed this patch, even if it is work in progress, as > there are also other changes to jtag.c going on at this time > and synchronizing work takes priority. > I have given it a try, I cann connect with gd