Page 1 of 1

GNU Radio Errors

Posted: Sun Sep 08, 2013 11:11 am
by vlad
Hi
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
Any ideas?

Re: GNU Radio Errors

Posted: Sun Sep 08, 2013 11:35 am
by bpadalino
Can you try updating your firmware on the FX3 to latest?

Also note you shouldn't require the kernel driver and, in fact, you should rmmod it if you can. libusb should work fine.

Let me know if you still get issues.

Re: GNU Radio Errors

Posted: Sun Sep 08, 2013 2:14 pm
by on4bhm
i think i have the same error when the sample rate is too low.
try 1e6 as sample rate?
is it ok then?

Re: GNU Radio Errors

Posted: Wed Sep 18, 2013 11:33 am
by veranson
I can not listen to the radio. I hear a continuous noise, without any peaks in the graph.
What am I doing wrong?