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 initializedcf_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 AD9361cf_axi_adc 79020000.cf-ad9361-lpc: ADI AIM (10.00.b) at 0x79020000 mapped to 0xf09c8000, probed ADC AD9361 as MASTERroot@linaro-ubuntu-desktop:/sys/bus/iio/devices#
root@linaro-ubuntu-desktop:/sys/bus/iio/devices# cat */namead9361-phyxadccf-ad9361-dds-core-lpccf-ad9361-lpcroot@linaro-ubuntu-desktop:/sys/bus/iio/devices#
Any help would be appreciable
Thanks & Regards
Error -110 is -ETIMEDOUT.
Can you extend the example to bump the timeout ?
You can use iio_context_set_timeout(ctx, 10 * 1000);
The example uses the default 1 second timeout for a local context.
Which should be enough, but given that you have modified some things, it may not be enough.
Maybe try adding this right after
printf("* Acquiring IIO context\n"); ASSERT((ctx = iio_create_default_context()) && "No context"); ASSERT(iio_context_get_devices_count(ctx) > 0 && "No devices");
I tried to extend the timeout to 10s as you suggested, but the problem is not solved
Could you detail how you changed the signals in the HDL in step-1 ?
When you're referring to step-2, is that with the HDL from step-1 or is another type of HDL ?
Hi aardelean, Thank's for your help
The problem is solved, interruption signals were modified by SDSoC, that's why i get a timeout error