We have a weird problem with using PipeOutputs on Linux with XEM6310-LX150 - it works unstable.
In our software, call to ReadFromBlockPipeOut sometimes stalls forever.
The PipeInput example fails (sometimes!) like that:
[mrc@newp]$ ./PipeTest pipetest.bit stress
---- Opal Kelly ---- PipeTest Application v2.0 ----
FrontPanel DLL loaded. Built: Mar 22 2016 14:06:29
Found a device: XEM6310-LX150
Device firmware version: 1.23
Device serial number: 1616000ED7
Device device ID: 22
FrontPanel support is enabled.
Read SS:4194304 TS:67108864 Pattern:0 Duration: 0.351 seconds – 182.27 MB/s
Read SS:4194304 TS:67108864 Pattern:1 Duration: 0.399 seconds – 160.50 MB/s
Read SS:4194304 TS:67108864 Pattern:2 Transfer Failed with error: -1
Read SS:4194304 TS:67108864 Pattern:3 Transfer Failed with error: -1
Read SS:4194304 TS:67108864 Pattern:4 Transfer Failed with error: -1
Read SS:4194304 TS:67108864 Pattern:5 Transfer Failed with error: -1
Write SS:4194304 TS:67108864 Pattern:0 Duration: 0.726 seconds – 88.18 MB/s
Write SS:4194304 TS:67108864 Pattern:1 Duration: 0.792 seconds – 80.84 MB/s
Write SS:4194304 TS:67108864 Pattern:2 Duration: 0.729 seconds – 87.75 MB/s
Write SS:4194304 TS:67108864 Pattern:3 Duration: 0.720 seconds – 88.91 MB/s
pipetest.bit is from 20121018-FP42-XEM6310-LX150.zip archive.
Assembling the bit file in ISE changes nothing - it fails in the same manner.
Note: it doesn’t fail every run. Sometimes we do have up to 5-8 successful runs in a row.
Also reproducible on BRK board, so I don’t think power supply is an issue.
OS is CentOS 6. uname -a:
Linux newp 2.6.32-431.el6.x86_64 # 1 SMP Friday Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Anything to check?