On Thu, 2009-07-09 at 22:51 +0800, Xiaofan Chen wrote: > Another issue with the TODO file. > > >@subsection thelistjtaginterfaces JTAG Interfaces > > > >The following tasks have been suggeted for improving OpenOCD's JTAG > >interface support: > > > >- rework USB communication to be more robust. Two possible options are: > > -# use libusb-1.0.1 with libusb-compat-0.1.1 (non-blocking I/O wrapper) > > -# rewrite implementation to use non-blocking I/O > > I agree with the 2nd part (to use non-blocking I/O). I believe the > first one is wrong. If you use libusb-compat-0.1, it would not help > too much as it is still using the synchronous API of libusb-0.1. > There may be some slight speed difference but you would not > gain too much.
Has anyone tried this to measure the performance difference? > Instead, the above should have been. > - rework USB communication to be more robust. One possible option is: > -# use libusb-1.0 and asynchronous I/O. This will work for the operating > systems which support libusb 1.0 (currently Linux and Mac OS X). > -# use libusb-win32 0.1 asynchronous I/O under Windows So, there are really two projects. libusb != libusb-win32. This is a serious problem for the free software community; it's forked itself. That is a serious _bug_ by design; their maintainers need to be spanked and then made to work out their differences. --Z _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development