Android An 242 FTDI UART Terminal User Manual
Android An 242 FTDI UART Terminal User Manual
AN_242
FTDI_UART_Terminal_User_Manual
Version 1.0
This utility is for use with FTDI USB to UART devices. The utility provides a
terminal emulation function for use on Android devices. The Android system
must use Android OS version 3.2 or later and provide a USB host port.
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 Features ........................................................................................ 2
1.2 Install Application ........................................................................... 3
1.3 Launch and Exit Application .............................................................. 3
2 Functions ............................................................................................ 4
2.1 Serial Settings ................................................................................ 4
2.2 Send Data...................................................................................... 5
2.2.1 Send Plain Text Data ................................................................. 5
2.2.2 Send Hexadecimal Format Data .................................................. 5
2.2.3 Send Special Key Code Data ....................................................... 6
2.3 File Transfer ................................................................................... 7
2.3.1 Receive File .............................................................................. 7
2.3.2 Send File ................................................................................ 10
2.4 Menu Functions ............................................................................ 12
2.4.1 Setting ................................................................................... 12
2.4.2 Content Format ....................................................................... 14
2.4.3 Font Size ................................................................................ 16
2.4.4 Save Content Data .................................................................. 17
2.4.5 Clean Screen .......................................................................... 17
2.4.6 Echo ...................................................................................... 17
2.4.7 Online Help ............................................................................. 17
3 Contact Information ............................................................................ 18
Appendix A – References .......................................................................... 19
Acronyms and Abbreviations ................................................................... 19
Appendix B – List of Figures ...................................................................... 20
Appendix C– Revision History .................................................................... 21
1
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
1 Introduction
This utility is for use with FTDI USB to UART devices. The utility provides a terminal emulation
function for use on Android devices. The Android system must use Android OS version 3.2 or later
and provide a USB host port.
1.1 Features
• The application will open automatically when you plug in supported FTDI devices.
• It supports FTDI USB TTL Serial, USB RS232, RS422, RS485 and USB Hi-Speed cables.
• Suitable for use on any Android platform with a USB host port running Android v3.2 or
later versions.
• Provide general terminal UART utility.
• Save file and Send file functions support XModem, YModem and ZModem file transfer
protocols.
• USB Plug and Play.
2
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
To exit this application, tap the back button and it will show a notification message. Tap the back
button again to exit before the notification message disappears.
3
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
2 Functions
This section describes how to use this utility.
4
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
5
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
Note the need to input 2 characters for hexadecimal data and both character should be from ‘0’ to
‘9’ or from ‘a’ to ‘f’, otherwise the application will show a warning message when the “Write”
button is tapped.
6
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
7
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
Input the file name and tap “OK” to create a new file.
8
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
II. For “YModem” and “ZModem” protocol, select a directory for file saving.
The file name will be created automatically depending on the content information.
The status bar will show the name of the file being saved and the saving progress.
9
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
The Status bar will show the name of the file to be sent and the sending progress.
10
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
Note:
1. When the file list is not updated, tap ".." to go to its parent folder and enter this folder again,
and the file list will be refreshed.
2. ZModem protocol of FTDI UART Terminal is a simple file transfer protocol. It is implemented and
verified with Microsoft XP hyper terminal and Moxa PComm terminal.
11
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
For phone devices, press the menu key to launch the menu.
2.4.1 Setting
The setting menu displays a row with several setting items for serial port configuration.
12
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
The configuration settings allow the baud rate to be set at standard values between 300 and
921600 baud with CTS/RTS flow control and the values between 300 and 115200 baud with or
without flow control.
Stop bits may be set for 1 or 2.
Data bits may be set for 7 or 8
Parity may be set for None, ODD, EVEN, Mark or Space.
Flow allows for no flow control, RTS/CTS, DTR/DSR and XOFF/XON flow controls. The application
will show a warning message when “none” flow control is selected.
Port number items are dependent on the connected cable/device.
After selecting the required setting for each item, tap the “Configure” button to set it and setting
information will be shown on the status bar: content format, target port number and UART setting.
13
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
I. Character
The data is displayed in character format in Figure 20:
14
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
II. Hexadecimal
The data is displayed in hexadecimal format in Figure 21:
Note that when content format is hexadecimal format, the new incoming data sent to the
Android device is not shown.
15
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
16
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
2.4.6 Echo
Select the echo function to be on or off. Default echo setting is on.
The data sent by tapping the “Write” button is shown in the data area when the echo function is on.
17
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
3 Contact Information
2F, No. 516, Sec. 1, NeiHu Road Room 1103, No. 666 West Huaihai Road,
Taipei 114 Shanghai, 200052
Taiwan , R.O.C. China
Tel: +886 (0) 2 8797 1330 Tel: +86 21 62351596
Fax: +886 (0) 2 8751 9737 Fax: +86 21 62351595
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 harmless FTDI 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
18
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
Appendix A – References
HEX Hexadecimal
19
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
List of Figures
20
Copyright © 2013 Future Technology Devices International Limited
Application Note
AN_24242 FTDI_UART_Terminal_User_Manual
Version 1.0
Document Reference No.: FT_0006668 Clearance No.: FTDI# 343
21
Copyright © 2013 Future Technology Devices International Limited