AnsweredAssumed Answered

ad9361-iiostream.c example on ZC706+FMCOMM3

Question asked by hammerclavier on Nov 18, 2016
Latest reply on Mar 7, 2017 by Quamstar

I have a setup of ZC706 and FMCOMM3 and updated software with adi_update_tools.sh and adi_update_boot.sh and made executable ad9361-iiostream at /usr/local/src/libiio/exmaples on the target device.When I run # sudo ./ad9361-iiostream : 

 

based on the log it seems all the configuration is done correctly and the program crash/finish after:

* Starting IO streaming (press CTRL+C to cancel)

Is that the expected behavior? I have checked other related blogs for this example and it seems after streaming starts there's a log of receive and transmit! but not for me.

 

 

below is the log: 

analog@analog:/usr/local/src/libiio/examples$ sudo ./ad9361-iiostream

* Acquiring IIO context

* Acquiring AD9361 streaming devices

* Configuring AD9361 for streaming 

* Acquiring AD9361 phy channel 0

* Acquiring AD9361 RX lo channel 

* Acquiring AD9361 phy channel 0

* Acquiring AD9361 TX lo channel 

* Initiating AD9361 IIO streaming channels

* Enabling IIO streaming channels

* Creating non-cyclic IIO buffers with 1 MiS

* Starting IO streaming (press CTRL+C to cancel)

analog@analog:/usr/local/src/libiio/examples$ 

 

Also when I run ./ad9361-iiostream with no sudo, I get segmentation fault after  * Starting IO streaming (press CTRL+C to cancel)

 

Please help@larsc 

Outcomes