/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to tests/heb/cfg/BoardOn.sh

  • Committer: Suren A. Chilingaryan
  • Date: 2015-04-20 20:01:04 UTC
  • Revision ID: csa@suren.me-20150420200104-b5xny65io8lvoz3w
Big redign of model structures

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
 
3
 
echo " ************************************************************** "
4
 
echo "                          Start DMA"
5
 
echo " ************************************************************** "
6
 
 
7
 
pci --start-dma dma1
8
 
sleep 0.5
9
 
pci  --list-dma-engines
10
 
 
11
 
 
12
 
echo " ************************************************************** "
13
 
echo "                  Board ON procedure"
14
 
echo " ************************************************************** "
15
 
 
16
 
pci -w 0x9040 0x01
17
 
sleep 1
18
 
 
19
 
echo "switch ON the power supply  --> FIRST <--"
20
 
echo "Press a key to continue ...."
21
 
read -n 1 -s
22
 
 
23
 
echo "Switch ON T/Hs"
24
 
pci -w 0x9040 0x3C1
25
 
pci -r 0x9040 -s1
26
 
 
27
 
echo "switch ON the power supply  --> SECOND <--"
28
 
echo "Press a key to continue ...."
29
 
read -n 1 -s
30
 
 
31
 
echo "Switch ON ADCs"
32
 
pci -w 0x9040 0x3F1
33
 
pci -r 0x9040 -s1
34
 
sleep 0.1
35
 
 
36
 
 
37
 
pci -w 0x9040 0x3F0 
38
 
pci -r 0x9040 -s1
39
 
sleep 1
40
 
 
41
 
echo " Status ................... "
42
 
pci -r 0x9000 -s 40
43
 
 
44
 
 
45
 
 
46
 
./PLL_conf_calib_3001.sh
47
 
 
48
 
echo " Status ................... "
49
 
pci -r 0x9000 -s 40
50
 
 
51
 
 
52
 
echo " ************************************************************** "
53
 
echo "                          Board Ready"
54
 
echo " ************************************************************** "
55
 
 
56
 
 
57
 
echo " --> remember to run: ./Set_Default.sh"