--
DavidCussans - 2021-09-20
Details
Date |
20/09/2021 |
Location |
University of Bristol lab |
People |
David C |
Test description
Test firmware+software for preliminary support of Ouroboros on Digilent Nesys Video board. Tags used for the software and firmware are listed below.
description of feature/fmc_test software:
https://dunescience.slack.com/archives/G01CH2K070X/p1631542783129600
timing - feature/fmc_test
timinglibs - v1.2.0
timing-board-firmware - relval/v6.0.0/b4
The hardware and the corresponding fibre connections used for the tests are listed below.
Digilent Nexsys Video Board + Rev-E timing FMC + SFP with "loop back fibre"
Software Setup
See:
https://dune-daq-sw.readthedocs.io/en/latest/packages/daq-buildtools/
source /cvmfs/dunedaq.opensciencegrid.org/setup_dunedaq.sh; setup_dbt dunedaq-v2.8.0; dbt-create.sh dunedaq-v2.8.0 work
cd work
dbt-workarea-env
pushd source/timing
git checkout feature/fmc_test
popd
dbt-build.sh
Loopback with Ouroboros with an FMC @ 62.5 MHz
Load firmware onto Nexsys Video from
https://pdts-fw.web.cern.ch/pdts-fw/index.php?p=mr%2F39%2Fpipeline3024994&view=ouroboros_nexys_video_mr39_sha-99d6a332_runner-slu9p8x4-project-19909-concurrent-3_210916_1908.tgz
Firmware is from
https://gitlab.cern.ch/dune-daq/timing/dune-timing-firmware
, commit 0e9c6205d5d3c29d2efcdd6e7ba86e1f257a5a1b
Edit connections.xml to point to IP address of Nexsys Video
The following master/endpoint commands executed successfully:
pdtbutler io ${MST} reset
pdtbutler mst ${MST} synctime
pdtbutler mst ${MST} part 0 configure
pdtbutler io ${EPT} reset
pdtbutler ept ${EPT} 0 enable -a 2
pdtbutler mst ${MST} align apply-delay 2 0 0 --force
pdtbutler mst ${MST} part 0 status
pdtbutler ept ${EPT} 0 status
N.B MST = EPT = PRIMARY
Expected Output
Unplugged fibre and checked that endpoint goes to state 0xE
Output with unplugged loopback fibre
Commands on account phdgc executed on cuthbert.phy.bris.ac.uk
cd DUNE/digilent_nexsys_video_tests/work
. dbt-env.sh
dbt-workarea-env
pdtbutler --connections connections.xml io PRIMARY reset
pdtbutler --connections connections.xml mst PRIMARY synctime
pdtbutler --connections connections.xml mst PRIMARY part 0 configure
pdtbutler --connections connections.xml ept PRIMARY 0 enable -a 2
pdtbutler --connections connections.xml ept PRIMARY 0 status
pdtbutler --connections connections.xml mst PRIMARY align apply-delay 2 0 0 --force
pdtbutler --connections connections.xml mst PRIMARY part 0 status
pdtbutler --connections connections.xml ept PRIMARY 0 status