FTD2XXST user guide.pdf

(278 KB) Pobierz
FTD2XXST.exe User Guide.indd
FTD2XXST.exe User’s Guide
Introduction
FTD2XXST.exe is an application for coniguring, serialising and testing communication functionality in
FT8U232AM, FT8U245AM, FT232BM, and FT245BM designs. The application maintains data which
describes USB devices and formats it so that it can be programmed into the EEPROM over USB. Conig-
urable parameters include the Vendor ID (VID), Product ID (PID), device description, and manufacturer
name. User’s of FTDI devices can use their own VID and PID, FTDI’s VID with their own unique PID, or
the default FTDI values. If you would like a block of unique PID’s for use with FTDI’s VID please contact
support@ftdichip.com.
The default values are VID_0403, PID_6001 . These default values will be used by the FTDI device if there
is no EEPROM attached, or the EEPROM connected is unprogrammed. You can program the default values
into the EEPROM if you wish.
Please note that if you use a VID or PID other than the default vales mentioned above you will need to in-
clude them in the driver .inf iles for your device. See Appendix 2.
Getting Started
To start with you must have an EEPROM connected to your FTDI chip. For FT8U232AM and FT8U245AM
devices this must be a 93C46. For FT232BM and FT245BM devices the EEPROM can be a 93C46, 93C56,
or 93C66. In all cases the EEPROM must be conigured for words (x16 bits) rather than bytes (x8 bits).
Some EEPROM’s have an ORG pin (usually pin 6) which must be pulled high to select word (x16) opera-
tion. Once you have downloaded FTD2XXST onto your system and extracted the .exe from the zipped
archive you should see the following icon:-
To run the application simply double click on the icon. When FTD2XXST is run for the irst time, it’s
display will appear as follows:-
FTD2XXST.exe User’s Guide Version 1.0 © Future Technology Devices Intl. Ltd. 2003 Page 1
721508346.006.png 721508346.007.png 721508346.008.png
FTD2XXST.exe User’s Guide
Please note that you must have FTDI’s D2XX direct drivers installed to run this application. If you do not
have D2XX installed you will see the following error message:-
Solution :- You need to install FTDI’s D2XX drivers. Go to the drivers and utilities section of the FTDI web
site and download D2XX. Unzip the downloaded driver iles into a directory on your system. If you have
VCP drivers installed Unplug your FTDI USB device and use ‘‘add / remove programs’’ from the control
panel to uninstall VCP drivers. Then replug your FTDI USB device and install D2XX using the add new
hardware wizard. When prompted point the wizard to the location of the unzipped D2XX drivers on your
system. This will install D2XX, which will then allow you to run FTD2XXST.
The irst time you run FTD2XXST it will be in edit mode and all of the buttons will be disabled. Edit mode
means that the user must enter data into each of the ields. Fill in the each of the ields with the data that you
require, using Tab to move between them. When complete, it should look something like this:-
The current mode of FTD2XXST is indicated on the status bar at the bottom right corner of the main win-
dow. There are two modes : Edit Mode and Program Mode.
FTD2XXST.exe User’s Guide Version 1.0 © Future Technology Devices Intl. Ltd. 2003 Page 2
721508346.009.png 721508346.001.png
FTD2XXST.exe User’s Guide
Click on the advanced setup button (the pointing hand icon) which should now be enabled, or select Ad-
vanced Setup from the Device menu. This will run the Advanced Setup dialogue window:-
- Advanced Setup Button
The advanced options are:-
Plug and Play - This bit is set by default. If this bit is set Plug and Play enumeration under Win 98
/ ME is enabled. If this bit is not set, Plug and Play enumeration is disabled. This setting is overridden by the
Plug and Play coniguration setting in the driver. If in doubt use the default setting.
Fixed Serial Number - This option can be used to program a ixed serial number. Care should be
taken when using this option, and it should not be used if multiple devices with the same serial number are
to be used on the same machine.
Self Powered - Enable this bit if your device is self powered. If this bit is not set the device will
enumerate as a bus powered device
Remote Wakup - This bit is set by default. This must be enabled if you want your device to sup-
port remote wakeup using the RI pin on the FT232BM or FT8U232AM chips.
Max Power - Default setting 44 mA. This option determines the maximum current which can be
drawn from the USB bus, in a bus powered design. For a standard low powered design 100 mA is the maxi-
mum allowable value. If your design is a High Power Self powered USB device (I>100mA) you should fol-
low the high current bus powered device design rules detailed in application note AN232-10. The maximum
current a high power USB device can take from the USB bus is 500 mA, but don’t specify this. In this case
use 490 mA instead.
Once you have selected the options that you require click ‘‘OK’’.
FTD2XXST.exe User’s Guide Version 1.0 © Future Technology Devices Intl. Ltd. 2003 Page 3
721508346.002.png 721508346.003.png
FTD2XXST.exe User’s Guide
If you are using a BM device you should check the box marked ‘‘FT232BM / FT245BM’’. Some additional
options will now appear:-
ISO IN Endpoint / ISO Out Endpoint - This will enable Isochronous endpoints for the device.
This option does not work with standard FTDI drivers. Isochronous drivers are available from FTDI on
request. Isochronous mode does not guarantee integrity of data since it has no error correction. It is designed
for streaming audio applications and will only do 64 bytes per millisecond.
Int Pull-Down Enable - Setting this bit enables the Internal Pull down option mentioned under the
pin descriptions on the device datasheets. See AN232BM-02_PinMode.
Enable serial number - Enabling this bit programs a serial number for the device into the EEP-
ROM. This bit is set by default.
FTD2XXST will now have accepted the device data. The save button on the toolbar will be enabled, as will
the Save option in the Device menu. Review the data (it can still be changed at this stage), then save your
data. FTD2XXST will save the device data, and change to Program mode. Several new options will now be
enabled on the toolbar.
FTD2XXST.exe User’s Guide Version 1.0 © Future Technology Devices Intl. Ltd. 2003 Page 4
721508346.004.png
FTD2XXST.exe User’s Guide
Click on the Program button (or select Program from the Device menu) to write the data into the EEPROM.
The serial number generated by FTD2XXST for the device will be displayed in the log window:-
Your device has now been programmed.
Edit Fields
This section describes the data format of each ield.
Manufacturer
This is an alphanumeric ield whose length should be >= 2. The combined length of the Manufacturer and
Description ields must be <= 38 characters.
Manufacturer ID
This is an alphanumeric ield of length = 2. The value can be any 2 characters, and will be used for the irst
two characters of the device serial number.
Vendor ID
The manufacturers USB Vendor ID. Hexadecimal ield of length = 4.
Product ID
USB Product ID allocated by the manufacturer. Hexadecimal ield of length = 4.
FTD2XXST.exe User’s Guide Version 1.0 © Future Technology Devices Intl. Ltd. 2003 Page 5
721508346.005.png
Zgłoś jeśli naruszono regulamin