libftdi Archives

Subject: libftdi eeprom-new git branch MinGW 32bit snapshots for testing only

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Sun, 26 Sep 2010 11:31:46 +0800
http://code.google.com/p/picusb/downloads/list
libftdi-1.0_eeprom_24Sept2010_mingw32.zip

For testing only. It should work under both 32bit and 64bit Windows.
The header ftdi.h, static and import library, examples are all included.
It also includes the MinGW 32bit binary snapshots of libusb-1.0
Windows backend dated 21-Sept-2010 as well.
http://www.libusb.org/wiki/windows_backend

The build is under MinGW.org 32bit compiler under Windows. Cross-build
under Linux is probably easier.
http://libusb.6.n5.nabble.com/Win-libusb-1-0-snapshots-no-longer-work-with-cross-compiling-of-libftdi-1-0-td2262878i20.html#a2473199

To be able to run this, you have to switch the stock FTDI driver to
WinUSB driver. You can easily do that with Zadig form libwdi.
http://www.libusb.org/wiki/windows_backend

In the future, once the libusb0.sys backend is integrated to
the libusb-1.0 Windows backend, then you can probably keep
the FTDI driver but add a per-interface libusb-win32 filter
(to be released in the next release 1.2.2.0 which is due in
a few days).

Example run for the TI/Luminary EK-LM3S1968's on board FT2232D.
The result is the same as under Linux.

D:\work\libftdi\mypicusb\libftdi-1.0_eeprom_24Sept2010_mingw32\bin>eeprom
-v 0x0403 -p 0xbcd9
Chip type 2 ftdi_eeprom_size: 128
0x000: 11 08 03 04 d9 bc 00 05  80 fa 18 00 00 02 96 08 ........ ........
0x010: 9e 36 d4 12 46 00 08 03  4c 00 4d 00 49 00 36 03 .6..F... L.M.I.6.
0x020: 53 00 74 00 65 00 6c 00  6c 00 61 00 72 00 69 00 S.t.e.l. l.a.r.i.
0x030: 73 00 20 00 45 00 76 00  61 00 6c 00 75 00 61 00 s. .E.v. a.l.u.a.
0x040: 74 00 69 00 6f 00 6e 00  20 00 42 00 6f 00 61 00 t.i.o.n.  .B.o.a.
0x050: 72 00 64 00 12 03 30 00  37 00 30 00 32 00 30 00 r.d...0. 7.0.2.0.
0x060: 30 00 41 00 31 00 02 03  00 00 a1 00 02 07 00 00 0.A.1... ........
0x070: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 db d6 ........ ........
EEPROM byte[0x0a] Bit 4 unexpected set. If this happened with the EEPROM
programmed by FTDI tools, please report to libftdi@xxxxxxxxxxxxxxxxxxxxxxx
VID:     0x0403
PID:     0xbcd9
Release: 0x0500
Bus Powered: 500 mA
Manufacturer: LMI
Product:      Stellaris Evaluation Board
Serial:       070200A1
Checksum      : d6db
Attached EEPROM: 93x46
PNP: 1
Channel A has Mode 245 High Current IO
Channel B has Mode UART VCP

-- 
Xiaofan

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread