FTDI Logo
www.ftdichip.com

Table of Contents
Keyword Index


Welcome to the FTDI Knowledgebase
Documentation
Application Notes
ANVNC1L-01 Vinculum VNC1L Bootloader
Vinculum VNC1L Bootloader
VNC1L Bootloader Commands
Set Data Variables
Read Flash Block
Write Flash Block
Echo
VNC1L Bootloader Pseudo Code
VNC1L Bootloader Hardware Interface
VNC1L Programming Over USB
VNC1L Programming From a COM Port
VNC1L Programming From an MCU
Revision History
Contact
Disclaimer
AN232R-01 Bit Bang Modes for the FT232R and FT245R
Bit Bang Modes for the FT232R and FT245R
Overview
Asynchronous Bit Bang Mode
Synchronous Bit Bang Mode
CBUS Bit Bang Mode
References
History, Disclaimer, Contact
Document Revision History
Disclaimer
Contact Information
AN232R-02 FTDIChip-ID for the FT232R and FT245R
FTDIChip-ID for the FT232R and FT245R
Overview
Using the FTDIChip-ID
Considerations
FT232R/FT245R Web Registration Example
References
History, Disclaimer, Contact
Document Revision History
Disclaimer
Contact Information
AN232R-03 FTDI Windows Driver Pre-Installation
FTDI Windows Driver Pre-Installation
Overview
DIFx Driver Package Requirements
Sample DPInst.xml File
Uninstalling Drivers
References
History, Disclaimer, Contact
Document Revision History
Disclaimer
Contact Information
AN232R-04 Windows Combined Driver Model
Introduction
Background
Architecture
Advantages
Document Revision History
Disclaimer
Contact Information
AN2232C-01 Command Processor for MPSSE and MCU Host Bus Emualtion Modes
Command Processor for MPSSE and MCU Host Bus Emulation
Overview
Data and Clock Definition
Data Bit Defintion
Clock Operation
Command Definitions
Bad Commands
Data Shifting Command Overview
MSB First
Clock Data Bytes Out on +ve Clock Edge MSB First (no Read)
Clock Data Bytes Out on -ve Clock Edge MSB First (no read)
Clock Data Bits Out on +ve Clock Edge MSB First (no Read)
Clock Data Bits Out on -ve Clock Edge MSB First (no Read)
Clock Data Bytes In on +ve Clock Edge MSB First (no Write)
Clock Data Bytes In on -ve Clock Edge MSB First (no Write)
Clock Data Bits In on +ve Clock Edge MSB First (no Write)
Clock Data Bits In on -ve Clock Edge MSB First (no Write)
Clock Data Bytes In and Out MSB First
Clock Data Bits In and Out MSB First
LSB First
Clock Data Bytes Out on +ve Clock Edge LSB First (no Read)
Clock Data Bytes Out on -ve Clock Edge LSB First (no Read)
Clock Data Bits Out on +ve Clock Edge LSB First (no Read)
Clock Data Bits Out on -ve Clock Edge LSB First (no Read)
Clock Data Bytes In on +ve Clock Edge LSB First (no Write)
Clock Data Bytes In on -ve Clock Edge LSB First (no Write)
Clock Data Bits In on +ve Clock Edge LSB First (no Write)
Clock Data Bits In on -ve Clock Edge LSB First (no Write)
Clock Data Bytes In and Out LSB First
Clock Data Bits In and Out LSB First
TMS Commands
Clock Data to TMS/CS Pin (no Read)
Clock Data to TMS/CS Pin with Read
Set / Read Data Bits High / Low Bytes
Set Data Bits Low Byte
Set Data Bits High Byte
Read Data Bits Low Byte
Read Data Bits High Byte
Loopback Commands
Connect TDI/DO to TDO/DI for Loopback
Disconnect TDI/DO to TDO/DI for Loopback
Clock Divisor
Set TCK/SK Divisor
Instructions for MCU Host Bus Emulation Mode
Overview
MCU Host Emulation Mode Read Short Address
MCU Host Emulation Mode Read Extended Address
MCU Host Emulation Mode Write Short Address
MCU Host Emulation Mode Write Extended Address
Instructions for use in both MPSSE and MCU Host Emulation Modes
Send Immediate
Wait On I/O High
Wait On I/O Low
History, Disclaimer, Contact Information
Document Revision History
Disclaimer
Contact Information
AN2232C-02 Bit Mode Functions for the FT2232C
Bit Mode Functions For the FT2232
Overview
FT_SetBitMode
FT_SetBitMode Example
FT_GetBitMode
FT_GetBitMode Example
References
History, Disclaimer, Contact
Document Revision History
Disclaimer
Contact Information
AN232B-03 Optimizing D2XX Data Throughput
D2XX Applications - Optimizing Data Throughput Over USB
Introduction
Transfer Sizes
Driver Operation
Optimizing Performance
Revision History, Disclaimer, and Contact Information
Document Revision History
Disclaimer
Contact Information
AN232B-04 Data Throughput, Latency and Handshaking
Data Throughput, Latency and Handshaking
Background
Data Transfer
The Need For Handshaking
Data Transfer Comparison
Continuous Data - Smoothing the Lumps
Buffers and the Latency Timer
Small Amounts of Data and End of Buffer Conditions
Adjusting the Receive Buffer Latency Timer
Effect of USB Buffer Size and the Latency Timer on Data Throughput
Adjusting the USB Transfer Size
Events and Flow Control
Event Characters
Flushing the Receive Buffer Using the Modem Status Lines
Flow Control
History, Disclaimer, Contact Information
Document Revision History
Disclaimer
Contact Information
AN232B-05 Configuring FT232R, FT2232C and FT232BM Baud Rates
Setting Baud Rates for FT232R, FT2232 and FT232BM Devices
Introduction
Setting the Baud Rate
Baud Rate Calculation
Aliasing Baud Rates
Aliasing
Aliasing Using the Original Sub-Integer Divisors
Aliasing Using the Additional FT232B Sub-Integer Divisors
Revision History, Disclaimer, Contact Information
Document Revision History
Disclaimer
Contact Information
AN232B-07 Configuring FTDI's VCP Drivers to use Location IDs
How To Configure VCP to Use a Specific COM Port
Introduction
Location IDs
Implementation
USBView
Limitations
Requirements
History, Disclaimer, and Contact Information
Document Revision History
Disclaimer
Contact Information
AN232B-10 Advanced Driver Options
Introduction
CDM USB Serial Converter Properties Page
CDM COM Port Advanced Properties Page
Modification of INF Files for Non-Default VID and PID Values
FTDIBUS.INF
FTDIPORT.INF
FTDIBUS.INF Options
Adjusting the Reset Pipe Retry Count
Using Location IDs
Limiting the Number of COM Ports That Can Be Installed
Override EEPROM Driver Setting
Power Management Options
USB Timeout
Disable EEPROM Writes
FTDIPORT.INF Options
Aliasing Baud Rates
Changing the Default USB Transfer Size
Setting a Custom Default Latency Timer Value
Enabling Modem Emulation Mode
Buffered Writes
Miscellaneous Options
Timeouts
Serial Enumerator
Serial Printer
Cancel If Power Off
Event On Surprise Removal
Set RTS On Close
Disable Modem Ctrl At Startup
System Options
Ignore Hardware Serial Number
Phantom Devices
Foreign Language Support
Co-Installer
Renaming Driver Files
Driver Pre-Installation
DPInst Packages
Uninstalling Drivers
Revision History
Disclaimer
Contact Information
Appendix
FTDIBUS.INF
FTDIPORT.INF
Data Sheets
Installation Guides
Mac OS X Installation Guide
Welcome to the Mac OS X Installation Guide
VCP Drivers
Installing VCP Drivers
Uninstalling VCP Drivers
D2XX Drivers
Installing D2XX Drivers
Uninstalling D2XX Drivers
Multiple VIDs/PIDs
Configuration Settings
VCP Troubleshooting
How do I know what my deviceID is?
The device does not appear in the /dev directory or the text "New Port Detected" is not displayed in SystemPreferences-Network
The device cannot be accessed even though the deviceID is supported in FTDIUSBSerialDriver
How do I open a Terminal window?
D2XX Troubleshooting
I can't open a port even though the installation has been successful
After running an application two or three times, communication stops
Problems upgrading to the latest D2XX driver
Revision History
Windows CE Installation Guide
Welcome to the Windows CE Installation Guide
Installing FT2232C, FT232BM, FT245BM, FT8U232AM and FT8U245AM Devices
Installing D2XX Drivers
Installing VCP Drivers
Troubleshooting
"Unidentified USB Device" dialog is not displayed when device is connected for the first time
"Error installing USB driver ftdi_d2xx.dll" message
"Error installing USB driver ftdi_ser.dll" message
"Unidentified USB Device" appears each time the driver name is entered
Device can write but cannot read
Bytes missing or data corrupt
Driver isn't sending or receiving any data
Revision History
Windows XP Installation Guide
Welcome to the Windows XP Installation Guide
Installing FTDI Device Drivers
Installing CDM Drivers
Uninstalling FTDI Devices
Uninstalling CDM Drivers
Troubleshooting
Windows XP cannot find drivers for my device
Windows XP forces a reboot after installing a device
Driver installation fails and Windows XP gives error code 10
FT232BM or FT245BM device hangs randomly during operation under Windows XP
Windows XP displays an error and then terminates installation
Revision History
Contact Information
Disclaimer
Windows 2000 Installation Guide
Welcome to the Windows 2000 Installation Guide
Installing FTDI Device Drivers
Installing CDM Drivers via the Found New Hardware Wizard
Uninstalling FTDI Devices
Uninstalling CDM Drivers
Troubleshooting
Windows 2000 cannot find drivers for my device
Windows 2000 forces a reboot after installing a device
Driver installation fails and Windows 2000 gives error code 10
FT232BM or FT245BM device hangs randomly during operation under Windows 2000
Revision History
Contact Information
Disclaimer
Windows 98 Installation Guide
Welcome to the Windows 98 Installation Guide
Installing FT232BM, FT245BM, FT8U232AM and FT8U245AM Devices
Installing D2XX Drivers
Installing VCP Drivers
Installing FT2232C Devices
Installing D2XX Drivers
Installing VCP Drivers
Uninstalling FT232BM, FT245BM, FT8U232AM and FT8U245AM Devices
Uninstalling D2XX Drivers
Uninstalling VCP Drivers
Uninstalling FT2232C Devices
Uninstalling D2XX Drivers
Uninstalling VCP Drivers
Troubleshooting
Windows 98 cannot find drivers for my device
Windows 98 forces a reboot after installing a device
Driver installation fails and Windows 98 gives error code 10
FT232BM or FT245BM device hangs randomly during operation under Windows 98
Windows 98 complains about missing .CAT files
Windows 98 complains about missing ftccomms.vxd file
Windows 98 installs FT2232C device as VCP even though D2XX drivers are selected in the EEPROM
Revision History
Programming Guides
D2XX Programmer's Guide
Welcome to the FTD2XX Programmer's Guide
Classic Interface Functions
FT_SetVIDPID
FT_GetVIDPID
FT_ListDevices
FT_Open
FT_OpenEx
FT_Close
FT_Read
FT_Write
FT_ResetDevice
FT_SetBaudRate
FT_SetDivisor
FT_SetDataCharacteristics
FT_SetFlowControl
FT_SetDtr
FT_ClrDtr
FT_SetRts
FT_ClrRts
FT_GetModemStatus
FT_SetChars
FT_Purge
FT_SetTimeouts
FT_GetQueueStatus
FT_SetBreakOn
FT_SetBreakOff
FT_GetStatus
FT_SetEventNotification
FT_IoCtl
FT_SetWaitMask
FT_WaitOnMask
FT_GetDeviceInfo
FT_SetResetPipeRetryCount
FT_StopInTask
FT_RestartInTask
FT_ResetPort
FT_CyclePort
FT_CreateDeviceInfoList
FT_GetDeviceInfoList
FT_GetDeviceInfoDetail
FT_GetDriverVersion
FT_GetLibraryVersion
FT_SetDeadmanTimeout
EEPROM Programming Interface Functions
FT_ReadEE
FT_WriteEE
FT_EraseEE
FT_EE_Read
FT_EE_ReadEx
FT_EE_Program
FT_EE_ProgramEx
FT_EE_UARead
FT_EE_UAWrite
FT_EE_UASize
Extended API Functions
FT_GetLatencyTimer
FT_SetLatencyTimer
FT_GetBitMode
FT_SetBitMode
FT_SetUSBParameters
FT-Win32 API Functions
FT_W32_CreateFile
FT_W32_CloseHandle
FT_W32_ReadFile
FT_W32_WriteFile
FT_W32_GetLastError
FT_W32_GetOverlappedResult
FT_W32_ClearCommBreak