-- DavidCussans - 2021-09-20


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
pushd source/timing
git checkout feature/fmc_test

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


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 
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
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2021-09-22 - DavidCussans
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CENF All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback