AN 236 UserGuide For FT312D Configuration Utility
AN 236 UserGuide For FT312D Configuration Utility
AN_236
Version 1.0
Use of FTDI devices in life support and/or safety applications is entirely at the user’s risk, and the
user agrees to defend, indemnify and hold FTDI harmless from any and all damages, claims, suits
or expense resulting from such use.
Table of Contents
1 Introduction .................................................................................................................................... 2
1.1 Overview ................................................................................................................................. 2
1.2 Hardware Requirements ......................................................................................................... 2
1.3 Software Requirements .......................................................................................................... 3
2 Test Setup ....................................................................................................................................... 4
2.1 Preparing the test PC .............................................................................................................. 4
2.2 Preparing the hardware .......................................................................................................... 4
3 Using the FT312D Configuration Utility .......................................................................................... 5
3.1 Test Setup Errors ................................................................................................................... 10
3.2 User Defined descriptor size ................................................................................................. 11
4 FTDI Chip Contact Information ..................................................................................................... 12
Appendix A – References ...................................................................................................................... 13
Document References....................................................................................................................... 13
Acronyms and Abbreviations ............................................................................................................ 13
Appendix B – List of Tables & Figures ................................................................................................... 14
List of Tables ..................................................................................................................................... 14
List of Figures .................................................................................................................................... 14
Appendix C – Revision History .............................................................................................................. 15
1
Product Page
Document Feedback Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_236 User Guide for FT312D Configuration Utility
Version 1.0
1 Introduction
Android Open Accessory hardware is paired with applications running on the Android platform
based on the descriptor strings the device sends to the Android. The FT312D allows for these
strings to be modified such that the device may be used with multiple applications.
This application note describes the test setup and usage of the FT312D Configuration Utility for
making these modifications.
The utility is intended for use in FT312D manufacturing environment to configure the descriptor
strings. This utility is needed only if the default descriptor strings have to be changed.
1.1 Overview
The Figure 1.1 below shows the block diagram of the FT312D Configuration setup.
Windows
USB Host
USB Host
FT312D Module
Figure 1.1: Block diagram of FT312D Configuration setup
2
Product Page
Document Feedback Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_236 User Guide for FT312D Configuration Utility
Version 1.0
3
Product Page
Document Feedback Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_236 User Guide for FT312D Configuration Utility
Version 1.0
2 Test Setup
Note:
FTDI USB to USB Null Modem cable is the only FTDI device connected to the test PC.
WINDOWS PC
.NET FRAMEWORK 4
FTDI D2XX DRIVERS
FT312D CONFIGURATION
UTILITY
5V
FT312D
PSU
USB TO USB NULL MODEM CABLE
The completed test setup is shown in the Figure 2.1. The FT312D is powered from 5V.
4
Product Page
Document Feedback Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_236 User Guide for FT312D Configuration Utility
Version 1.0
Note:
Run FT312D Configuration.exe. The software will start, opening a screen similar to the one shown
in Figure 3.1. The buttons may then be used to perform the following tasks:
Read File
Read File will load the configuration file into the GUI, filling in the values for the strings as shown
in the Figure 3.1. A default FT312DConfiguration.xml is present in the application folder. This may
be updated with the Write File button.
Erase Flash
The descriptor strings that the user programs to the FT312D may be erased with the Erase Flash
button. A device that is erased will still function with the default descriptor strings stored in the
device. The utility also checks the setup and pops up a message if the setup is wrong.
The result is PASS if the erase is successful. The result is FAIL if the erase is failed.
5
Product Page
Document Feedback Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_236 User Guide for FT312D Configuration Utility
Version 1.0
Write Flash
Write Flash will store the descriptor strings displayed in the GUI to the FT312D.
The utility also checks the setup and pops up a message if the setup is wrong.
The result is PASS if the write is successful as shown in the Figure 3.3. The result is FAIL if the
write is failed as shown in the Figure 3.4. The Write Flash failed because the descriptor strings in
the GUI is not filled. All the descriptor string fields in the GUI has to be filled.
6
Product Page
Document Feedback Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_236 User Guide for FT312D Configuration Utility
Version 1.0
Read Flash
Read Flash will read the descriptor string values previously stored in FT312D and display them in
the GUI. A device that has not been written with user specified descriptor string or has been
erased will return blank values in the GUI.
7
Product Page
Document Feedback Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_236 User Guide for FT312D Configuration Utility
Version 1.0
Write File
Write File will store the values displayed in the GUI to the FT312DConfiguration.xml file.
8
Product Page
Document Feedback Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_236 User Guide for FT312D Configuration Utility
Version 1.0
Clear Screen
Clear screen will reset the display to blank fields.
EXIT
The application may be closed by selecting EXIT.
Note:
The Erase Flash, Write Flash and Read Flash button in the utility is functional only
when the FT312D is connected.
The Read File, Write File, Clear Screen and EXIT button in the utility is functional
with the FT312D connected or not.
9
Product Page
Document Feedback Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_236 User Guide for FT312D Configuration Utility
Version 1.0
Figure 3.9: FTDI USB to USB Null Modem cable not connected to test PC
The error message in Figure 3.9 appears when the USB to USB Null Modem cable is not connected
to the test PC.
Figure 3.10: FTDI USB to USB Null Modem cable not connected to FT312D
The error message in Figure 3.10 appears when the Null Modem cable is not connected to the
FT312D or the FT312D is not powered up.
10
Product Page
Document Feedback Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_236 User Guide for FT312D Configuration Utility
Version 1.0
11
Product Page
Document Feedback Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_236 User Guide for FT312D Configuration Utility
Version 1.0
Web Site
http://ftdichip.com
System and equipment manufacturers and designers are responsible to ensure that their systems, and any Future Technology
Devices International Ltd (FTDI) devices incorporated in their systems, meet all applicable safety, regulatory and system-level
performance requirements. All application-related information in this document (including application descriptions, suggested
FTDI devices and other materials) is provided for reference only. While FTDI has taken care to assure it is accurate, this
information is subject to customer confirmation, and FTDI disclaims all liability for system designs and for any applications
assistance provided by FTDI. Use of FTDI devices in life support and/or safety applications is entirely at the user’s risk, and the
user agrees to defend, indemnify and hold FTDI harmless from any and all damages, claims, suits or expense resulting from
such use. This document is subject to change without notice. No freedom to use patents or other intellectual property rights is
implied by the publication of this document. Neither the whole nor any part of the information contained in, or the product
described in this document, may be adapted or reproduced in any material or electronic form without the prior written consent
of the copyright holder. Future Technology Devices International Ltd, Unit 1, 2 Seaward Place, Centurion Business Park,
Glasgow G41 1HH, United Kingdom. Scotland Registered Company Number: SC136640
12
Product Page
Document Feedback Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_236 User Guide for FT312D Configuration Utility
Version 1.0
Appendix A – References
Document References
FT311D Development Module datasheet
FT312D Development Module datasheet
FT311D Development Module datasheet
FT311 GPIO Board datasheet
PC Personal Computer
RXD Receive
13
Product Page
Document Feedback Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_236 User Guide for FT312D Configuration Utility
Version 1.0
List of Tables
Table 3.1: Descriptor string size ......................................................................................... 11
List of Figures
Figure 1.1: Block diagram of FT312D Configuration setup ........................................................ 2
Figure 2.1: Completed FT312D Test Setup ............................................................................. 4
Figure 3.1: FT312D Configuration Utility ................................................................................ 5
Figure 3.2: Erase Flash ........................................................................................................ 6
Figure 3.3: Write Flash result - PASS ..................................................................................... 6
Figure 3.4: Write Flash result - FAIL ...................................................................................... 7
Figure 3.5: Read Flash with default descriptor string ............................................................... 7
Figure 3.6: Read Flash with user defined descriptor string ........................................................ 8
Figure 3.7: Write File ........................................................................................................... 8
Figure 3.8: Clear Screen ...................................................................................................... 9
Figure 3.9: FTDI USB to USB Null Modem cable not connected to test PC ................................. 10
Figure 3.10: FTDI USB to USB Null Modem cable not connected to FT312D .............................. 10
14
Product Page
Document Feedback Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_236 User Guide for FT312D Configuration Utility
Version 1.0
15
Product Page
Document Feedback Copyright © 2013 Future Technology Devices International Limited