Re: [Openocd-development] OpenOCD ticket 34 / usb_bulk_read failed

2011-07-20 Thread Jonas Hoerberg
> On Tuesday, July 19, 2011 4:15 PM, Simon Barner [bar...@gmx.de] wrote: > > Hi Jonas, > > > I can see one change that the referred commit introduced > > to the ARM-JTAG-EW driver. It is that a speed setting in > > the init script now actually is executed. Any such setting > > was previously sile

Re: [Openocd-development] OpenOCD ticket 34 / usb_bulk_read failed

2011-07-19 Thread Jonas Hoerberg
> OnMonday, July 18, 2011 8:33 PM, Simon Barner wrote: > > Hi, > > I just could track down the following OpenOCD bug > > > > to the following commit: > > mmitdiff;h

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

2011-05-05 Thread Jonas Hoerberg
On Wednesday, May 04, 2011 8:08 PM , Øyvind Harboe wrote: > On Wed, May 4, 2011 at 7:51 PM, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 04:17 Wed 04 May     , Ųyvind Harboe wrote: > >> > why do you want to set one the adapter is in auto adaptive mode by > >> > default > >> > no need to set a

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

2011-04-29 Thread Jonas Hoerberg
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 main purpose, IMHO, is to act as reference > code for the bitbang driver. I

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

2011-04-29 Thread Jonas Hoerberg
Test results: JTAGkey-Tiny (FT2232D): Works JTAGkey2 (FT2232H): Works Parport (Wiggler clone): Works as long as any calls to "parport_toggling_time" is done after the speed is set. It cannot be called before because the "parport_handle_parport_toggling_time_command" function calls "jtag_get_speed

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

2011-04-28 Thread Jonas Hoerberg
On Thursday, April 28, 2011 12:38 PM, Øyvind Harboe [mailto:oyvind.har...@zylin.com] wrote: > > 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 messag

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

2011-04-28 Thread Jonas Hoerberg
Note: completely untested --- Signed-off-by: Jonas Hörberg --- src/jtag/core.c | 15 +++ src/jtag/drivers/amt_jtagaccel.c |6 -- src/jtag/drivers/ft2232.c|6 -- src/jtag/drivers/gw16012.c |5 - src/jtag/drivers/jlink.c |5

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

2011-04-27 Thread Jonas Hoerberg
On Wednesday, April 27, 2011 12:58 PM, Øyvind Harboe [mailto:oyvind.har...@zylin.com] wrote: > > > Hi, > > > > I created such a patch a while ago. > > See > > https://lists.berlios.de/pipermail/openocd-development/2010- > December/0 > > 17469.html > > I like it. > > It needs to invoke the call t

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

2011-04-27 Thread Jonas Hoerberg
On Wed, Apr 27, 2011 at 10:08 AM, Øyvind Harboe wrote: > > On Wed, Apr 27, 2011 at 12:02 PM, Michael Schwingen > wrote: > > Am 04/27/2011 11:50 AM, schrieb Tomek CEDRO: > >> Hello :-) I think default-low-speed is safer choice for unaware users > >> or developers simply reading out idcode.. also

Re: [Openocd-development] [PATCH] jtag: getting the JTAG speed can fail

2010-12-07 Thread Jonas Hoerberg
> From: Øyvind Harboe > > The error is propogated to the point that openocd exits with the error >> message. > > So, if I have not missunderstand  something, I think the desired end > > effect is already reached. > > I'm not quite sure what you mean. jtag_get_speed() doesn't propagate > errors tod

Re: [Openocd-development] [PATCH] jtag: getting the JTAG speed can fail

2010-12-07 Thread Jonas Hoerberg
> -Original Message- > From: Øyvind Harboe [mailto:oyvind.har...@zylin.com] > The patch doesn't actually do anything other than add propagation of error, > which needs to be in place at some point down the line. > > It's basically a big no-op patch so that the next patch that *does* someth

Re: [Openocd-development] [PATCH] jtag: getting the JTAG speed can fail

2010-12-07 Thread Jonas Hoerberg
> -Original Message- > From: openocd-development-boun...@lists.berlios.de [mailto:openocd- > development-boun...@lists.berlios.de] On Behalf Of Øyvind Harboe > Sent: Monday, December 06, 2010 10:30 PM > To: openocd-development@lists.berlios.de > Subject: [Openocd-development] [PATCH] jtag: