AnsweredAssumed Answered

In Pluto SDR, PL reprogramming from Linux crashes IIO streaming

Question asked by IPrium on Oct 3, 2017
Latest reply on Apr 24, 2018 by julianms



My name is Danil.
I am very excited about the new Pluto SDR, it works very well.

I'm actually working on my own custom PL image for Pluto SRD and want to replace original system_top.bit. I want to reprogram PL using command in Pluto SDR Linux shell:

cat ./custom_top.bit > /dev/xdevcfg

As first, I'm trying to use original system_top.bit from archive, which I download here Releases Tag v0.22. But after cat ./system_top.bit > /dev/xdevcfg I have problem with ad9361-iiostream and iio_adi_xflow_check programs.


I got following errors:


# iio_adi_xflow_check iio:device3
Monitoring cf-ad9361-dds-core-lpc for underflows/overflows
Unable to push buffer: Connection timed out


# iio_adi_xflow_check iio:device4
Monitoring cf-ad9361-lpc for underflows/overflows
Unable to refill buffer: Connection timed out


# 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


I also done re-init in Linux, but it doesn't solve the problem.


# /etc/init.d/rcK
# /etc/init.d/rcS


For me is important to reprogram Pluto SDR PL part with Linux.
How can I do that?


Any help appreciated, thanks.