Introduction
Currently at SLAC there are multiple FELIX readouts possible. The other twiki, shows the Direct-FELIX readout.
This one is dedicated to LpGBT based FELIX readout using Felix712 Board. With the instruction on this page you can readout out the following LpGBT boards:
VLDB+ Board | |
OptoBoard (Currently Not Available At SLAC | |
RCE Aggregator Readout (LpGBT Emulator) |
This documentation will be split into two sections of Felix712 setup, and LpGBT board specific setup.
FELIX Software Configuration and Setup
In order to use/setup FELIX, the following instructions needs to be executed at each individual FELIX PC. (PC that holds a FELIX712 board). Currently at SLAC there is only one FELIX PC, but this number might change in the future.
The FELIX PC setup is comprimised of following steps steps: Installing Felix Drivers, Installing FELIX software, Installing FELIX firmware, and configuring the FELIX software.
Installing FELIX Drivers:
Drivers can be found here: https://atlas-project-felix.web.cern.ch/atlas-project-felix/user/dist/software/driver/
We are currently using the following driver: tdaq_sw_for_Flx-4.7.0-2dkms.noarch.rpm
You can install the driver following the instruction here: https://atlas-project-felix.web.cern.ch/atlas-project-felix/user/felix-user-manual/versions/4.0.6/5_software_installation.html#_5_2_1_driver_rpm_installation_instructions
We don't need to update the FELIX driver regularly, and I don't recommend doing it unless there is a need due to FW changes.
Installing FELIX Software:
There are two ways of installing FELIX software, the easy and the hard way. The easy way is the recommended way, but currently we need to do the hardway setup as well due to some patch needed on felixcore (Feb 2022), whcih hopefully would be merged into master branch soon.
The currently installed felix sofware in itkpix@felix account is at: /home/itkpix/felix-sw/felix-05-00-xx-stand-alone
Easy Way (Pre-Compiled Packages):
Download the pre-complied FELIX library for centos7 from the website: https://atlas-project-felix.web.cern.ch/atlas-project-felix/user/dist/software/latest/
You should download a reg 5.0 version which looks like: felix-05-00-xx-stand-alone-x86_64-centos7-gcc8-opt.tar.gz
Un-tar the download file, and you should be able to use FELIX out of the box.
Hard Way (Compiled By Your Self) (Required to have the FLX-1613 patch applied):
Download the Felix software following the instructions at the git site. https://gitlab.cern.ch/atlas-tdaq-felix/software/blob/master/README.md
The instructions as of Feb 2022 Goes as:
git clone ssh://git@gitlab.cern.ch:7999/atlas-tdaq-felix/software.git <Directory Name for FELIX> cd <DIRNAMEFELIX> ./clone_all.sh export REGMAP_VERSION=0x0500 ###Most important step , you might want to add this information inside the source setup.sh to prevent calling it everytime source setup.sh cmake_config x86_64-centos7-gcc8-opt cd x86_64-centos7-gcc8-opt make -j4
To Apply the FLX-1613 Patch that is required for running perfect scans with the latest firmware follow these steps: (These steps are required for nicer scans but is not mendetory for making scans)
cd <DIRNAMEFELIX>/felixcore git checkout FLX-1613 cd <DIRNAMEFELIX>/x86_64-centos7-gcc8-opt make