From cd35dd6d3f1343b8ec2590cf9bfc9a1bc41c4960 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 31 Oct 2011 06:34:26 +0100 Subject: Update scripts --- tests/frame_req.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 tests/frame_req.sh (limited to 'tests/frame_req.sh') diff --git a/tests/frame_req.sh b/tests/frame_req.sh new file mode 100755 index 0000000..8d14c38 --- /dev/null +++ b/tests/frame_req.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +function pci { + PCILIB_PATH="/root/pcitool" + LD_LIBRARY_PATH="$PCILIB_PATH" $PCILIB_PATH/pci $* +} + +#pci --stop-dma dma1 +#pci --reset + +echo "Set packet size 1024 .. " +pci -w number_lines 1088 +#pci -w xrawdata_packet_length 4096 +pci --start-dma dma1 +usleep 1000 + +echo "Send frame request ... " +pci -w control 1e9 +usleep 100000 +pci -w control 1e1 +usleep 100000 + +echo "Enable Readout 3... " +pci -w control 3e1 +usleep 1000000 +pci -w control 1e1 + -- cgit v1.2.3