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..ebfc9f5
--- /dev/null
+++ b/tests/reset_init.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+echo " Reset Readout and CMOSIS "
+pci -w 0x9040 1e5
+echo " Release Reset for Readout"
+pci -w 0x9040 1e1
+
+echo " Start CMOSIS Configuration .."
+pci -w 0x9000 f301
+pci -r 0x9000 -s 4
+
+pci -w 0x9000 d207
+pci -r 0x9000 -s 4
+
+pci -w 0x9000 8101
+pci -r 0x9000 -s 4
+
+pci -w 0x9000 8200
+pci -r 0x9000 -s 4
+echo " End CMOSIS Configuration .."
+pci -w 0x9040 3e1
+
+pci -r 0x9000 -s 100