On Sun, Mar 2, 2014 at 1:12 PM, Paul Fertser <fercer...@gmail.com> wrote:
>
> Regarding your patches, do I understand it right that you want to use
> proprietary library because you do not want to install WinUSB driver
> for your device because some proprietary "crossworks" can't use that
> adapter with WinUSB drivers? And so you either have to use the
> libftdi version of OpenOCD's ft2322 adapter driver or that d2xx
> version of the same old deprecated ft2232 driver, and you can't switch
> to "ftdi" driver at all?
>
> If this is really the case, wouldn't it be better and cleaner in the
> long run to employ libwdi and write a custom app that would
> temporarily switch WinUSB to the proprietary driver before starting
> crossworks and switch it back to WinUSB after it's finished?
I haven't tried this myself or even heard someone suggest it before, but I
think you could actually make use of another misfeature of Windows. I don't
know why or how but sometimes I have to reinstall the drivers for a device
when it's plugged into another port. I guess this depends on the driver inf
file because it only happens for some devices (typically my own virtual
com-port devices, which is highly annoying).
So with the right setup, it should be possible to have WinUSB installed for
the driver when it's plugged into one port, and the proprietary FTDI
drivers installed for the same device on another port. Switching
application thus only requires switching USB-ports for the dongle.
Considering the cost of FTDI adapters, I even think it's fair to require
people wanting to use proprietary tools to simply buy another one for that
purpose. I really don't think we should maintain the ft2232 driver any
longer. It *wants* to die.
/Andreas
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel