FTDI Configuration
The FTDI Chip provides a USB interface for common micro-controllers and is included many prototyping toolkits, such as Arduino.Installation
There are three ways to communicate with FTDI devices connected via USB:Name | Device Access | Documentation |
---|---|---|
Virtual Com Port (VCP) | AMSerialPort | AMSerialPort Documentation |
D2XX | Direct | D2XX Documentation |
LibFTDI | Direct | LibFTDI Documentation |
Virtual Com Port (VCP)
The Virtual Com Port is provided via a Kernel Extension (/System/Library/Extensions/FTDIUSBSerialDriver.kext). The Extension provides access to connected devices through a COM port located at /dev/tty.usbserial-DEVICEID or /dev/cu.usbserial-DEVICEID.After installing the VCP Kernel Extension, direct access to FTDI devices via D2XX or LibFTDI is no longer possible.
The VCP can be configured by editing /System/Library/Extensions/FTDIUSBSerialDriver.kext/Contents/Info.plist (see FTDI Tech Note 105 for a complete reference). The computer must be restarted to apply changes. Download pre-configured low-latency Configuration for Arduinos (add to IOKitPersonalities dict).