Forum: GNU Radio help me with usrp-spectrrum-sense.py

F5049b6dd5ac1a7e68c6573ba8979484?d=identicon&s=25 Vidyadhar Reddy Gosala (Guest)
on 2013-06-03 07:50
(Received via mailing list)
whem i try to run this code i am getting following error

linux; GNU C++ version 4.6.3; Boost_104800; UHD_003.005.003-78-g49a4929b

Warning: this may have issues on some machines+Python version
combinations
to seg fault due to the callback in bin_statitics.

-- Opening a USRP2/N-Series device...
Traceback (most recent call last):
  File "./usrp_spectrum_sense.py", line 297, in <module>
    tb = my_top_block()
  File "./usrp_spectrum_sense.py", line 157, in __init__
    stream_args=uhd.stream_args('fc32'))
  File
"/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/__init__.py",
line 116, in constructor_interceptor
    return old_constructor(*args)
  File
"/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py",
line 3043, in usrp_source
    return _uhd_swig.usrp_source(*args)
RuntimeError: RuntimeError:
Please update the firmware and FPGA images for your device.
See the application notes for USRP2/N-Series for instructions.
Expected FPGA compatibility number 10, but got 7:
The FPGA build is not compatible with the host code build.
Please run:

sudo "/usr/local/lib/uhd/utils/uhd_images_downloader.py"
"/usr/local/share/uhd/utils/usrp_n2xx_simple_net_burner" \
    --addr="192.168.10.2"


i can run uhd_find devices properly...

please help me with this error


  vidyadhar
080e3a7c076624fe71d3e868d496552e?d=identicon&s=25 Karan T. (karan_t)
on 2013-06-03 08:21
(Received via mailing list)
Hi Vidyadhar,
                   You need to burn the fpga image on to the usrp 2. You
can either run the command given above or go to
cd /usr/local/share/uhd/utils  from your home folder and then open
usrp_n2xx_net_burner_gui.py and then run in terminal. Then you get a gui
with two fields Firmware Image and FPGA image.

Select usrp_n2xx_fw.bin for Firmware image and usrp_n2xx_r4_bin for FPGA
image. Both of these files are in images folder of uhd.

Then burn these images. That should solve the problem.


On Mon, Jun 3, 2013 at 11:19 AM, Vidyadhar Reddy Gosala <
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.