Re: [Openocd-development] [PATCH 0/7] RLink interface speedup, and fixes

2011-07-24 Thread Peter Horn
Am 22.07.2011 20:02, schrieb Andreas Fritiofson: Your RLink reports the same firmware version as my STM32Primer does. If that means they are identical, I should be able to reproduce, but I can't. Maybe it depends on the version of libusb? I'm using OpenSuse 11.4. Here's what the package

Re: [Openocd-development] [PATCH 0/7] RLink interface speedup, and fixes

2011-07-24 Thread Peter Horn
Am 22.07.2011 15:10, schrieb Tomek CEDRO: On Fri, Jul 22, 2011 at 9:59 AM, Peter Hornpeter.h...@bluewin.ch wrote: Besides the RLink I also have an Olimex ARM-USB-OCD adpater. On Windows, stepping with the Olimex is considerably faster than with the RLink. On Linux both adapters are on par. I'm

Re: [Openocd-development] [PATCH 0/7] RLink interface speedup, and fixes

2011-07-24 Thread Spencer Oliver
On Jul 24, 2011 8:54 PM, Peter Horn peter.h...@bluewin.ch wrote: Hi Tomek Without taking exact measurements, my impression is that the RLink performs about the same with RIDE on Windows and OpenOCD on Linux. FWIW RLink uses the Jungo driver on Windows. Just for info - Jungo is used on winxp

Re: [Openocd-development] [PATCH 0/7] RLink interface speedup, and fixes

2011-07-22 Thread Andreas Fritiofson
On Fri, Jul 22, 2011 at 12:29 AM, Peter Horn peter.h...@bluewin.ch wrote: Am 19.07.2011 22:43, schrieb Peter Horn: Last time I've used OpenOCD with RLink stepping was awfully slow, about 3 seconds or more per step. This was some weeks ago and on Windows / Mingw. On Linux, stepping is

Re: [Openocd-development] [PATCH 0/7] RLink interface speedup, and fixes

2011-07-22 Thread Peter Horn
Am 22.07.2011 11:42, schrieb Andreas Fritiofson: Stepping is still slow on Windows. Stepping speed is not affected much by these patches since it depends largely on latency, not throughput. These patches fixes a throughput problem. Cortex-M3 stepping is really dependent on latency because,

Re: [Openocd-development] [PATCH 0/7] RLink interface speedup, and fixes

2011-07-22 Thread Andreas Fritiofson
On Fri, Jul 22, 2011 at 11:59 AM, Peter Horn peter.h...@bluewin.ch wrote: Patches 1/7 to 4/7 work ok, the problem is caused by patch 5/7 On Windows using the embedded RLink, OpenOCD: Open On-Chip Debugger 0.5.0-dev-snapshot (2011-07-21-07:10) Licensed under GNU GPL v2

Re: [Openocd-development] [PATCH 0/7] RLink interface speedup, and fixes

2011-07-22 Thread Peter Horn
Am 22.07.2011 13:36, schrieb Andreas Fritiofson: I don't see how this error could be caused by my patches. If I'm not mistaken, none of them have run at this point. It fails during init, and that code is unchanged with the exception of some indentation fixes and AFAICT they're OK. Can you

Re: [Openocd-development] [PATCH 0/7] RLink interface speedup, and fixes

2011-07-22 Thread Tomek CEDRO
On Fri, Jul 22, 2011 at 9:59 AM, Peter Horn peter.h...@bluewin.ch wrote: Besides the RLink I also have an Olimex ARM-USB-OCD adpater. On Windows, stepping with the Olimex is considerably faster than with the RLink. On Linux both adapters are on par. I'm Using the same STM32 board and

Re: [Openocd-development] [PATCH 0/7] RLink interface speedup, and fixes

2011-07-22 Thread Andreas Fritiofson
On Fri, Jul 22, 2011 at 2:55 PM, Peter Horn peter.h...@bluewin.ch wrote: Am 22.07.2011 13:36, schrieb Andreas Fritiofson: I don't see how this error could be caused by my patches. If I'm not mistaken, none of them have run at this point. It fails during init, and that code is unchanged with

