Equipment

  • 3x MVLC (FRS) (labels: -0100, -0101, -0092)
    • registered on R3B VLAN
    • mvlc-0101 and mvlc-0092 fail a FW check with cmvlc
      • checked All (92, 100, 101) updated to firmware 0x0046.
  • 3x VULOM4C (EE) (labels: -17745, -17752, -17772)
    • with CPLD patches
    • with 3b935cc3 trloii fw
  • 3x VETAR2 (+spares) (labels: -vmel012t, -vmel015t, -vmel023t)
    • enigma FW
  • 3x VFTX2 (<R3B) (labels: -11061, -17685, -17645)
  • 3x DOFI (SFRS or EE) (labels: RA-8, RA-21, RA-22)
    • DOFI FW
  • 1x DOFI (R3B) (label: RA-26)
    • borrowed Pi3b+ from EE
  • 4x QSFP (EE)
  • 2x MPO patch cable (same)
  • 3x VME bin ( labels: R3B SOFIA2, VME006/30-32-94-00-08-69, R15C1)

Note: Number written after "-" was read from the white label attached to the module.

Documentation

Overview

Node Details

Node 0 "middle rack"
  • MVLC-0101 (MTL) is connected to R3B SC05 net.
  • DOFI RA-21 and RA-8 were used, RA-21 has fiber connection with RA-26, RA-8 has fiber connection with RA-22.
  • VETAR2A is connected WR (WRS-3/18 port 3).

Node 1 "left-side rack"
  • MVLC-0100 is connected to R3B SC05 net.
  • DOFI RA-22 was used, RA-22 has fiber connection with RA-8.
  • VETAR2A is connected WR (WRS-3/18 port 18).

Node 2 "right-side rack"
  • MVLC-0092 isconnected to R3B SC05 net.
  • DOFI RA-26 was used, RA-26 has fiber connection with RA-21.
  • VETAR2A is connected WR (WRS-3/18 port 4).

DOFI Configuration / DOFI Notes

Important Notes
  • "Auto Apply" in the DOFI GUI must be enabled before modifying the logic matrix.
  • For LEMO connections, the channel number used in the logical matrix is offset by +1 compared to the labelling on the DOFI front panel.
    • e.g: LEMO input/output 2 on the DOFI corresponds to input/output 3 in the logic matrix.
  • Configuration files are attached below.

Configuration Files

The attached .dof files can be loaded either:
  • directly from the DOFI GUI
  • or via command-line tools.
Files:

CLI Monitoring
  • A simple Python-based CLI rate monitor (dofistat.py) was implemented for DOFI monitoring, e.g. dofistat.py ra-22.
  • The tool displays live scaler/rate information per second for: Fiber input/output, LEMO input/output

Location: R3B Cave C

  • 3x VME bin
    • unchecked TODO: remote control
  • 1x WR switch
  • MBS network switch
  • need R3B network switch
    • unchecked TODO
  • LEMO, ECL cables
  • ENV modules

Server: land@epics0.r3b.gsi.de

  • cmvlc
  • drasi
  • trloii
  • nurdlib
    • unchecked TODO: cleanup needed before MRs
  • scripts and configs
  • unpacker
  • online analysis (pyh101/pyjsroot)

