Failed to run ad9361-iiostream example

Hi all,

I get the following error when trying to run ad9361_iio_stream_example on my zc706:

root@linaro-ubuntu-desktop:~/linux_image_ADI-scripts/newtest# ./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
* Initializing AD9361 IIO streaming channels
* Enabling IIO streaming channels
* Creating non-cyclic IIO buffers with 1 MiS
* Starting IO streaming (press CTRL+C to cancel)
Error refilling buf -110
* Destroying buffers
* Disabling streaming channels
* Destroying context

for more information i typed the following commands and i get the following outputs:

root@linaro-ubuntu-desktop:/sys/bus/iio/devices# dmesg | grep 'ad9361'
ad9361 spi0.0: ad9361_probe : enter (ad9361)
ad9361 spi0.0: ad9361_probe : AD936x Rev 2 successfully initialized
cf_axi_dds 79024000.cf-ad9361-dds-core-lpc: Analog Devices CF_AXI_DDS_DDS MASTER (9.00.b) at 0x79024000 mapped to 0xf092c000, probed DDS AD9361
cf_axi_adc 79020000.cf-ad9361-lpc: ADI AIM (10.00.b) at 0x79020000 mapped to 0xf09c8000, probed ADC AD9361 as MASTER
root@linaro-ubuntu-desktop:/sys/bus/iio/devices# 

root@linaro-ubuntu-desktop:/sys/bus/iio/devices# cat */name
ad9361-phy
xadc
cf-ad9361-dds-core-lpc
cf-ad9361-lpc
root@linaro-ubuntu-desktop:/sys/bus/iio/devices#

Any help would be appreciable

Thanks & Regards

Parents
  • Can you provide more information about your configuration? What FMC board are you using? What version of software/HDL or SD card? Have you modified the example?

    -Travis

  • - I'm using fmcomms3 on zc706

    step-1/ i compiled adi HDL project and modified the architecture to make an SDSoC platform (enabled some unused signals to be used by SDSoC)

    step-2/ I used adi linux kernel to generate kernel images, i selected xilinx apf accelerator driver on menuconfig to support SDSoC applications.

    step-3/ I passed hardware components (DSA file) and software components (prebuilt image and bif file) to SDSoC to create my application

    - all build process done without errors, but when trying to run ad9361-iiostream example i get the above error

    - but when replacing BOOT.BIN file with the one created in step-2 the iiostream example worked fine, then i typed the following command and i get the following output

    root@linaro-ubuntu-desktop:~# dmesg | grep 'ad9361'
    ad9361 spi0.0: ad9361_probe : enter (ad9361)
    ad9361 spi0.0: ad9361_probe : AD936x Rev 2 successfully initialized
    cf_axi_dds 79024000.cf-ad9361-dds-core-lpc: Analog Devices CF_AXI_DDS_DDS MASTER (9.00.b) at 0x79024000 mapped to 0xf092c000, probed DDS AD9361
    cf_axi_adc 79020000.cf-ad9361-lpc: ADI AIM (10.00.b) at 0x79020000 mapped to 0xf09e8000, probed ADC AD9361 as MASTER
    root@linaro-ubuntu-desktop:~#

    root@linaro-ubuntu-desktop:/sys/bus/iio/devices# cat */name
    ad7291
    ad9361-phy
    xadc
    cf-ad9361-dds-core-lpc
    cf-ad9361-lpc
    root@linaro-ubuntu-desktop:/sys/bus/iio/devices#

Reply
  • - I'm using fmcomms3 on zc706

    step-1/ i compiled adi HDL project and modified the architecture to make an SDSoC platform (enabled some unused signals to be used by SDSoC)

    step-2/ I used adi linux kernel to generate kernel images, i selected xilinx apf accelerator driver on menuconfig to support SDSoC applications.

    step-3/ I passed hardware components (DSA file) and software components (prebuilt image and bif file) to SDSoC to create my application

    - all build process done without errors, but when trying to run ad9361-iiostream example i get the above error

    - but when replacing BOOT.BIN file with the one created in step-2 the iiostream example worked fine, then i typed the following command and i get the following output

    root@linaro-ubuntu-desktop:~# dmesg | grep 'ad9361'
    ad9361 spi0.0: ad9361_probe : enter (ad9361)
    ad9361 spi0.0: ad9361_probe : AD936x Rev 2 successfully initialized
    cf_axi_dds 79024000.cf-ad9361-dds-core-lpc: Analog Devices CF_AXI_DDS_DDS MASTER (9.00.b) at 0x79024000 mapped to 0xf092c000, probed DDS AD9361
    cf_axi_adc 79020000.cf-ad9361-lpc: ADI AIM (10.00.b) at 0x79020000 mapped to 0xf09e8000, probed ADC AD9361 as MASTER
    root@linaro-ubuntu-desktop:~#

    root@linaro-ubuntu-desktop:/sys/bus/iio/devices# cat */name
    ad7291
    ad9361-phy
    xadc
    cf-ad9361-dds-core-lpc
    cf-ad9361-lpc
    root@linaro-ubuntu-desktop:/sys/bus/iio/devices#

Children
No Data