On Sun, Jun 23, 2013 at 4:34 AM, Paul Fertser <[email protected]> wrote:
> Hi Freddie,
>
> Today my coworker called me complaining he can't use OpenOCD on his
> Windows XP (yeah, lame!) with an Olimex adapter.

So you are talking about the Windows binary provided by Freddie,
right?

> In the end it appeared he was confused by all the possible driver
> options (and I can easily see it happening with the other regular
> users too).

Once you use Zadig, there will be less confusion.

> So my untested proposal for the future windows OpenOCD releases is to:
>
> 1. Remove all libusb-win32 files from the distribution archive;
>
> 2. Compile OpenOCD using libusb-compat for those drivers that are not
> ported to libusb-1.x or the common layer yet;

Take note there is no libusb-compat under Windows, only
libusb-win32.

> 3. State in the drivers readme that if one is using stlink and has
> vendor's drivers installed he doesn't need anything extra;

I believe that is for ST-Link V2 only.

> 4. Rephrase the Zadig installation instructions a bit to make it more
> clear for the non-native speakers that WinUSB driver _must_ be used
> for all the USB adapters (and either do not mention libusb-win32 at
> all or prohibit installing it :) )
>
> What do you think?

You still can not use WinUSB for those who want to use
libusb-0.1/libusb-win32.

An option is to use libusbK driver (Zadig supports WinUSB,
libusbK and libusb-win32 device driver) which will work for
both libusb-win32 and libusb-1.0/libusbx.

BTW, a good news is that libusb/libusbx will be merging
again. Peter Stuge is too busy so that Nathan takes over
the libusb project and now libusb/libusbx will merge again.
This should remove some confusions.

http://libusb.6.n5.nabble.com/libusb-and-libusbx-merging-td5712044.html

-- 
Xiaofan

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to