ft232.bitbang for Max/MSP [E]

This is a Max/MSP object (for Mac) which treats FTDI’s FT232R series as the 8 IO lines into an 8
bit bi-directional data bus with special mode named “Asynchronous Bit Bang Mode”.

You can connect LEDs or switches directly to FT232R as this video.
When Asynchronous Bit Bang mode is enabled the IO signal lines are configured as follows:
D0 TXD
D1 RXD
D2 RTS#
D3 CTS#
D4 DTR#
D5 DSR#
D6 DCD#
D7 RI#
Normal serial communication function is disabled during this mode.

This is Universal Binary but digital output function doesn’t work on PowerPC Mac. So still in alpha version…
>> download <<
(Tested on Mac OS X10.4+Max/MSP4.6 and Mac OS X10.4+Max/MSP5 / FT232RL, FT245RL)

install and start up
FTDI’s D2XX driver is required. You have to install it manually with Terminal.

  • If the /usr/local/lib directory does not exist, create it
    sudo mkdir /usr/local/lib
  • Copy the dylib file to /usr/local/lib
    sudo cp ~/Desktop/D2XX/bin/libftd2xx.0.1.6.dylib /usr/local/lib/libftd2xx.0.1.6.dylib
  • Make a symbolic link
    sudo ln -sf /usr/local/lib/libftd2xx.0.1.6.dylib /usr/local/lib/libftd2xx.dylib

Now your Mac is ready for this object. But this driver doesn’t work if there is FTDI’s VCP (Virtual COM Port) driver. If you have installed it (ex. If you have tried Arduino or Gainer), you have to unload it with Terminal.
sudo kextunload /System/Library/Extensions/FTDIUSBSerialDriver.kext

This driver will be loaded again when the computer is restarted. Or from Terminal,
sudo kextload /System/Library/Extensions/FTDIUSBSerialDriver.kext

27/03/2009 19:56 - kanta

  1. No comments yet.
(will not be published)
  1. No trackbacks yet.