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.

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



-- 
Xiaofan http://mcuee.blogspot.com
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to