Example Test Application for USB and FT2232 =========================================== License and warranty -------------------- You are licensed to use and modify this code for your purposes. All that is asked is that an accreditation is used for the original source of this code in your documentation. Hopefully any changes and improvements will be published by others. There is NO warranty of any sort with this software, so test throughly this software if it becomes part of any software you produce. You are responsible for your application. How Example tested ------------------ Application version V1.03 Developed on Microsoft Visual Basic V6 XP SP2 FT driver Set CDM Version 2 (Driver version 2, library V3.01.07) FT2232D Device Programmed using MProg V2.9 as standard serial Port A FIFO Port B Device MUST have an EEPROM attached to use MPROG. Tested within Visual Basic V6 environment and as compiled executable file. Files ----- README.TXT - This file USBTEST.TXT - gives detailed configuration of Ports expected. (used as help file source by programme) USBTEST.FRM & .FRX - Main testing Form/Code USBTEST.VBP & .vbw - VB6 project HELP.FRM & .FRX - Help form/Code for help window USBLOG.FRM & .FRX - Response and status logging window (Form/Code) USB.LOG - LOG file of logging window USB_FUNCTION.BAS - Procedures/functions to perform FT2232 communication FTDI_DLL.BAS - API to FTD2XX.DLL wrappers NODRIVER.LOG - Example log file for no driver loaded NODEVICE.LOG - Example Log file for no device connected EXAMPLE.LOG - Log file for all responses on correct execution Excluding Success responses usb_mpsse_spi_test.exe - Standalone Executable file (requires VB runtime loaded) April 2007 Paul Carpenter PC Services For latest version of application examples like this see also website