/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to tests/ipecamera/frame_req.sh

  • Committer: Suren A. Chilingaryan
  • Date: 2015-04-20 20:01:04 UTC
  • Revision ID: csa@suren.me-20150420200104-b5xny65io8lvoz3w
Big redign of model structures

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
 
3
 
function pci {
4
 
    PCILIB_PATH="/root/pcitool"
5
 
    LD_LIBRARY_PATH="$PCILIB_PATH" $PCILIB_PATH/pci $*
6
 
}
7
 
 
8
 
#pci --stop-dma dma1
9
 
#pci --reset
10
 
 
11
 
echo "Set packet size 1024 .. "
12
 
pci -w cmosis_number_lines 1088
13
 
#pci -w xrawdata_packet_length 4096
14
 
pci --start-dma dma1
15
 
usleep 1000
16
 
 
17
 
echo "Send frame request ... "
18
 
pci -w control 1e9
19
 
usleep 100000
20
 
pci -w control 1e1
21
 
usleep 100000
22
 
 
23
 
echo "Enable Readout 3... "
24
 
pci -w control 3e1
25
 
usleep 1000000
26
 
pci -w control 1e1
27