summaryrefslogtreecommitdiffstats
path: root/tests/Reset_Init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Reset_Init.sh')
-rwxr-xr-xtests/Reset_Init.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/Reset_Init.sh b/tests/Reset_Init.sh
new file mode 100755
index 0000000..198cbfc
--- /dev/null
+++ b/tests/Reset_Init.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+echo " Reset Readout and CMOSIS "
+pci -w 0xd2009040 1e5
+echo " Release Reset for Readout"
+pci -w 0xd2009040 1e1
+
+echo " Start CMOSIS Configuration .."
+pci -w 0xd2009000 f301
+pci -r 0xd2009000 -s 4
+
+pci -w 0xd2009000 d207
+pci -r 0xd2009000 -s 4
+
+pci -w 0xd2009000 8101
+pci -r 0xd2009000 -s 4
+
+pci -w 0xd2009000 8200
+pci -r 0xd2009000 -s 4
+echo " End CMOSIS Configuration .."
+pci -w 0xd2009040 3e1
+
+pci -r 0xd2009000 -s 100