PC Drivers

From LogicBox
Revision as of 14:17, 19 May 2014 by Rubio (talk | contribs)
Jump to: navigation, search

The LogicBox communicates with the PC through a USB interface. Depending on the LogicBox model different drivers will be needed. The main platform supported is windows. Even though there are drivers and software for Linux (for the LogicBox DL701 and DL708) we cannot help if you are having troubles with it.


DL701 and DL708

This LogicBox uses a USB 1.1 chip from FTDI. This LogicBox model works under Linux, Mac and Windows.


Linux Installer

Mac Installer

Windows XP/7/32-Bits/64-Bits Installer

DL706 and DL709

This LogicBox uses a USB 2.0 chip from Cypress.

Windows

New driver for Windows 7 64-Bits with Digital Signature!

Windows XP/7/32-Bits/64-Bits Installer

Linux

The LogicBox is now running under Linux. All test are done with ubuntu but should work with others Linux distributions. The open source library "libusb " is used in order to control the LogicBox. To install the library and give access to the LogicBox to all user follow this installations instructions:

Install the libusb library

 sudo apt-get install libusb-dev libusb-1.0-0-dev libusb-1.0-0

Install the C++ compiler

sudo apt-get install g++

Install the LogicBox source code

 sudo apt-get install subversion
 svn checkout http://hwstar.physi.uni-heidelberg.de/svn/LB_C++/trunk/

Make the LogicBox accessible to all users

 echo SUBSYSTEMS=='"'usb'"', ATTRS{idVendor}=='"'16dc'"', ATTRS{idProduct}=='"'0013'"', GROUP='"'plugdev'"', MODE='"'0660'"' > 20-LogicBox.rules
 echo SUBSYSTEMS=='"'usb'"', ATTRS{idVendor}=='"'0403'"', ATTRS{idProduct}=='"'6001'"', GROUP='"'plugdev'"', MODE='"'0660'"' >> 20-LogicBox.rules
 sudo mv 20-LogicBox.rules /etc/udev/rules.d/

Check the libusb installation library

Check the LogicBox. It should show one USB device with ID 0013:16dc

 lsusb


Compiling the projects using a makefile

Compile one example and run it. The example test_LB_C++ shows how many LogicBoxes are connected in the system, try to open the first one and read the FPGA firmware compilation date.

make test_LB_C++
bin/test_LB_C++


Modify the Makefile if necessary


Compiling the projects using Eclipse

download the lastest version of Eclipse IDE for C/C++ Developers

 Linux 64-Bits
 http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/SR2/eclipse-cpp-kepler-SR2-linux-gtk-x86_64.tar.gz
 Linux 32-Bits
 http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/SR2/eclipse-cpp-kepler-SR2-linux-gtk.tar.gz


switch the workspace to the code folder "Linux/eclipse". The test_LB_C++ project should be load. Check that under "Test_apps" only one file is include to be build. And run the application

Check if JAVA runtime engine is installed

 java -version
 sudo apt-get install default-jre