On Thu, Jul 1, 2010 at 10:27 AM, Xiaofan Chen <[email protected]> wrote:
> There might be incompatibilities between the libftdi version and
> the libusb-win32 version. I need to carry out some investigation
> myself to see if the 1.1.14.3 version is compatible with the
> libftdi.dll from Freddie (libftdi-0.17). If not, probably I will
> post a new libftdi.dll myself (probably libftdi-0.18).
I just tried out Freddie's openocd 0.4.0 binary with
the release 1.1.14.3 driver/dll and it seems to work
fine. I am using the filter driver and tested under Vista 32bit.
This means I am still using the FTDI driver but with libusb0.sys
as the filter driver on top of the FTDI driver.
C:\Program Files\OpenOCD\0.4.0\bin>openocd.exe -f board\ek-lm3s1968.cfg
Open On-Chip Debugger 0.4.0 (2010-02-22-19:05)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
3000 kHz
jtag_nsrst_delay: 100
srst_only separate srst_gates_jtag srst_open_drain
Info : clock speed 3000 kHz
Info : JTAG tap: lm3s1968.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0x
ba00, ver: 0x3)
Info : lm3s1968.cpu: hardware has 6 breakpoints, 4 watchpoints
You may want to give it a try. Install back the FTDI driver from
your vendor. Then install libusb-win32 filter driver 1.1.14.3 from
Sourceforge. Then run the test program and it should show
something like following (mine is the EK-LM3S1968 board).
In general, I would not recommend the filter driver for normal
users, but in this case, you may want to give it a try. We have
made quite some improvement on the filter driver so that now
it works under Vista and Win 7 as well (but still it is not
compatible with some USB device).
DLL version: 1.1.14.3
Driver version: 1.1.14.3
bus/device idVendor/idProduct
bus-0/\\.\libusb0-0002--0x0403-0xbcd9 0403/BCD9
- Manufacturer : LMI
- Product : Stellaris Evaluation Board
- Serial Number: 070200A1
wTotalLength: 55
bNumInterfaces: 2
bConfigurationValue: 1
iConfiguration: 0
bmAttributes: 80h
MaxPower: 250
bInterfaceNumber: 0
bAlternateSetting: 0
bNumEndpoints: 2
bInterfaceClass: 255
bInterfaceSubClass: 255
bInterfaceProtocol: 255
iInterface: 2
bEndpointAddress: 81h
bmAttributes: 02h
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
bEndpointAddress: 02h
bmAttributes: 02h
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
bInterfaceNumber: 1
bAlternateSetting: 0
bNumEndpoints: 2
bInterfaceClass: 255
bInterfaceSubClass: 255
bInterfaceProtocol: 255
iInterface: 2
bEndpointAddress: 83h
bmAttributes: 02h
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
bEndpointAddress: 04h
bmAttributes: 02h
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
--
Xiaofan http://sourceforge.net/projects/libusb-win32/
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development