summaryrefslogtreecommitdiffstats
path: root/tests/heb/debug/request_data.sh
blob: b751f5d86b0a03e3d1006e8df78b403ca49eb98e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash

pci -r dma1 --multipacket -o /dev/null

#echo "Data Reset ... "
pci -w 0x9040 000003f1 
sleep 0.1
pci -w 0x9040 000003f0 

sleep 0.1
#echo "Pilot bunch emulator ..... "
#pci -w 0x9040 400003f0 
sleep 0.2
pci -w 0x9040 03f0 
#pci -r 0x9000 -s 40
#sleep 0.2
#echo "Start data pci. ..... "
pci -w 0x9040 00bf0 

sleep 2

#echo "Stop data acquis...... "
pci -w 0x9040 003f0 
pci -r 0x9000 -s 40
sleep 0.1
#echo "Enable data transfer.... "
pci -w 0x9040 007f0