Project

General

Profile

Running the development system

Connecting to the ROC's console

screen /dev/ttyUSB0 115200

To reset the ROC:
R
S
T
U

also "a" does something too.

Chants for testing the system

Setting up the development area on mu2edaq01:

source /home/mu2edaq/setupMrbArea.sh

Environment variables used by libDTCInterface

export DTCLIB_SIM_ENABLE=N # Most common value for testing with a single DTC. Enables one ROC on Ring 0, sets internal timing mode
                           # See DTC_Types.h for other potential values
export DTCLIB_SIM_FILE=$MRB_SOURCE/pcie_linux_kernel_module/dtcInterfaceLib/test/testdata.bin # Binary file in DMA format: 64-bit DMA byte count followed by data blocks (Header packet + data packets).

mu2eUtil command lines

# Test the Detector Emulator mode (use the exports above)
mu2eUtil buffer_test -n 10 -e # Should print back the contents of the dma file. If n is greater than the number of DMAs in the file, there should be blank buffer reads