On Tue, Jun 9, 2009 at 11:44 PM, Gene Smith<g...@chartertn.net> wrote: > I now get a successful build under cygwin. When I plug the jlink usb to > windows and run openocd I see the the "Cannot find jlink Interface!" > error as printed below. Do I need another special windows driver when > running jlink in cygwin? To build I only copied usb.h and libusb.a as > directed from libusb-win32 project. There is quite a bit of stuff in the > libusb-win32-device-bin.tar.gz that I haven't used. Should this be > installed?
If you are using XP, you can try the libusb-win32 filter driver (to work along with the Segger driver). If you are using Vista 32 bit, you'd better use the libusb-win32 device driver (to replace the default Segger driver). The filter driver is not recommended by the author any more. It can cause BSOD under Vista or cause other problems under Vista 32. I've tried OpenOCD under Vista 32bit with the libusb-win32 device driver for J-Link without any issue. If you are using Vista 64bit, you are out of luck as libusb-win32 does not work under Vista 64bit. To install the device driver, you need to use the INF wizard to create the INF file. Then under Device Manager, you can right click the J-link entry and choose "Update Driver". Point Windows to the extracted libusb-win32-device-bin directory (where the INF file is created). -- Xiaofan http://mcuee.blogspot.com _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development