Project

General

Profile

ESB DAQ » History » Version 17

Simona Malace, 09/02/2020 05:01 PM

1 2 Alexandre Camsonne
1. ESB DAQ
2 1 Alexandre Camsonne
3
Computers
4
5
simonadaq
6
7 3 Alexandre Camsonne
clrlpc 
8 1 Alexandre Camsonne
9
CPU : solidesbdaq
10
11 2 Alexandre Camsonne
VTP : esbvtp 129.57.36.253
12 1 Alexandre Camsonne
13 2 Alexandre Camsonne
VXS crate : esbvxs
14 4 Mark Jones
15
16
2. FADC cabling
17
18 13 Simona Malace
Slot 3  : Chan 0-7  : Cer14-5,13-4,13-3,13-2,13-1,13-5,12-4,12-3
19
Slot 3  : Chan 8-15  : Cer12-2,12-1,12-5,11-4,11-3,11-2,11-1,11-5   
20 9 Mark Jones
21
Slot 4  : Chan 0-7  : Cer 33-1,33-5,23-4,23-3,23-2,23-1,23-5,24-4
22
Slot 4  : Chan 8-15  : Cer 24-3,24-2,24-1,24-5,14-4,14-3,14-2,14-1
23
24 17 Simona Malace
Slot 5  : Chan 0-7  : Cer nothing,43-1,43-5,44-4,44-3,44-2,44-1,44-5 
25 9 Mark Jones
Slot 5  : Chan 8-15 :  Cer 34-4,34-3,34-2,34-1,34-5,33-4,33-3,33-2
26
27
Slot 6  : Chan 0-7  : Cer 31-3,31-2,31-1,31-5,41-4,41-3,41-2,41-1
28 17 Simona Malace
Slot 6  : Chan 8-15  : Cer 41-5,42-4,42,-3,42-2,42-1,42-5,43-3,43-2
29 9 Mark Jones
30 4 Mark Jones
Slot 7  : Chan 0-7  : C7-4,C7-3,C7-2,C7-1,C6-4,C6-3,C6-2,C6-1
31
Slot 7  : Chan 8-15 : C5-4,C5-3,C5-2,C5-1,C4,C3,C2,C1
32 1 Alexandre Camsonne
33 9 Mark Jones
Slot 8  : Chan 0-7  : Cer 22-1,22-5,32-4,32-3,32-2,32-1,32-5,31-4
34 1 Alexandre Camsonne
Slot 8  : Chan 8-15 : C9-4,C9-3,C9-2,C9-1,C8-4,C8-3,C8-2,C8-1
35 4 Mark Jones
36 17 Simona Malace
Slot 9  : Chan 0-7  : 43-4,empty,cer21-4,21-3,21-2,21-1,21-4,22-4
37 9 Mark Jones
slot 9  : Chan 8-15 : Cer22-3,Cer22-2,S2-11,S2-10,S2-9,S2-8,S2-7,S2-6
38 4 Mark Jones
39 1 Alexandre Camsonne
Slot 10 : Chan 0-7  : S2-5,S2-4,S2-3,S2-2,S2-1,S1-11,S1-10,S1-9
40
Slot 10 : Chan 8-15 : S1-8,S1-7,S1-6,S1-5,S1-4,S1-3,S1-2,S1-1
41 13 Simona Malace
42
43 14 Simona Malace
44
45 13 Simona Malace
3. FADC cabling with the LAPPD box
46
47
Slot 3  : Chan 0-7  : LAPPD-B8, LAPPD-B7, LAPPD-B6, LAPPD-B5, LAPPD-B4, LAPPD-B3, LAPPD-B2, LAPPD-B1
48
Slot 3  : Chan 8-15  : LAPPD-A8, LAPPD-A7, LAPPD-A6, LAPPD-A5, LAPPD-A4, LAPPD-A3, LAPPD-A2, LAPPD-A1  
49 14 Simona Malace
50
51
Slot 4  : Chan 0-7  : LAPPD-D8, LAPPD-D7, LAPPD-D6, LAPPD-D5, LAPPD-D4, LAPPD-D3, LAPPD-D2, LAPPD-D1
52
Slot 4  : Chan 8-15  : LAPPD-C8, LAPPD-C7, LAPPD-C6, LAPPD-C5, LAPPD-C4, LAPPD-C3, LAPPD-C2, LAPPD-C1
53
54
55 17 Simona Malace
Slot 5  : Chan 0-7  : nothing, LAPPD-F7, LAPPD-F6, LAPPD-F5, LAPPD-F4, LAPPD-F3, LAPPD-F2, LAPPD-F1 
56 15 Simona Malace
Slot 5  : Chan 8-15 : LAPPD-E8, LAPPD-E7, LAPPD-E6, LAPPD-E5, LAPPD-E4, LAPPD-E3, LAPPD-E2, LAPPD-E1
57 1 Alexandre Camsonne
58
59 15 Simona Malace
Slot 6  : Chan 0-7  : LAPPD-H8, LAPPD-H7, LAPPD-H6, LAPPD-H5, LAPPD-H4, LAPPD-H3, LAPPD-H2, LAPPD-H1
60 17 Simona Malace
Slot 6  : Chan 8-15 : LAPPD-G8, LAPPD-G7, LAPPD-G6, LAPPD-G5, LAPPD-G4, LAPPD-G3, LAPPD-G1, LAPPD-F8
61 16 Simona Malace
62 17 Simona Malace
63
Slot 9: Chan 0-7: LAPPD-G2
64 1 Alexandre Camsonne
------------
65
66 6 Ben Raydo
To start coda:
67
* VNC server should be running on clrlpc:1
68
* To connect: vncviewer clrlpc:1 (account/password is a-compton)
69
* Open terminal, run: kcoda, then startcoda
70 10 Stephen Wood
* Configuration is vtpOnly (To include FADC scalers use vtpScalers)
71 6 Ben Raydo
72
------------
73
74
Readout/trigger configuration files:
75
* FADC: clrlpc:/home/a-compton/params/fadc250/solidcer.cnf
76
* VTP:  clrlpc:/home/a-compton/params/vtp/esbvtp.cnf
77 7 Alexandre Camsonne
78
------------
79
FADC250 Pedestal measurement program:
80 11 Simona Malace
export EXPID=solidcer
81 7 Alexandre Camsonne
a-compton@solidesbdaq
82
/home/a-compton/src/linuxvme/fadc-HallB/test
83
./fadc250peds result.txt
84 8 Alexandre Camsonne
85
86
-----------
87
VTP environment variables in ESB :
88
89
Zynq> printenv
90
autoload=no
91
baudrate=115200
92
bootargs=console=ttyPS0,115200 ip=::::esbvtp:eth0:dhcp nfsroot=129.57.37.107:/diskless/diskless/ArchLinux/armv7-devel/root uio_pdrv_genirq.of_id=my-uio ro rootwait cma=384MB
93
bootargs_rw=console=ttyPS0,115200 ip=::::esbvtp:eth0:dhcp nfsroot=129.57.37.107:/diskless/diskless/ArchLinux/armv7-devel/root uio_pdrv_genirq.of_id=my-uio rw rootwait cma=384MB
94
bootcmd=run $modeboot
95
bootdelay=3
96
devicetree_image=devicetree.dtb
97
devicetree_load_address=0x2000000
98
ethact=ethernet@e000b000
99
ethaddr=ce:ba:f0:03:00:a0
100
fdt_high=0x20000000
101
fdtcontroladdr=3ffa9e30
102
gatewayip=129.57.168.1
103
initrd_high=0x20000000
104
ipaddr=129.57.168.23
105
kernel_image=uImage
106
kernel_load_address=0x2080000
107
kernel_path=linux-install/ArchLinux-armv71
108
modeboot=sdboot
109
netmask=255.255.255.0
110
sdboot=echo Copying Linux from TFTP server to RAM...; echo Download Kernel; if tftpboot ${kernel_load_address} ${kernel_path}/${kernel_image}; then echo OK; else echo FAILED; reset; fi; echo Download DeviceTree; if tftpbo}
111
sdboot_no=if mmcinfo; then echo Copying Linux from SD to RAM... && load mmc 0 ${kernel_load_address} ${kernel_image} && load mmc 0 ${devicetree_load_address} ${devicetree_image} && bootm ${kernel_load_address} - ${deviceti
112
serverip=129.57.37.107
113
stderr=serial@e0000000
114
stdin=serial@e0000000
115
stdout=serial@e0000000
116
tftpboot_no=echo Copying Linux from tftp server to RAM... &&tftpboot ${kernel_load_address} linux_vtp/${kernel_image} &&tftpboot ${devicetree_load_address} linux_vtp/${devicetree_image} &&bootm ${kernel_load_address} - ${;
117
118
Environment size: 1814/131068 bytes
119 12 Stephen Wood
120
3. Flash ADC scalers
121
122
The FADC250 modules have internal scalers.  These scalers can be read both during data taking, or when a CODA run is not in progress.  Scaler server software has been installed on solidesbdaq so that the scalers can be included in the data stream, read by the getscalers command or displayed with xscalers.
123
124
To start the scaler server, type "startscalerserver".  To stop the scaler server, type "killscalerserver".  These commands can be run on clrlpc or solidesbdaq.
125
126
To get a text dump of the scalers, run "getscalers solidesbdaq" from clrlpc or the cdaq account on a Hall C machine.  The last line of the output is a counter running at 60 Hz which can be used as a time base to calculate rates.
127
128
The command "go_xscaler" will bring up an Xscaler display of the FADC scalers.  The mapfile is in /home/a-compton/saw/xscaler/scaler.map on clrlpc.
129
130
To include scalers in the data stream, use the vtpScalers configuration instead of vtpOnly.