Windows CE Installation Guide
Windows CE Installation Guide
Table of Contents
Part I Welcome to the Windows CE Installation Guide Part II Installing FT2232C, FT232BM, FT245BM, FT8U232AM and FT8U245AM Devices 2 3
1 "Unidentified USB Device" dialog is not displayed when device is connected for the first time ................................................................................................................................... 6 2 "Error installing USB driver ftdi_d2xx.dll" message ................................................................................................................................... 7 3 "Error installing USB driver ftdi_ser.dll" message ................................................................................................................................... 8 4 "Unidentified USB Device" appears each time the driver name is entered ................................................................................................................................... 9 5 Device can write but cannot read ................................................................................................................................... 11 6 Bytes missing or data corrupt ................................................................................................................................... 12 7 Driver isn't sending or receiving any data ................................................................................................................................... 13
14 15
2.1
Copy all of the unzipped files to the \\Windows directory on the PDA. If the PDA requires a host adaptor (e.g. USB host cable, presentation pack or Compact Flash host card), make sure that it is connected and installed before proceeding. Connect the FTDI device to a host USB port on the PDA. This will provide a dialog box to direct Windows CE to the driver files. Type the full name of the D2XX driver file into the dialog box as shown below. If the file name is incorrect, the driver will not be found and the device will not function.
The device installation is now complete. The installation may be verified using the D2XXAccess test program available form the Code Examples page of the FTDI website. D2XXAccess is available written in C++, C# and VB.NET.
2.2
The device installation is now complete. The installation may be verified using the VCPTest test program available form the Utilities page of the FTDI website.
Troubleshooting
3
3.1
Troubleshooting
"Unidentified USB Device" dialog is not displayed when device is connected for the first time
If the "Unidentified USB Device" dialog is not displayed when the device is connected for the first time, it is likely that the PDA does not have a USB host capability or that the host is not installed correctly. Many PDAs require some form of adaptor (USB host cable, presentation pack or Compact Flash USB host card) to provide the USB host capability that FTDI devices require.
3.2
The driver name has been misspelt The ".dll" file extension may be required for some platforms The required driver files are not in the \\Windows directory The driver file is in the wrong binary format
Troubleshooting
3.3
The driver name has been misspelt The ".dll" file extension may be required for some platforms The required driver files are not in the \\Windows directory The driver file is in the wrong binary format
3.4
"Unidentified USB Device" appears each time the driver name is entered
This error can be caused when the VID and PID listed in the INF file does not match the VID and PID combination programmed into the device. It can also be caused if the INF file has not been copied to the \\Windows directory.
One way to check this is to use the Registry editor that comes with Embedded Visual C++ (or a suitable registry editor on the Windows CE device itself) to check for the registry settings (Tools > Remote Registry Editor). With ActiveSync running, connect to your device then look at the registry setting HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\
Troubleshooting
10
In this case, the entry is 1027_24592, which corresponds to a VID of 0x0403 (1027) and a PID of 0x6010 (24592) device. If this is not the device to be installed, the message will recur. To solve the problem, the INF files must be edited to accommodate the required VID and PID. For the D2XX drivers, edit the bold red entries in the following line in the ftd2xx.inf file: [FtdiHw] "FTDI Dual device"=FTDI,USB\&VID_0403&PID_6010 For the VCP drivers, edit the bold red entries in the following line in the FTDIPORT.inf: [FtdiHw] %VID_0403&PID_6010.DeviceDesc%=FtdiPort232,FTDIBUS\COMPORT&VID_0403&PID_6010
11
3.5
Troubleshooting
12
3.6
13
3.7
Revision History
14
Revision History
Version 1.0 Release Date June 2005 Comments Initial release
15
Index
-CCompact Flash 6
-DD2XX 4 Drivers 4, 5
-IInstallation 2, 4, 5 Introduction 2
-VVCP 5 VID 9