Modified from Intan C++/Qt source code for RHD2000 interface software, version 1.5
Compiling unmodified Intan evaluation board software Steps to compile on Ubuntu 14.04 (starting from fresh download from Intan), some steps taken from Intan_README.txt
-
Navigate to
source/
-
cp ../Opal\ Kelly\ library\ files/Linux\ 64-bit/libokFrontPanel.so .
-
In
RHD2000interface.pro
file, add a lineLIBS += -L./ -l okFrontPanel -ldl
This way the generated Makefile by qmake have the correct linker flags to find
okFrontPanel
andlibdl
libraries. -
Do
qmake-qt4
. -
In production systems, change the
-02
flag into-03
for bothCXXFLAGS
andCFLAGS
line in the Makefile.
Running make
should now be successful.
Installing USB Drivers:
Linux drivers can be downloaded from Intan website.
-
Extract and follow the
LINUX_README.txt
instructions to add a udev rule to allow USB access to the attached Opal Kelly devices. -
This is not enough. The
libFrontPanel.so
library is linked againstlibudev0
. Ubuntu 14.04 only supplieslibudev1
. So, go download alibudev0
debian package and manually install it withdpkg -i <package_name>
.
All versions of bitfiles for the FPGA live in bitfiles/
.
originaIntanMain.bit
is the main.bit
file that comes from their website. Before running the evaluation board, one of the bit files must be copied to the source directory and renamed to main.bit
.
Modified Interface Software
To compile the modified interface software:
-
Replace the
main.bit
file insource/
with the appropriate ones frombitfiles/
directory. -
Replace the
libokFrontpanel.so
,okFrontPanelDLL.h
, andokFrontPanelDLL.cpp
from the appropriate folder fromOpalKellyLibraryFiles/
folder.XEM6010/
contains those for XEM6010-LX45 (unmodified Intan),XEM6310/
contains those for XEM6310-LX150.
Additions for USB3
Detects whether the connected Opal Kelly board is LX-45 or LX-150. USB3 mode is used for LX-150