Re: [Openocd-development] Profiling OpenOCD performance

2011-07-16 Thread Xiaofan Chen
On Sun, Jul 17, 2011 at 9:05 AM, Xiaofan Chen wrote: > https://lists.berlios.de/pipermail/openocd-development/2010-October/016725.html > Øyvind Harboe wrote on Tue Oct 19 2010, >> As a start for debugging delay issues, type "help jtag_flush_queue_sleep". >> >> Plot the performance of 0, 10 and 100

[Openocd-development] Profiling OpenOCD performance

2011-07-16 Thread Xiaofan Chen
https://lists.berlios.de/pipermail/openocd-development/2010-October/016725.html Øyvind Harboe wrote on Tue Oct 19 2010, > As a start for debugging delay issues, type "help jtag_flush_queue_sleep". > > Plot the performance of 0, 10 and 100ms of an operation. It should allow > you to guestimate how m

Re: [Openocd-development] OpenOCD libftdi and ftd2xx benchmark

2011-07-16 Thread Xiaofan Chen
On Sat, Jul 16, 2011 at 8:58 AM, Xiaofan Chen wrote: >> For the USB 2.0 Jtagkey2, using the WHQL driver and ftd2xx is >> only about 5% faster than using libftdi and libusb-win32 filter driver >> on top of the WHQL driver. >> >> jtag_khz = 1200 KHz, 11.826 KiB/s (ftd2xx) versus 11.296 KiB/s >> (lib

Re: [Openocd-development] OpenOCD libftdi and ftd2xx benchmark

2011-07-16 Thread Xiaofan Chen
On Sat, Jul 16, 2011 at 10:55 AM, Xiaofan Chen wrote: > On Sat, Jul 16, 2011 at 10:31 AM, Xiaofan Chen wrote: > >> Actually the result is pretty close for the LPC-P2148 based test. >> jtag_khz = 1500 KHz, 38.927 KiB/s (ftd2xx) versus 38.754 KiB/s. >> > > The above is for Amontec JtagKey2 which is

Re: [Openocd-development] OpenOCD libftdi and ftd2xx benchmark

2011-07-16 Thread Xiaofan Chen
On Sat, Jul 16, 2011 at 1:21 PM, Peter Stuge wrote: >> I did some tests for libftdi-1.0 last time and it did not >> offer any speed improvement for OpenOCD since OpenOCD >> has not taken the advantage of the libftdi-1.0 async API. > > Yes, I also don't expect speed advantages without rewrite, but

Re: [Openocd-development] OpenOCD libftdi and ftd2xx benchmark

2011-07-16 Thread Xiaofan Chen
On Sat, Jul 16, 2011 at 7:46 PM, Uwe Bonnes wrote: > B.t.w. a question to those working with WinUSB: > > Is it possible to map the calls to winusb.dll to libusb at all? How much > work will be involved? The reason why I ask: If we can map all calls to > winusb to libusb, a replacement dll can be w

Re: [Openocd-development] OpenOCD libftdi and ftd2xx benchmark

2011-07-16 Thread Uwe Bonnes
> "Xiaofan" == Xiaofan Chen writes: Xiaofan> On Sat, Jul 16, 2011 at 12:23 AM, Uwe Bonnes ... Xiaofan> future but the change may require quite a bit of work. Now that Xiaofan> both you (the current main driver of libftdi-1.0 and developer Xiaofan> of xc3sprog) and Jie Zhang (o