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] libswd drivers question

2011-07-22 Thread Tomek CEDRO
On Thu, Jul 14, 2011 at 12:58 PM, Tomek CEDRO tomek.ce...@gmail.com wrote: (..) When I removed template drivers from libswd source tree so it can be linked with drivers already compiled and provided by openocd, there are some unresolved dependencies in libswd.la submodule. This is the only

Re: [Openocd-development] Problem with OpenOCD 0.5.0-rc1 and STM32 verify_image

2011-07-22 Thread Andreas Fritiofson
On Fri, Jul 22, 2011 at 4:57 PM, Freddie Chopin freddie_cho...@op.plwrote: On 2011-07-21 23:02, Andreas Fritiofson wrote: However I can't explain Freddie's reproduced failures. Maybe post the hex files (matching, slightly different and very different) and I can see if I can take a closer

Re: [Openocd-development] Problem with OpenOCD 0.5.0-rc1 and STM32 verify_image

2011-07-22 Thread Freddie Chopin
On 2011-07-22 17:30, Andreas Fritiofson wrote: According to objdump, the completely different hex file is located in RAM: Oops (; Indeed it is - I forgot that it's from a project I recently experimented on... Sorry for the mess (; So - I cannot confirm the issue, it works for me with 0.4.0

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] SRST TRST have to be buffered?

2011-07-22 Thread Andreas Fritiofson
On Fri, Jul 8, 2011 at 1:19 AM, Matthew Lai cyberf...@wecheer.com wrote: Hello! I'm trying to embed a FT2232D based programmer into my board with a STM32 (Cortex-M3 MCU). I want the programmer to be compatible with jtagkey, so I looked at schematics of compaible designs. I noticed that