Help me with usrp-spectrrum-sense.py

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
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

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 <