7 Drivers Installation Guide MAC OSX An 134 FTDI
7 Drivers Installation Guide MAC OSX An 134 FTDI
7 Drivers Installation Guide MAC OSX An 134 FTDI
OSX
Document Reference No.: FT_000201 Version 1.0 Issue Date: 2009-11-06
The purpose of this application note is to provide users of FTDI chips with a simple procedure for installing FTDI drivers for FTDI devices used under MAC OSX.
Future Technology Devices International Limited (FTDI) Unit 1, 2 Seaward Place, Centurion Business Park, Glasgow G41 1HH, United Kingdom
Tel.: +44 (0) 141 429 2777 Fax: + 44 (0) 141 429 2758 E-Mail (Support): [email protected] Web: http://www.ftdichip.com
Document Reference No.: FT_000201 FTDI Drivers Installation guide for MAC OSX Application Note AN_134 Version 1.0 Clearance No.: FTDI# 123
Table of Contents 1 2 3 Introduction .................................................................... 2 Getting FTDI Device Drivers ............................................ 3 Installing Drivers ............................................................ 4
3.1 3.2 Installing VCP Drivers ............................................................... 4 Installing D2xx Drivers ............................................................. 7 Uninstalling VCP Drivers ........................................................... 8 Uninstalling D2XX Drivers ......................................................... 8 How do I know what my deviceID is? ....................................... 9 The device does not appear in the /dev directory ..................... 9
Uninstalling Drivers......................................................... 8
4.1 4.2
5.3 The text NewPort Detected" is not displayed in System Preferences-Network ...................................................................... 10 5.4 The device cannot be accessed even though the deviceID is supported in FTDIUSBSerialDriver .................................................. 10 5.5 How do I open a Terminal window? ........................................ 10
D2XX Troubleshooting................................................... 11
6.1 I can't open a port even though the installation has been Successful ....................................................................................... 11 6.2 After running an application two or three times, communication stops ............................................................................................... 11 6.3 Problems upgrading to the latest D2XX driver ........................ 11
Document Reference No.: FT_000201 FTDI Drivers Installation guide for MAC OSX Application Note AN_134 Version 1.0 Clearance No.: FTDI# 123
Introduction
The purpose of this application note is to provide users of FTDI chips with a simple procedure for installing FTDI drivers for their devices under MAC OSX.
Document Reference No.: FT_000201 FTDI Drivers Installation guide for MAC OSX Application Note AN_134 Version 1.0 Clearance No.: FTDI# 123
FTDI drivers may be obtained from the FTDI website. There are two versions. The first one is the Virtual Com Port driver (VCP) which creates a virtual com port on the MAC and allows applications that use the POSIX programming interface to communicate with the device. This is effectively the same us using a legacy com port. The download is at: http://www.ftdichip.com/Drivers/VCP/MacOSX/FTDIUSBSerialDriver_v2_2_14.dmg This is for the current version at the time of writing (version 2.2.14) The same instructions should apply for any future updates.
Clicking the weblink starts a download. Inside the FTDIUSBSerialDriver_v2_2_14.dmg there are 2 package files.
FTDIUSBSerialDriver_10_3.pkg which is specific to OSX 10.3 (Panther) FTDIUSBSerialDriver_10_4_10_5_10_6.pkg which is specific to OSX 10.4 (Tiger), OSX 10.5 (Leopard) and 10.6 (Snow Leopard).
The second driver version is the D2xx driver and uses FTDIs D2xx programming interface. The download is at: http://www.ftdichip.com/Drivers/D2XX/MacOSX/UniBin/D2XX0.1.7.dmg This is for the current version at the time of writing (version 0.1.7) The same instructions should apply for any future updates.
Document Reference No.: FT_000201 FTDI Drivers Installation guide for MAC OSX Application Note AN_134 Version 1.0 Clearance No.: FTDI# 123
Installing Drivers
Document Reference No.: FT_000201 FTDI Drivers Installation guide for MAC OSX Application Note AN_134 Version 1.0 Clearance No.: FTDI# 123
Select Install. At this point you may be asked for your password to authenticate the installation. This is just the same as you would do to log into the machine to begin using it.
Document Reference No.: FT_000201 FTDI Drivers Installation guide for MAC OSX Application Note AN_134 Version 1.0 Clearance No.: FTDI# 123
After authentication select close to complete the installation. Now plug the device in. If the device is installed properly, you will see entries in the /dev directory: /dev/cu.usbserial-xxxxxxxx /dev/tty.usbserial-xxxxxxxx where xxxxxxxx is either the device's serial number or, for unserialized devices, a location string that depends on which USB port your device is connected to. Note that for FT2232D devices port A is denoted by the serial number appended with "A" and port B is designated by the serial number appended with "B". /dev can be accessed through the Terminal application. The Terminal application can be launched by selecting Go > Applications > Utilities > Terminal. Type the following lines in the Terminal window to produce the file list: cd /dev ls-l
Document Reference No.: FT_000201 FTDI Drivers Installation guide for MAC OSX Application Note AN_134 Version 1.0 Clearance No.: FTDI# 123
Document Reference No.: FT_000201 FTDI Drivers Installation guide for MAC OSX Application Note AN_134 Version 1.0 Clearance No.: FTDI# 123
Uninstalling Drivers
Follow the procedures below idf you wish to remove the drivers from your MAC.
Document Reference No.: FT_000201 FTDI Drivers Installation guide for MAC OSX Application Note AN_134 Version 1.0 Clearance No.: FTDI# 123
VCP Troubleshooting
If the device does not work after installing the driver, it is likely to be because the PID is not supported by the driver. If this is the case, contact the vendor of your product to determine if they provide an edited driver to support their product. If they do not provide an edited driver you can make the edits yourself by following the instructions in TN_105 Adding Support for New Devices to MAC Driver from the FTDI website http://www.ftdichip.com/Documents/TechnicalNotes/TN_105%20Adding%20Support%20for%20New%2 0FTDI%20Devices%20to%20Mac%20Driver.pdf If the VID is not 0x0403, it is likely that the device is not an FTDI device and we cannot support it.
Document Reference No.: FT_000201 FTDI Drivers Installation guide for MAC OSX Application Note AN_134 Version 1.0 Clearance No.: FTDI# 123 to MAC Driver from the FTDI website http://www.ftdichip.com/Documents/TechnicalNotes/TN_105%20Adding%20Support%20for%20New%2 0FTDI%20Devices%20to%20Mac%20Driver.pdf
5.4 The device cannot be accessed even though the deviceID is supported in FTDIUSBSerialDriver
An ownership or permissions problem is preventing the system from making the device accessible. Check that the driver is owned by root and wheel. The most common symptom is the group for FTDIUSBSerialDriver is not wheel. To change the group, login as root and perform the following script in a Terminal window (Go > Applications > Utilities > Terminal): cd /system/library/extensions chgrp -R wheel FTDIUSBSerialDriver.kext Reboot for the change to take effect.
Document Reference No.: FT_000201 FTDI Drivers Installation guide for MAC OSX Application Note AN_134 Version 1.0 Clearance No.: FTDI# 123
D2XX Troubleshooting
6.1 I can't open a port even though the installation has been Successful
This is possibly due to the FTDI serial driver holding the port with your VID and PID. Solution is to uninstall the serial driver . To completely eradicate the possibility of this occurring in future, it is recommended a new VID and PID is used to distinguish between devices. Another possibility is an incorrect VID/PID. Try changing your application to use the FT_SetVIDPID API call to quickly determine if this is the case.
Document Reference No.: FT_000201 FTDI Drivers Installation guide for MAC OSX Application Note AN_134 Version 1.0 Clearance No.: FTDI# 123
Contact Information
Head Office Glasgow, UK Future Technology Devices International Limited Unit 1, 2 Seaward Place, Centurion Business Park Glasgow G41 1HH United Kingdom Tel: +44 (0) 141 429 2777 Fax: +44 (0) 141 429 2758 E-mail (Sales) [email protected] E-mail (Support) [email protected] E-mail (General Enquiries) [email protected] Web Site URL http://www.ftdichip.com Web Shop URL http://www.ftdichip.com Branch Office Taipei, Taiwan Future Technology Devices International Limited (Taiwan) 2F, No 516, Sec. 1 NeiHu Road Taipei 114 Taiwan, R.O.C. Tel: +886 (0) 2 8797 1330 Fax: +886 (0) 2 8751 9737 E-mail (Sales) [email protected] E-mail (Support) [email protected] E-mail (General Enquiries) [email protected] Web Site URL http://www.ftdichip.com Branch Office Hillsboro, Oregon, USA Future Technology Devices International Limited (USA) 7235 NW Evergreen Parkway, Suite 600 Hillsboro, OR 97123-5803 USA Tel: +1 (503) 547 0988 Fax: +1 (503) 547 0987 E-Mail (Sales) [email protected] E-Mail (Support) [email protected] Web Site URL http://www.ftdichip.com Branch Office Shanghai, China Future Technology Devices International Limited (China) Room 408, 317 Xianxia Road, ChangNing District, ShangHai, China Tel: +86 (21) 62351596 Fax: +86(21) 62351595 E-Mail (Sales): [email protected] E-Mail (Support): [email protected] E-Mail (General Enquiries): [email protected] Web Site URL: http://www.ftdichip.com Copyright 2009 Future Technology Devices International Limited 12
Document Reference No.: FT_000201 FTDI Drivers Installation guide for MAC OSX Application Note AN_134 Version 1.0 Clearance No.: FTDI# 123 Distributor and Sales Representatives Please visit the Sales Network page of the FTDI Web site for the contact details of our distributor(s) and sales representative(s) in your country.
Neither the whole nor any part of the information contained in, or the product described in this manual, may be adapted or reproduced in any material or electronic form without the prior written consent of the copyright holder. This product and its documentation are supplied on an as-is basis and no warranty as to their suitability for any particular purpose is either made or implied. Future Technology Devices International Ltd will not accept any claim for damages howsoever arising as a result of use or failure of this product. Your statutory rights are not affected. This product or any variant of it is not intended for use in any medical appliance, device or system in which the failure of the product might reasonably be expected to result in personal injury. This document provides preliminary information that may be subject to change without notice. No freedom to use patents or other intellectual property rights is implied by the publication of this document. Future Technology Devices International Ltd, Unit 1, 2 Seaward Place, Centurion Business Park, Glasgow G41 1HH United Kingdom. Scotland Registered Number: SC136640
Document Reference No.: FT_000201 FTDI Drivers Installation guide for MAC OSX Application Note AN_134 Version 1.0 Clearance No.: FTDI# 123
Appendix A Abbreviations
Terms
PID VID USB WHQL OS
Description
Product ID, a unique product identification issued by the holder of the Vendor ID, a unique vendor identification number issued by the USB USB Universal Serial Bus WHQL Microsoft Windows Hardware Quality Labs Operating System
Document Reference No.: FT_000201 FTDI Drivers Installation guide for MAC OSX Application Note AN_134 Version 1.0 Clearance No.: FTDI# 123