]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
edited comments in startup script
authorHadaq in Frankfurt <hadaq@frankfurt>
Thu, 7 Feb 2013 15:22:46 +0000 (16:22 +0100)
committerHadaq in Frankfurt <hadaq@frankfurt>
Thu, 7 Feb 2013 15:22:46 +0000 (16:22 +0100)
base/startup_example.sh

index 23d7cb83148d3de5ed238f67a79ac1e999112492..517128807d371ad5b25cc40912b77635d65b2495 100755 (executable)
@@ -12,31 +12,31 @@ trbcmd s 0x1700000390382028 3 0x0203
 trbcmd s 0xdc00000390380c28 5 0x8000
 
 ##### Ethernet and UDP #######
-trbcmd w 0x8000 0x8300 0x8000
+trbcmd w 0x8000 0x8300 0x8000        #Subsystem ID in data files, should be equal to address
 trbcmd w 0x8000 0x8301 0x00020001
 trbcmd w 0x8000 0x8302 0x00030062
-trbcmd w 0x8000 0x8303 0xea60
-trbcmd w 0x8000 0x8304 0x2260
-trbcmd w 0x8000 0x8305 0x1
+trbcmd w 0x8000 0x8303 0xea60        #Maximum UDP packet size (<62 kB!)
+trbcmd w 0x8000 0x8304 0x2260        #Maximum Ethernet frame size
+trbcmd w 0x8000 0x8305 0x1           #Enable GbE
 trbcmd w 0x8000 0x8306 0x0
-trbcmd w 0x8000 0x8307 0x0
+trbcmd w 0x8000 0x8307 0x0           #Pack multiple events in one packet to reduce overhead
 trbcmd w 0x8000 0x8308 0xffffff
 trbcmd w 0x8000 0x830b 0x7
 trbcmd w 0x8000 0x830d 0x0
 
 #mac address of the EB
 # cbmpc026_eth0: 90:f6:52:03:8f:c4
-trbcmd w 0x8000 0x8100 0x52038fc4 # lower 4 bytes
+trbcmd w 0x8000 0x8100 0x52038fc4    # lower 4 bytes of receiver Max
 trbcmd w 0x8000 0x8101 0x90f6 #upper byte
 
 # destination port and source IP and so on
 trbcmd w 0x8000 0x8102 0xc0a80001 # destination IP 192.168.0.1
 trbcmd w 0x8000 0x8103 0xc350     # destination port: 50000
 trbcmd w 0x8000 0x8104 0xdead8001 # source IP
-trbcmd w 0x8000 0x8105 0x0230     # source port
+trbcmd w 0x8000 0x8105 0x0230     
 trbcmd w 0x8000 0x8106 0xc0a80072
-trbcmd w 0x8000 0x8107 0xc350
-trbcmd w 0x8000 0x8108 0x0578
+trbcmd w 0x8000 0x8107 0xc350     # source port
+trbcmd w 0x8000 0x8108 0x0578     #ignore
 
 
 #####  TDC  #######