Tams USB Setup macOS

Install Driver

Download and install the device driver for macOS:


RedBox

redbox-usb.jpg
The RedBox can be connected to the USB-2. (Default Silicon Labs product ID.)
The device name is: /dev/tty.SLAB_USBtoUART
Baudrate: 57600


Master Control

Because the device driver does not recognise the Tams Vendor and Product ID the end user must dive in to this setup procedure.

System Information

tams EasyControl:

  Product ID:	0x813f
  Vendor ID:	0x10c4  (Silicon Laboratories, Inc.)
  Version:	 1.00
  Serial Number:	00 002 898
  Speed:	Up to 12 Mb/sec
  Manufacturer:	Silicon Labs
  Location ID:	0x06200000 / 4
  Current Available (mA):	500
  Current Required (mA):	0

Add Vendor and Product

Open the Info.plist OS X 10.6+

sudo vi /System/Library/Extensions/SiLabsUSBDriver64.kext/Contents/Info.plist

Open the Info.plist OS X 10.5

sudo vi /System/Library/Extensions/SiLabsUSBDriver.kext/Contents/Info.plist

Insert the Tams MC section

                <key>Tams MC</key>
                <dict>
                        <key>CFBundleIdentifier</key>
                        <string>com.silabs.driver.CP210xVCPDriver64</string>
                        <key>IOClass</key>
                        <string>com_silabs_driver_CP210xVCPDriver64</string>
                        <key>IOKitDebug</key>
                        <integer>0</integer>
                        <key>IOMatchCategory</key>
                        <string>com_silabs_driver_CP210xVCPDriver64</string>
                        <key>IOProviderClass</key>
                        <string>IOUSBInterface</string>
                        <key>New Interface Detected Action</key>
                        <string>None</string>
                        <key>USB Product Name</key>
                        <string>EasyControl</string>
                        <key>bConfigurationValue</key>
                        <integer>1</integer>
                        <key>bInterfaceNumber</key>
                        <integer>0</integer>
                        <key>idProduct</key>
                        <integer>33087</integer>
                        <key>idVendor</key>
                        <integer>4292</integer>
                </dict>

Reload the device driver

sudo kextload -t /System/Library/Extensions/SiLabsUSBDriver64.kext/

The device

$ ls /dev/tty.*
/dev/tty.SLAB_USBtoUART

Auto load

The cache must be updated for the modified Info.plist.
The easiest way to accomplish this is to reboot OS X in Safe Mode:

  • Hold down the shift key until the Apple Logo appears. This takes some time.
  • Reboot again, in normal mode, when the Login dialog appears.

Rocrail setup


Server trace

20130320.151412.072 r9999I main     OControl 1140 initDigInts lib="tamsmc" idd="tamsmc-1"
20130320.151412.073 r9999I main     OTamsMC  0357 ----------------------------------------
20130320.151412.073 r9999I main     OTamsMC  0358 tamsmc 2.0.99
20130320.151412.073 r9999I main     OTamsMC  0359 iid    = tamsmc-1
20130320.151412.073 r9999I main     OTamsMC  0360 ----------------------------------------
20130320.151412.073 r9999I main     OTamsMC  0369 try to load [../p50x]
20130320.151412.073 r9999I main     OP50x    1784 ----------------------------------------
20130320.151412.073 r9999I main     OP50x    1785 p50x 2.0.0
20130320.151412.074 r9999I main     OP50x    1786 ----------------------------------------
20130320.151412.074 r9999I main     OP50x    1788 iOP50x[tamsmc-1]: /dev/tty.SLAB_USBtoUART,57600,none,8,2,cts
20130320.151412.074 r9999I main     OP50x    1792 p50x timeout=1000
20130320.151412.074 r9999I main     OP50x    1793 p50x ctsretry=1000
20130320.151412.074 r9999I main     OP50x    1794 p50x readbidi=0
20130320.151412.074 r9999I main     OP50x    1795 p50x readfb=1
20130320.151412.074 r9999I main     OP50x    1796 p50x fbmod=0
20130320.151412.074 r9999I main     OP50x    1797 p50x poll sleep=200
20130320.151412.074 r9999I main     OP50x    1798 p50x swtime=250
20130320.151412.074 r9999I main     OP50x    1799 ----------------------------------------
20130320.151412.074 r9999I main     OSerial  0196 rocs_serial_open:open rc=0 read=0 write=0 [0] [OK]

Links


Personal Tools