AN_126_User_Guide_For_FT232_Factory test utility.pdf

(423 KB) Pobierz
Microsoft Word - AN_126_User_Guide_For_FT232_Factory test utility
Future Technology Devices International Ltd.
Application Note AN_126
User Guide For FT232B/R Factory Test Utility
Document Reference No.: FT_000176
Version 1.0
Issue Date: 2009-10-20
This application note explains how to use the FT232B or FT232R factory test utility which
provides a user interface to program and test FTDI FT232B or FT232R devices.
The accompanying software, ST232_ver1.4, replaces the previous FTDI utility (ST232R and
ST232-245) used for this purpose.
Future Technology Devices International Limited (FTDI)
Unit 1,2 Seaward Place, Glasgow G41 1HH, United Kingdom
Tel.: +44 (0) 141 429 2777 Fax: + 44 (0) 141 429 2758
E-Mail (Support): support1@ftdichip.com Web: http://www.ftdichip.com
Copyright ¨ 2009 Future Technology Devices International Limited
721516944.012.png
Document Reference No.: FT_000176
User Guide For FT232B/R Factory Test Utility Application Note AN_126
Version 1.0
Clearance No.: FTDI# 111
Table of Contents
1 Introduction .................................................................... 2
2 Hardware Configuration .................................................. 3
3 Utility Basics ................................................................... 6
3.1
Operation .................................................................................. 6
4 Edit EEPROM.ini Parameters ............................................ 9
4.1
VID/PID ID ............................................................................. 10
4.2
Description ............................................................................. 11
4.3
Power selection ...................................................................... 11
4.4
USB Remote Wakeup .............................................................. 12
4.5
Serial number ......................................................................... 12
4.6
Other settings ......................................................................... 13
5 Definition of Error Messages ......................................... 14
6 Contact Information ...................................................... 17
Appendix A - Revision History ............................................ 19
Copyright ¨ 2009 Future Technology Devices International Limited 1
721516944.013.png 721516944.014.png 721516944.015.png
Document Reference No.: FT_000176
User Guide For FT232B/R Factory Test Utility Application Note AN_126
Version 1.0
Clearance No.: FTDI# 111
1 Introduction
The ST232_ver1.4 program is intended for use in a FT232B or FT232R manufacturing test
environment. ST232_ver1.4 replaces the previous FTDI utility used for this purpose called ST232R and
ST232-245. It has a single button user interface and returns a simple pass or fail for USB - RS232
designs. The executable version is hard-coded for use with the default VID (0x0403) and PID (0x6001)
and it can also support other VID and PID combinations by EEPROM.ini modification. The source code for
this program is provided on the FTDI website at the C++ Builder examples page and can be built by C++
Builder 2009. The test program also requires a special cable to operate correctly.
The features of ST232_ver1.4 are:
1. Auto-detect FT232B and FT232R
2. Support two testing methods: Y cable (The same with old method) and COM2 direct testing.
3. Selection test only or programming and testing.
4. Support EEPROM data programming by EPPROM.ini file or FTDI default.
The EEPROM.ini file will be generated automatically.
5. Restore current setting
ST232_ver1.4 is available as a free download from the Utilities page of the FTDI website .
Copyright ¨ 2009 Future Technology Devices International Limited 2
721516944.001.png 721516944.002.png 721516944.003.png 721516944.004.png
Document Reference No.: FT_000176
User Guide For FT232B/R Factory Test Utility Application Note AN_126
Version 1.0
Clearance No.: FTDI# 111
2 Hardware Configuration
EEPROM Configuration:
The FTDI FT232R device has an integrated 1024 Bit EEPROM, but the FT232B does not have such an
integrated EEPROM. It requires an external 93C46 EEPROMs organized in 16-bit words. The FT232B also
supports the 93C56 and 93C66 EEPROMs organized in 16-bit words.
CABLE Configuration:
This utility supports two testing methods. Both require a cable to be manufactured. Users require to
select one test method and manufacture the appropriate cable. The following details the DB9 female
connections for this cable:
1. Y cable (The same with old method):
USB(DUT)SERIAL PIN 3 (TXD) TO COM2 PIN 2 (RXD)
USB(DUT)SERIAL PIN 2 (RXD) TO COM2 PIN 3 (TXD)
USB(DUT)SERIAL PIN 7 (RTS) TO COM2 PIN 8 (CTS)
USB(DUT)SERIAL PIN 8 (CTS) TO COM2 PIN 7 (RTS)
USB(DUT)SERIAL PIN 6 (DSR) TO COM2 PIN 4 (DTR)
USB(DUT)SERIAL PIN 5 (GND) TO COM2 PIN 5 (GND)
USB(DUT)SERIAL PIN 4 (DTR) TO COM2 PIN 6 (DSR)
USB(DUT)SERIAL PIN 1 (CDET) TO COM1 PIN 4 (DTR)
USB(DUT)SERIAL PIN 9 (RI) TO COM1 PIN 7 (DTR)
2. COM2 direct testing:
USB(DUT)SERIAL PIN 3 (TXD) TO COM2 PIN 2 (RXD)
USB(DUT)SERIAL PIN 2 (RXD) TO COM2 PIN 3 (TXD)
USB(DUT)SERIAL PIN 7 (RTS) TO COM2 PIN 8 (CTS)
USB(DUT)SERIAL PIN 8 (CTS) TO COM2 PIN 7 (RTS)
USB(DUT)SERIAL PIN 6 (DSR) TO COM2 PIN 4 (DTR)
USB(DUT)SERIAL PIN 5 (GND) TO COM2 PIN 5 (GND)
USB(DUT)SERIAL PIN 4 (DTR) TO COM2 PIN 6 (DSR)
USB(DUT)SERIAL PIN 1 (CDET) TO COM2 PIN 4 (DTR)
USB(DUT)SERIAL PIN 9 (RI) TO COM2 PIN 4 (DTR)
Operation System setting:
To use this utility, the PC running the test must have one or two COM port.
If the PC has two COM ports then one of two testing methods can be used.
Copyright ¨ 2009 Future Technology Devices International Limited 3
721516944.005.png 721516944.006.png 721516944.007.png
Document Reference No.: FT_000176
User Guide For FT232B/R Factory Test Utility Application Note AN_126
Version 1.0
Clearance No.: FTDI# 111
If the PC has one COM port then only the ÐCOM2 Direct testÑ can be used. This requires that the user sets
the COM port number to COM2. To do this, open the PC Device Manager and click the Port (COM & LPT),
then choose the COM port of motherboard. This is illustrated below.
Figure 2-1 Re-assign COM port number 1
Copyright ¨ 2009 Future Technology Devices International Limited 4
721516944.008.png 721516944.009.png 721516944.010.png 721516944.011.png
Zgłoś jeśli naruszono regulamin