Page 1 of 1

Re: libbladeRF not working?

Posted: Tue Sep 03, 2013 9:55 am
by on4bhm
i made some remarkable progress.
now gnu radio is working.
i still have to load the fpga code eatch time i start up the system. but thats a problem for later.

i wanted to test the osmocom-siggen but it fails.
i once succeeded in getting the gui screen..
but most of the time it crashes.
i shall post my error later on.

at least i can already receive....

Re: libbladeRF not working?

Posted: Tue Sep 03, 2013 1:40 pm
by on4bhm
the rx part seems ok.
but for the tx part, there seems to be a problem
the osmocom-siggen is working fine

but when i want to use the sink in gnuradio i get this error:
runtime error: resolve_port: hierarchical block 'sink_impl': input 0 is not connected internally

can anyone give me some advice on what to do next?

Re: libbladeRF not working?

Posted: Thu Jun 19, 2014 8:51 am
by bladerf_beginner
on4bhm wrote:when i follow the setup wiki... i get a long way.
but in the final steps there is a problem:
when i do: ./osmocom_fft -s 8000000 -f 446000000 -g 60
i get:
Traceback (most recent call last):
File "./osmocom_fft", line 33, in <module>
import osmosdr
File "/usr/local/lib/python2.7/dist-packages/osmosdr/__init__.py", line 45, in <module>
from osmosdr_swig import *
File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 26, in <module>
_osmosdr_swig = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 22, in swig_import_helper
_mod = imp.load_module('_osmosdr_swig', fp, pathname, description)
ImportError: libgnuradio-osmosdr-0.1.1git.so.0.0.0: cannot open shared object file: No such file or directory

libgnuradio-osmosdr-0.1.1git.so.0.0.0 is in /usr/local/lib
and usr/local/lib is in my PATH

what is wrong here?
I'm having a similar issue, can you please explain how you resolved this?

Traceback (most recent call last):
File "/home/omid/Desktop/wbfm/top_block.py", line 22, in <module>
import osmosdr
File "/opt/gnuradio-3.7.3/lib/python2.7/dist-packages/osmosdr/__init__.py", line 45, in <module>
from osmosdr_swig import *
File "/opt/gnuradio-3.7.3/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 26, in <module>
_osmosdr_swig = swig_import_helper()
File "/opt/gnuradio-3.7.3/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 22, in swig_import_helper
_mod = imp.load_module('_osmosdr_swig', fp, pathname, description)
ImportError: /opt/gnuradio-3.7.3/lib/libgnuradio-osmosdr-0.1.2git.so.0.0.0: undefined symbol: bladerf_sync_rx

Re: libbladeRF not working?

Posted: Thu Jun 19, 2014 11:05 pm
by kartar
Hi,
Do you use the precompiled bladerf library, or did you compiled the code from git? The sync interface is quite new, and the precompiled libraries are outdated. At least for windows is this the case and if you haven't set your build environment yet, it is a good advice to do it...