jesd_cnt_test.sh 514 B

123456789101112131415161718192021222324252627
  1. #! /bin/bash
  2. export PCILIB_MODEL=ipedma
  3. echo "write the number of samples to be acquired"
  4. #pci -w 9108 0x1000
  5. pci -w 0x9040 0x10210f00
  6. sleep 1
  7. echo "Set the HEADER + ENABLE Readout to DDR"
  8. pci -w 0x9040 0x18310000
  9. sleep 0.01
  10. echo "ENABLE Test pattern and start the acquisition"
  11. pci -w 0x9040 0x18210F00
  12. echo "DISABLE Test pattern"
  13. pci -w 0x9040 0x10210F00
  14. sleep 0.01
  15. echo "*DMA: Reading data..."
  16. ./read.sh
  17. #pci -r dma0 --multipacket -o test_data.out --timeout=1000000
  18. #./status.sh
  19. #./dumpFile.sh bench.out