trbcmd w 0xc000 0xa146 0x000186a0 #1kHz pulser
trbcmd loadbit 0xc000 0xa14f 0x000000f0 0x00000080 #trigger type 8
trbcmd setbit 0xc000 0xa101 0x2 #trigger on
-elif [[ "$DAQOPSERVER" == "jspc29:31" ]]; then
+elif [[ "$DAQOPSERVER" == "jspc29:109" ]]; then
#Probestation setup
- trbcmd w 0xc100 0xa13b 0x000186a0 #1kHz pulser
+ trbcmd w 0xc100 0xa12b 0x000061a7 #1kHz pulser
trbcmd loadbit 0xc100 0xa144 0x000000f0 0x00000080 #trigger type 8
trbcmd setbit 0xc100 0xa101 0x2 #trigger on
+elif [[ "$DAQOPSERVER" == "jspc29:7" ]]; then
+ #Standalone setup
+ trbcmd w 0xc200 0xa13b 0x000186a0 #1kHz pulser
+ trbcmd loadbit 0xc200 0xa144 0x000000f0 0x00000080 #trigger type 8
+ trbcmd setbit 0xc200 0xa101 0x2 #trigger on
else
echo "problem.."
fi
cd -
echo Load basic settings
-mimosis -c 0 -f 0xfe82 -a load -w ./conf/CONF_allregisters_norsclk.pl; sleep .1
+mimosis -c 0 -f 0xfe82 -a load -w ./conf/CONF_allregisters.pl; sleep .1
mimosis -c 0 -f 0xfe82 -a load -w ./conf/CONF_testmode_enable.pl; sleep .1
echo Bit and word align
trbcmd s 0x0000e34f001f2941 0x01 0xc200
#elif [[ "$DAQOPSERVER" == "jspc29:31" ]]; then
#Probestation setup
- trbcmd s 0x6c00000a62958028 0x01 0xc100
+ trbcmd s 0x0000702c00202941 0x01 0xc100
+ # trbcmd s 0x6c00000a62958028 0x01 0xc100
trbcmd s 0x0000509f00202941 0x01 0xa100
#fi
-#Set bits for standalone GbE
+#Set bits for endpoint with GbE
# SubEvtDec QueDec FrameSize RX enable SubEvtSize Evt/Queue QueueClose MaxQueueSize
# Hub # Type # C0 # C1 # C2 # C3 # C4 # C5 # C6 # C7 #
##########################################################################################################################
trbcmd w 0xfe82 0xde00 30 #I2C speed
trbcmd w 0xfe82 0xde05 0x100 #Mimosis reset
+trbcmd w 0xfe82 0x22 0x20000000
+
echo "done"
trbcmd i 0xffff