From: Hadaq Hades Date: Thu, 22 Feb 2018 16:44:17 +0000 (+0100) Subject: remove old start TRB2 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=ed7501a0e76cdef7ee7e8e92ba98c0ee794e0400;p=hadesdaq.git remove old start TRB2 --- diff --git a/main/main_hades.script b/main/main_hades.script index 35f86a6..9750215 100644 --- a/main/main_hades.script +++ b/main/main_hades.script @@ -45,18 +45,17 @@ read_addrange_db ../main/address_range.db !ifndef CONFIGONLY # Program CTS,SCS,TOF FPGA exec_cmd{local} echo "Programming TRB-FPGA" -# exec_cmd{scs} jam_trbv2 --trb -aRUN_XILINX_PROC /home/hadaq/mdc_oepb/stapl/trb2_control_20101110.stapl exec_cmd{wall} jam_trbv2 --trb -aRUN_XILINX_PROC /home/hadaq/tof/fpga/20120305_tof.stapl exec_cmd{rpc} jam_trbv2 --trb -aRUN_XILINX_PROC /home/hadaq/rpc/fpga/20120323_rpc_a.stapl exec_cmd{tof} jam_trbv2 --trb -aRUN_XILINX_PROC /home/hadaq/tof/fpga/20120305_tof.stapl - exec_cmd{start} jam_trbv2 --trb -aRUN_XILINX_PROC /home/hadaq/tof/fpga/20120305_tof.stapl - exec_cmd{veto} jam_trbv2 --trb -aRUN_XILINX_PROC /home/hadaq/tof/fpga/20120305_tof.stapl + #exec_cmd{start} jam_trbv2 --trb -aRUN_XILINX_PROC /home/hadaq/tof/fpga/20120305_tof.stapl + #exec_cmd{veto} jam_trbv2 --trb -aRUN_XILINX_PROC /home/hadaq/tof/fpga/20120305_tof.stapl wait # Program 1st AddOn FPGA exec_cmd{local} echo "Programming FPGA1" exec_cmd{hub} jam_trbv2 --addononly -aFP /home/hadaq/hub/hub2_fpga1_single_20140818.stp - exec_cmd{hubcts} jam_trbv2 --addon -aFP /home/hadaq/hub/hub2_fpga1_full_20110517.stp + #exec_cmd{hubcts} jam_trbv2 --addon -aFP /home/hadaq/hub/hub2_fpga1_full_20110517.stp exec_cmd{cts} jam_trbv2 --addononly -aFP /home/hadaq/cts/20140422_cts_fpga1_only_etrax_a.stp wait @@ -64,8 +63,8 @@ read_addrange_db ../main/address_range.db exec_cmd{local} echo "Programming FPGA2" exec_cmd{hub} jam_trbv2 --addononly -aFP /home/hadaq/hub/hub2_fpga2_single_20120221.stp # multievent test - # exec_cmd{hub} jam_trbv2 --addononly -aFP /home/hadaq/hub/hub2_fpga2_single_20111121.stp # proper one - exec_cmd{hubcts} jam_trbv2 --addon -aFP /home/hadaq/hub/hub2_fpga2_full_20111121.stp #experimental + #exec_cmd{hub} jam_trbv2 --addononly -aFP /home/hadaq/hub/hub2_fpga2_single_20111121.stp # proper one + #exec_cmd{hubcts} jam_trbv2 --addon -aFP /home/hadaq/hub/hub2_fpga2_full_20111121.stp #experimental exec_cmd{cts} jam_trbv2 --addononly -aFP /home/hadaq/cts/20140422_cts_fpga2_only_etrax_a.stp wait diff --git a/start/addresses_start.db b/start/addresses_start.db deleted file mode 100644 index 72301db..0000000 --- a/start/addresses_start.db +++ /dev/null @@ -1,6 +0,0 @@ -#Address # S/N # FPGA # Design # TRB # -################################################### -0x4000 082 1 17 082 -0x4010 107 1 21 107 -0x4001 076 1 21 076 - diff --git a/start/configure_startveto.script b/start/configure_startveto.script deleted file mode 100644 index d1fd505..0000000 --- a/start/configure_startveto.script +++ /dev/null @@ -1,8 +0,0 @@ - -exec_cmd spi_trbv2_3 /home/hadaq/start_and_veto/thresholds_test_apr12_${TRBNUM} - -exec_cmd cd /home/hadaq/scripts/; ./trbv2_TDCs_configure.sh ${TRBNUM} - -exec_cmd rw_trbv2 --trb w 0 c2 007E0000; rw_trbv2 --trb w 0 c0 0a000000; rw_trbv2 --trb w 0 c3 00000100# C0(31-24 ) delay trigger *25 ns; C2(23-16) delay token * 25ns; C2(31-24) data version; c2 007E0x00 x-high res mode; - - diff --git a/start/serials_start.db b/start/serials_start.db deleted file mode 100644 index 471bec9..0000000 --- a/start/serials_start.db +++ /dev/null @@ -1,8 +0,0 @@ -#Serial numbers of start/veto trbs and their unique ids - -# s/n # unique id -########################### - 082 0xe2000001fc5dbd28 - 107 0x59000001c1711828 - 076 0x36000001fc5df528 - diff --git a/start/startup.script b/start/startup.script index a074c72..bc50b37 100644 --- a/start/startup.script +++ b/start/startup.script @@ -3,15 +3,12 @@ #Set all addresses !ifndef RESTART - set_addresses serials_start.db addresses_start.db #addresses for Start/Veto TRB +# set_addresses serials_start.db addresses_start.db #addresses for Start/Veto TRB set_addresses serials_start_trb3.db addresses_start_trb3.db #addresses for Start/Veto TRB !endif #Switch off Veto TRB2 -trbcmd clearbit 0x8801 0xc0 0x8 -trbcmd clearbit 0x8801 0xc1 0x8 -trbcmd clearbit 0x8801 0xc3 0x8 #TRB3 settings diff --git a/start/trb.db b/start/trb.db deleted file mode 100644 index 0dc8a9f..0000000 --- a/start/trb.db +++ /dev/null @@ -1,3 +0,0 @@ -start etraxp082 -start etraxp076 -veto etraxp107