From 667c1e8a83b3f5f8e90af824212c8da389f849d2 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 14 Dec 2011 03:50:48 +0100 Subject: few demo scripts --- tests/reset_init.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 tests/reset_init.sh (limited to 'tests/reset_init.sh') 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 -- cgit v1.2.3