]> jspc29.x-matter.uni-frankfurt.de Git - mimosis_chain.git/commitdiff
added standalone to trbnet startup
authorMaps <maps@ikf>
Thu, 12 Dec 2024 10:38:09 +0000 (11:38 +0100)
committerMaps <maps@ikf>
Thu, 12 Dec 2024 10:38:09 +0000 (11:38 +0100)
trbnet/addresses.sh
trbnet/register_configgbe.db
trbnet/register_configgbe_ip.db
trbnet/start.sh

index 581e567eeea36d2dc3ba64f5a7122362876d0801..c379d8b3bc112689cc25bfdfb69f2a7a1f8e2a73 100755 (executable)
@@ -9,6 +9,8 @@
     trbcmd s  0x4f0000094093c328  0x01 0xc000
     trbcmd s  0x0000719900202941  0x01 0xa000
     trbcmd s  0x00000c8300202941  0x01 0xa001
+#elif [[ "$DAQOPSERVER" == "jspc29:7" ]]; then
+    trbcmd s  0x0000e34f001f2941 0x01 0xc200
 #elif [[ "$DAQOPSERVER" == "jspc29:31" ]]; then
     #Probestation setup
     trbcmd s  0x6c00000a62958028  0x01 0xc100
index 86f61847da7b20aec128e4615efa562f34900cb1..9ed4f72b282a7b5b5326c32a290cab9c6bae0434 100644 (file)
   0xa000      0       0xa000        1            0        0xffffff         1
   0xa001      0       0xa001        1            0        0xffffff         1
   0xa100      0       0xa100        1            0        0xffffff         1
+  0xf575      0       0xa100        1            0        0xffffff         1
+  0xc200      0       0xc200        1            0        0xffffff         1
 
   
 
-#These values to not need to be written - for completeness only  
+#Set bits for standalone GbE
 #                    SubEvtDec     QueDec     FrameSize   RX enable    SubEvtSize   Evt/Queue    QueueClose  MaxQueueSize
 # Hub    #  Type  #     C0     #     C1     #     C2    #     C3     #     C4     #     C5     #     C6     #     C7     #
 ##########################################################################################################################
@@ -28,4 +30,6 @@
   0xa000      1      0x00020009   0x00030062     0x578         1         59800         200        32000         60000
   0xa001      1      0x00020009   0x00030062     0x578         1         59800         200        32000         60000
   0xa100      1      0x00020009   0x00030062     0x578         1         59800         200        32000         60000
+  0xf575      1      0x00020009   0x00030062     0x578         1         59800         200        32000         60000
 
+#  0xc200      1      0x00020009   0x00030062     0x578         1         59800         200        32000         60000
index eab83ca273a18908dde10d37cf1ca27d7c79dd4d..91ae9bafcd3283af1b0fcb31eb5eb32114724507 100644 (file)
@@ -28,6 +28,7 @@
 # Hub    #  Type  #     C0     #     C1     #     C2     #     C3     #     C4     #
 ####################################################################################
 
+
  0xc000        0    0xbacdb959     0x90e2     0xc0a80025     50301      0xc350
  0xa000        0    0xbacdb959     0x90e2     0xc0a80025     50302      0xc350
  0xa001        0    0xbacdb959     0x90e2     0xc0a80025     50303      0xc350
@@ -35,5 +36,8 @@
  0xc100        0    0xbacdb959     0x90e2     0xc0a80025     50310      0xc350
  0xa100        0    0xbacdb959     0x90e2     0xc0a80025     50311      0xc350
 
+ 0xf575        0    0xbacdb959     0x90e2     0xc0a80025     50312      0xc350
+
+ 0xc200        0    0xbacdb959     0x90e2     0xc0a80025     50320      0xc350
 
 
index efad7cddb0d9a87d766ef892398bd83dca6881b6..c453763179deff67382561b120346c7d341d61e8 100755 (executable)
@@ -6,19 +6,22 @@ trbcmd reset
 ./addresses.sh
 
 trbcmd w 0xfe82 0xc309 0
+
 /d/jspc37/trbsoft/daqtools/tools/loadregisterdb.pl register_configgbe.db
 /d/jspc37/trbsoft/daqtools/tools/loadregisterdb.pl register_configgbe_ip.db
 #sleep 1
 #./conf_cts.sh ### here you could call a cts settings dump ...
 #./conf_tdcs.sh
 
-trbcmd w 0xc000 0xa146 0x000186a0   #1 kHz pulser
-trbcmd w 0xc000 0xa14f 0x80         #use trigger type 8
-trbcmd clearbit 0xfe82 0x22 0x80000000  #no ref time
-trbcmd w 0xfe82 0x7111 0x2ee0     # max 12000 words
+trbcmd w 0xc000 0xa146 0x000186a0   #1 kHz pulser
+trbcmd w 0xc000 0xa14f 0x80         #use trigger type 8
+trbcmd clearbit 0xfe82 0x22 0x80000000  #no ref time
+trbcmd w 0xfe82 0x7111 0x2ee0     # max 12000 words
 
 #../scripts/basicsettings.sh
 
+trbcmd w 0xfe82 0xa009 0x000 #disable input cnt
+trbcmd w 0xfe82 0xa100 0x000 #enable word alignment
 trbcmd w 0xfe82 0xa100 0x000 #enable word alignment
 sleep .2
 trbcmd setbit 0xfe82 0xa100 0x100   #Word alignment off