DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
This Document contains procedure on how to enable control and readout of the AMCs in the event the server loose connection to the uTCA crates or the crates are connected for the first time. Documentation uses the TDE test crate IP in the examples.
First, ensure the host machine for reading out the AMCs is correctly setup (readout server for the test crate is np02-srv-002).
Should show some NICs using the DPDK compatible drivers. If there are none, then run
Next, make sure the uTCA crate is pingable from the host machine for controlling the AMCs (np04-srv-011). if you get no response doing
then the 10G interface needs to be configured through nmcli
(contact sysadmins). (was there any other steps to do here?)
If the above is correctly setup, perform a first time boot of the AMCs. This requires sending ARP commands through the same network interface used to readout the the AMCs. To do so, start a run with the only the readout application enabled for the. For the test crate this involves disabling the tde crate application in the segment file (segments/tde-testcrate.data.xml
):
and run drunc
Now commands can be sent to the AMCs to initialize them (how is this done?)
The run can now be stopped
It should now be possible to send commands to the AMCs using the modules provided in tdemodules
.
Undo the changes to segments/tde-testcrate.data.xml
!
You should be able to send commands and get the status of the AMCs using test_amc_status.py
from the host machine for controlling the AMCs (np04-srv-011)
and this should not produce any error messages in the printout.
Ensure the timing is initialized for the frontend electronics
The system should be fully setup and a run can be taken. For the TDE test crate: