Difference between revisions of "FELIX instructions for Petals"

From Atlas Wiki
Jump to navigation Jump to search
m (add commands)
m
Line 28: Line 28:
  
 
Start FELIXCore and don't close this terminal: <code>startFelixcore</code>
 
Start FELIXCore and don't close this terminal: <code>startFelixcore</code>
 +
 +
 +
 +
In a second remote terminal session ''cd'' into the ''petal-testing'' directory and then execute the following commands:
 +
 +
Configure the YARR dependencies: <code>source dependencies/setupYARR.sh</code>
 +
 +
Activate the AMAC:  <code>write_amac_ppb 9 1 0 0</code>
 +
 +
Confirm there is communication with the HCCs via a register dump scan: <code>python3 scantools/run_YARR.py -c scanSetup_regDump.json --infile-dir scantools/configs_PPB_Vancouver_R5</code>  '''twice''' (after the 2nd time, there shouldn't be lines like "There were no results for chip Stave_PPB_hcc1"

Revision as of 14:17, 15 May 2024

Back to DAQ systems


How to configure a petal (instructions taken from DESY repo https://gitlab.cern.ch/desy-atlas/itk/petal-testing):

cd into the petal-testing directory and then execute the following commands:

Setup the FELIX dependencies: source dependencies/setupFELIX.sh

Initialize the FLX card flx-init

Invert the polarity (for lpGBTv1): flx-config set GBT_RXPOLARITY=0xFFFFFFFF

Verify the status of the PODs: flx-info POD

Check that all connected links are aligned: flx-info GBT

If testing the PPB R5 Vancouver Petal:

Configure the elinks on your FELIX card: source configs/elinks/elinks_petal_R5_640Mbs.sh

Check your config: elinkconfig Click on Read Cfg, then you can Quit

Push the lpGBT config to the petal chipset: fice -G0 -I71 configs/lpgbt/lpgbt_PT_M_LH_V1_Pri_hex.cnf

Verify this has worked (you should see the line "Compared 336 values, found 0 differences"): fice -G0 -I71 -C configs/lpgbt/lpgbt_PT_M_LH_V1_Pri_hex.cnf

Start FELIXCore and don't close this terminal: startFelixcore


In a second remote terminal session cd into the petal-testing directory and then execute the following commands:

Configure the YARR dependencies: source dependencies/setupYARR.sh

Activate the AMAC: write_amac_ppb 9 1 0 0

Confirm there is communication with the HCCs via a register dump scan: python3 scantools/run_YARR.py -c scanSetup_regDump.json --infile-dir scantools/configs_PPB_Vancouver_R5 twice (after the 2nd time, there shouldn't be lines like "There were no results for chip Stave_PPB_hcc1"