summaryrefslogtreecommitdiffstats
path: root/tests/reset_init.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-14 03:50:48 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-14 03:50:48 +0100
commit667c1e8a83b3f5f8e90af824212c8da389f849d2 (patch)
treeb5e3573a8780c533985fee2ccdc5f0718f501419 /tests/reset_init.sh
parentc4c9ad7708ddd3114f78c5f860ebfeb92cfb79c3 (diff)
downloadpcitool-667c1e8a83b3f5f8e90af824212c8da389f849d2.tar.gz
pcitool-667c1e8a83b3f5f8e90af824212c8da389f849d2.tar.bz2
pcitool-667c1e8a83b3f5f8e90af824212c8da389f849d2.tar.xz
pcitool-667c1e8a83b3f5f8e90af824212c8da389f849d2.zip
few demo scripts
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