I am having a problem to run GNU Radio Companion script with nuand on osmocom driver.
I have followed instuction at http://nuand.com/forums/viewtopic.php?f=9&t=2804
to build nuand drivers and gnu radio (3.7)
Device is connected and recognizable after
sudo insmod ~/Documents/bladeRF/bladeRF-bladerf/linux/kernel/bladeRF.ko
sudo chmod 777 /dev/bladerf0
I can set / get parameters of nuand by bladeRF-cli
but gnu radio generates error:
Code: Select all
Executing: "/home/vlad/Documents/top_block.py"
Using Volk machine: sse4_a_32_orc
gr-osmosdr v0.1.0-8-ge97339c1 (0.1.1git) gnuradio v3.7.0-102-g631dd648
built-in source types: file fcd rtl_tcp bladerf
Loading FPGA bitstream /opt/bladeRF/fpga/hostedx40.rbf...
The FPGA bitstream has been successfully loaded.
Using nuand LLC bladeRF #0 SN 0000000000000000 FW v1.0 FPGA v0.0
Traceback (most recent call last):
File "/home/vlad/Documents/top_block.py", line 81, in <module>
tb = top_block()
File "/home/vlad/Documents/top_block.py", line 50, in __init__
self.osmosdr_source_0.set_sample_rate(samp_rate)
File "/opt/gnuradio-3.7.1git/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 1144, in set_sample_rate
return _osmosdr_swig.source_sptr_set_sample_rate(self, *args, **kwargs)
RuntimeError: set_sample_rate has failed to set integer rate, error -1
Failed to read samples: File or device I/O failure
>>> Done