DATV Install

From Hamspirit wiki
Jump to: navigation, search

D2XX driver install

Download driver from: http://www.ftdichip.com/Drivers/D2XX.htm appropriate for your system.

In the linux version archive, there is a ReadMe.txt file for the instructions.

For example: (this is for a 64bits linux)

tar xvfz libftd2xx1.1.12.tar.gz
cd release/
cd build/
cd x86_64/
sudo cp lib* /usr/local/lib
sudo chmod 0755 /usr/local/lib/libftd2xx.so.1.1.12
sudo ln -sf /usr/local/lib/libftd2xx.so.1.1.12 /usr/local/lib/libftd2xx.so
sudo ldconfig

Do not forget the ldconfig at the end.

Ignore the message about: "cp: Ommiting directory libusb"

Java install

Replace jdk1.7.0_51 with your version of the JDK.

Below is an example, for a 32bits linux.

run as root:

cd /opt
tar xvfz jdk-7u51-linux-i586.tar.gz
chown -R root.root /opt/jdk1.7.0_51/ 
ln -s /opt/jdk1.7.0_51/ /opt/jdk1.7.0

To verify run as user:

/opt/jdk1.7.0/bin/java -showversion

This should give you the java version and an options screen.

Find the correct USB VID and PID

$ lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 046d:c06a Logitech, Inc. 
Bus 002 Device 110: ID 0403:8a98 Future Technology Devices International, Ltd 

The data of the ftdi serializer in the above example are: vid=0x403 pid=0x8a98

These are the id's used by the TUMPA board. The digilite uses: vid=0x0403 pid=0x6010

Known problems

port already opened

If the port already opened, because it is claimed by a /dev/ttyUSB device driver, you can release it with

sudo modprobe -r ftdi_sio

returning the system to normal:

sudo modprobe  ftdi_sio

libusb couldn't open USB device /dev/bus/usb/002/113: Permission denied.

If you are not running as root, you can solve this by running:

sudo chmod o+w /dev/bus/usb/002/113

(this is dirty. i know)


digilite-zl mods

Remove FPGA, DSPic.


Tables with misc pinning below:

IQ pins

* (I) IC3:7,8,9 = IC1:23 (RB12) = J4:2  
* (Q) IC3:4,5,6 = IC1:22 (RB11) = J4:5
* (I') IC3:3 = IC1:21 (RB10) = J4:6 
* (Q') IC3:2 = IC1:18 (RB9) = J4:4 

FTDI pins

* (AD0) 207 = 
* (AD1) 210
* (AD2) 209
* (AD3) 212


bridges on IC3

* RB12