Re: [Openocd-development] [PATCH 0/7] RLink interface speedup, and fixes

2011-07-21 Thread Peter Horn
Am 19.07.2011 22:43, schrieb Peter Horn: Hi Andreas I have access to a standalone Rlink, an Olimex STM32-P103 board and a Raisonance REva STM32 connectivity board which has an onboard Rlink. I've applied your patches and built OpenOCD on Linux with success. A quick test revealed no problems

Re: [Openocd-development] [PATCH 0/7] RLink interface speedup, and fixes

2011-07-19 Thread Peter Horn
Hi Andreas I have access to a standalone Rlink, an Olimex STM32-P103 board and a Raisonance REva STM32 connectivity board which has an onboard Rlink. I've applied your patches and built OpenOCD on Linux with success. A quick test revealed no problems but the test program I've used is too

[Openocd-development] [PATCH 0/7] RLink interface speedup and fixes

2011-07-18 Thread Andreas Fritiofson
This patch set fixes some general problems in the RLink interface driver. Most importantly it fixes a performance bug that have been causing decreased throughput. Speed test on a STM32 Primer (STM32F103 platform with built in RLink) with the following openocd.cfg --- source [find

Re: [Openocd-development] [PATCH 0/7] RLink interface speedup and fixes

2011-07-18 Thread Tomek CEDRO
Hello Andreas! Do you know what is the difference between JTAG (on Stm32Primer) and SWD (on Stm32Primer2) RLink interface? Would they run on existing driver? Do you have some kind of manual or technical specification? Best regards! :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Re: [Openocd-development] [PATCH 0/7] RLink interface speedup and fixes

2011-07-18 Thread Spencer Oliver
On 18 July 2011 11:13, Andreas Fritiofson andreas.fritiof...@gmail.com wrote: This patch set fixes some general problems in the RLink interface driver. Most importantly it fixes a performance bug that have been causing decreased throughput. Speed test on a STM32 Primer (STM32F103 platform

Re: [Openocd-development] [PATCH 0/7] RLink interface speedup and fixes

2011-07-18 Thread Andreas Fritiofson
On Mon, Jul 18, 2011 at 4:03 PM, Spencer Oliver s...@spen-soft.co.ukwrote: On 18 July 2011 11:13, Andreas Fritiofson andreas.fritiof...@gmail.com wrote: This patch set fixes some general problems in the RLink interface driver. Most importantly it fixes a performance bug that have been

Re: [Openocd-development] [PATCH 0/7] RLink interface speedup and fixes

2011-07-18 Thread Andreas Fritiofson
On Mon, Jul 18, 2011 at 2:33 PM, Tomek CEDRO tomek.ce...@gmail.com wrote: Hello Andreas! Do you know what is the difference between JTAG (on Stm32Primer) and SWD (on Stm32Primer2) RLink interface? Would they run on existing driver? Do you have some kind of manual or technical specification?

Re: [Openocd-development] [PATCH 0/7] RLink interface speedup and fixes

2011-07-18 Thread Jean-Claude Repetto
Le 18/07/2011 16:25, Andreas Fritiofson a écrit : Yes it's best to put these on hold for 0.5.0. It needs some testing on the standalone RLink or other variants, I currently only have access to STM32 Primers. Also more thorough testing in general. Anyone feels like helping? Hello Andreas, I

Re: [Openocd-development] [PATCH 0/7] RLink interface speedup and fixes

2011-07-18 Thread Andreas Fritiofson
On Mon, Jul 18, 2011 at 4:59 PM, Jean-Claude Repetto jcr...@mxm.eu wrote: Le 18/07/2011 16:25, Andreas Fritiofson a écrit : Yes it's best to put these on hold for 0.5.0. It needs some testing on the standalone RLink or other variants, I currently only have access to STM32 Primers. Also more