Difference between revisions of "PC Drivers"
(→Linux) |
|||
Line 59: | Line 59: | ||
Modify the Makefile if necessary | Modify the Makefile if necessary | ||
+ | |||
+ | |||
+ | |||
+ | 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 |
Revision as of 16:46, 25 April 2014
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.
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++/branches/Linux
Make the LogicBox accessible to all users
echo SUBSYSTEMS=='"'usb'"', ATTRS{idVendor}=='"'16dc'"', ATTRS{idProduct}=='"'0013'"', 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
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
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