### set addresses of FPGAs ###
-trbcmd s 0x6c00000a62958028 0x01 0xc000
+#trbcmd s 0x6c00000a62958028 0x01 0xc000
+trbcmd s 0x4f0000094093c328 0x01 0xc000
trbcmd s 0x0000719900202941 0x01 0xa000
+trbcmd s 0x0000509f00202941 0x01 0xa001
+#trbcmd s 0x0000719900202941 0x01 0xa000
##################################################################################
0xc000 0 0xc000 1 0 0xffffff 1
0xa000 0 0xa000 1 0 0xffffff 1
+ 0xa001 0 0xa001 1 0 0xffffff 1
##########################################################################################################################
# 0xff7f 1 0x00020001 0x00030062 0x578 1 59800 200 32000 60000
0xa000 1 0x00020009 0x00030062 0x578 1 59800 200 32000 60000
+ 0xa001 1 0x00020009 0x00030062 0x578 1 59800 200 32000 60000
#!/bin/bash
-export DAQOPSERVER=jspc29:31
+export DAQOPSERVER=jspc29:150
export PATH=$PATH:/local/trbsoft/trbnettools/bin/
trbcmd reset
trbcmd w 0xc000 0xa13b 0x000186a0 #1 kHz pulser
trbcmd w 0xc000 0xa144 0x80 #use trigger type 8
-trbcmd clearbit 0xa000 0x22 0x80000000 #no ref time
-trbcmd w 0xa000 0x7111 0x2ee0 # max 12000 words
+trbcmd clearbit 0xfe82 0x22 0x80000000 #no ref time
+trbcmd w 0xfe82 0x7111 0x2ee0 # max 12000 words
#../scripts/basicsettings.sh
-trbcmd w 0xa000 0xa100 0x000 #enable word alignment
+trbcmd w 0xfe82 0xa100 0x000 #enable word alignment
sleep .2
-trbcmd setbit 0xa000 0xa100 0x100 #Word alignment off
+trbcmd setbit 0xfe82 0xa100 0x100 #Word alignment off
-trbcmd w 0xa000 0xde00 30 #I2C speed
-trbcmd w 0xa000 0xde05 0x100 #Mimosis reset
+trbcmd w 0xfe82 0xde00 30 #I2C speed
+trbcmd w 0xfe82 0xde05 0x100 #Mimosis reset
echo "done"