Issues (bugs)

  • Nurdlib cmvlc readout on triggers 14 and 15: no timestamps in VETAR.
    • Reason: trig 14 and 15 are software-generated - no pulses on front-panels sent. (As expected.) Modules should not be read...
    • Workaround: not generating cmvlc readout for triggers 14 and 15.
    • General: need to figure out 'tags' use in nurdlib with cmvlc. (Even if, at the end, not the solution for trig 14 and 15.)

  • Two entries in VETAR FIFO at high rates (3 MHz Poisson trigger)
    • Possible things to test:
      • Is it seen in all systems or just one?
      • Add a second (and third) redundant read of the FIFO count and see that they match.
      • Add a stack sleep (wait) command after e.g. the pop, such that next read if fifo count is for sure delayed. Or after all the VETAR reads. Or put the wait before the FIFO count read.
      • Do trigger requests in bursts. E.g. with a low rate, but then in rapid succession. More than two in rapid succession. See if issues appear at a certain succession rate.
      • Add a scaler to read a copy of the actual latch signal sent to the VETAR, to see if there are double-pulses.

  • TRIVA works with triva_event ... --triva, but not with the drasi/example/*cmvlc*mdpp or nurdlib.
    • Not really a relevant problem for SEP.
    • Late read issue?

  • SFP issue (where? MVLC Ethernet?)
    • Works with one network switch (model/brand?) but not another (model/brand?)?

  • trloctrl --mux-src-scalers sometimes showing weird values and differences
    • Only VULOM in crate with mvlc-0100
      • Swapped VULOM with mvlc-0092 one, problem moved with VULOM, probably hardware related.
    • Scalers up to internal index 127 work, 128 and higher do not work
    • Suspected: FPGA (hardware) issue. (Since working/non-working aligns with the internal scaler block structure.)
    • checked TODO: check if MVLC firmware upgrade helped (NO)
    • VULOM serial number: 17745

Mis-features

  • MVLC hostname given both on the drasi command line and nurdlib.cfg. Recipe for mistakes.
    • Possible solution: drasi gets it from nurdlib when compiled with nurdlib.
      • Drawback: hostname is in nurdlib.cfg file, which otherwise need not be updated if changing hosts.
    • Possible solution: nurdlib gets it from drasi when compiled with drasi.
      • Could be via mechanism (but fully internal, in fuser_drasi) similar to changing(overriding) parameters with nurdctrl, but happen on startup.

  • drasi+cmvlc+nurdlib readout with misbehaving module needs more error handling:
    • With a VFTX2 labelled with 'readout issue', it did not work too stably (not the fault of the readout smile ).
    • See ~/software/mvlc/mockup_tests/mvlc-0100/fail.tcpdump
    • More error handling is needed: the node hung half-alive for hours before it decided a reset was in order, and the init write failed.

  • drasi+cmvlc: Ctrl-C-ing a daq will sometimes lead to an assert_lock in cmvlc. However, it still kills the daq mode first, so it is more of a cosmetic issue.
Performing hardware cleanup (TRIVA HALT, RESET)...
Data frame with wrong type: 0xf1000030.
Supercmd reply with unexpected length: 18 != 51.
assert_lock called while we do not hold the lock. Sleep forever.

Todo

  • checked Try bidirectional DOFI.
    • LEMO IN 1-4 on DIFO A via optical to LEMO OUT 1-4 on DOFI B and vice versa.

  • checked mvlc-0092 to mvlc-0101 send the deadtime to MTL.

  • unchecked mvlc-0092 should send trigger requests to MTL.

  • checked VFTX2 nurdlib readout in one crate.

  • unchecked More documentation (wiki?)

  • checked Online monitoring/histogramming.

  • checked Recable mvlc-0100 to use DOFI. (Same configuration as mvlc-0092).

  • checked Cable one system to use diff (ECL/LVDS) signals between VULOM/TRLO II and MUPPET/DOFI.

  • unchecked Open and close files (time orderer) using lwrocctrl.

  • Send low-jitter signal between systems and measure using VFTX2s (sync'ed to 200 MHz clock).
    • checked Direct cable.
    • checked Using highland.

  • unchecked Command-line interface for DOFI?
    • CLI rate monitor was written in Python.

Data format

Sample data from early 1970:
00000420 03e1905f 04e17491 05e1e301 06e10000 f1a00003 babababa 81c00001
00000003 babababa e3010000 905f7491

  • six words of WR header
    • One word containing the White Rabbit ID (and an error marker)
    • Four words containing 16 bits of the TS each (and markers in the upper half of the word)
    • One word containing the sync value (plus a marker)

  • barrier word

  • a few words from the VULOM
    • tpat
    • sync
  • barrier word

  • VETAR
    • two words containing the timestamp (32 bits each, possibly with a weird byte order)

The FIFO count of the VETAR is asserted to be one during fetch and not written to the

Resolved

Move things down here from #OpenIssues when resolved. Perhaps delayed so as not to have to move up again if reopened...

Resolved Issues (bugs)

  • VME bus error with VETAR
    • roughly one in ~5k events
    • tried NIM->TTL, no change
    • TODO: add debugging of failed stack
    • TODO: late reads?
    • The FIFO count was empty for those events.
    • FIXED: Drawing on the wisdom of the ancients (i.e. traditional R3B vulom.trlo files), I now use ACCEPT_PULSE instead of MASTER_START for the VETAR gate.
    • Actual issue: trigger was generated with 'pending' triggers, which gives no MASTER_START. Was masked by dual trigger generation, also with TPAT trigger, which generated the trigger most of the time, giving a MASTER_START.

I Attachment Action Size Date Who Comment
Documentation file r4.pptxpptx Documentation file r4.pptx manage 638 K 2026-06-10 - 13:52 OguzhanKalafat  
Full setup documentation .pdfpdf Full setup documentation .pdf manage 466 K 2026-05-20 - 15:31 OguzhanKalafat  
Full setup documentation r2.pdfpdf Full setup documentation r2.pdf manage 445 K 2026-05-22 - 11:00 OguzhanKalafat  
Full setup documentation r3.pdfpdf Full setup documentation r3.pdf manage 458 K 2026-05-27 - 10:19 OguzhanKalafat  
Full setup documentation r4.pdfpdf Full setup documentation r4.pdf manage 662 K 2026-06-10 - 11:34 OguzhanKalafat  
Full setup documentation updated.pdfpdf Full setup documentation updated.pdf manage 466 K 2026-05-20 - 15:33 OguzhanKalafat  
Full setup documentation.pdfpdf Full setup documentation.pdf manage 407 K 2026-05-18 - 16:10 OguzhanKalafat  
Overview r2.pngpng Overview r2.png manage 176 K 2026-05-22 - 11:00 OguzhanKalafat  
Overview r3.pngpng Overview r3.png manage 180 K 2026-05-27 - 10:19 OguzhanKalafat  
Overview updated.pngpng Overview updated.png manage 183 K 2026-05-20 - 15:32 OguzhanKalafat  
Overview.pngpng Overview.png manage 183 K 2026-05-20 - 15:31 OguzhanKalafat  
overview r4.pngpng overview r4.png manage 262 K 2026-06-10 - 11:34 OguzhanKalafat  
ra21.dofdof ra21.dof manage 2 K 2026-05-20 - 16:05 OguzhanKalafat  
ra22.dofdof ra22.dof manage 2 K 2026-05-20 - 16:05 OguzhanKalafat  
ra26.dofdof ra26.dof manage 2 K 2026-05-20 - 16:05 OguzhanKalafat  
ra8.dofdof ra8.dof manage 2 K 2026-05-20 - 16:05 OguzhanKalafat  
Please login to edit this topic
Topic revision: r26 - 2026-06-10, OguzhanKalafat
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback | Legal notice | Privacy Policy (german)