Peter Henn wrote:
> A patched libusb allow me to setup also latency timer values of 0 for
> the FT2232H chip.

Please tell more about this patch?


> Here the updated and used patch for my measurements:
> --- a/src/jtag/drivers/mpsse.c
> +++ b/src/jtag/drivers/mpsse.c
> @@ -305,7 +305,7 @@
>         }
> 
>         err = libusb_control_transfer(ctx->usb_dev, FTDI_DEVICE_OUT_REQTYPE,
> -                       SIO_SET_LATENCY_TIMER_REQUEST, 255, ctx->index, NULL, 
> 0,
> +                       SIO_SET_LATENCY_TIMER_REQUEST, 2, ctx->index, NULL, 0,
>                         ctx->usb_write_timeout);
>         if (err < 0) {
>                 LOG_ERROR("unable to set latency timer: %d", err);

Do you suggest the above for inclusion to the mpsse.c code?


//Peter

------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to