usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

update image file

HS
Hossein Soleymani via USRP-users
Tue, Jun 3, 2014 10:32 AM

Dear all

I have problem as following to write image file in UHD. Is there anybody
help me to repair it?
I am interesting to know , where is my fault ?
Because I did all of process like routine method  but I have not given
correct result to connect UHD to Matlab and USRP. first of all I should say
my Matlab version is 2012a and it is compatible with UHD_003_002_003
I reload Firmware and FPGA image file as following in command of terminal.

*acts@Nevada:~$ cd/usr/local/share/uhd *

acts@Nevada:/usr/local/share/uhd$ ls

examples  images  tests  utils

acts@Nevada:/usr/local/share/uhd$ cd utils/

  •        acts@Nevada:/usr/local/share/uhd/utils$ ls*
    

fx2_init_eeprom          usrp2_card_burner.py  usrp_burn_mb_eeprom

uhd-usrp.rules            usrp2_recovery.py    usrp_n2xx_net_burner_gui.py

usrp2_card_burner_gui.py  usrp_burn_db_eeprom  usrp_n2xx_net_burner.py

  •           acts@Nevada:/usr/local/share/uhd/utils$ sudo
    

./usrp2_card_burner_gui.py*

[sudo] password for acts:

I wrote usrp2_fw.bin and usrp2_fpga.bin of  UHD-images-003.002.003  to
/dev/sda2

I wrote  findsdru command window of matlab and I saw this message

linux; GNU c++ version 4.4.6 ;Boost_104400; UHD_003.002.003-vendor

see libuhd version information above this line
and
192.168.10.2

but when I wrote uhd_fft.py in teminal I have given this error.

linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.004.000-07c9d41

-- Opening a USRP2/N-Series device...

Traceback (most recent call last):

File "/usr/local/bin/uhd_fft.py", line 279, in <module>

main ()

File "/usr/local/bin/uhd_fft.py", line 275, in main

app = stdgui2.stdapp(app_top_block, "UHD FFT", nstatus=1)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 36, in init

wx.App.__init__ (self, redirect=False)

File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7978, in init

self._BootstrapApp()

File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7552, in _BootstrapApp

return _core_.PyApp__BootstrapApp(*args, **kwargs)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 39, in OnInit

frame = stdframe (self.top_block_maker, self.title, self._nstatus)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 60, in init

self.panel = stdpanel (self, self, top_block_maker)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 81, in init

self.top_block = top_block_maker (frame, self, vbox, sys.argv)

File "/usr/local/bin/uhd_fft.py", line 83, in init

stream_args=uhd.stream_args('fc32'))

File "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/init.py",
line 112, in constructor_interceptor

return old_constructor(*args)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/uhd_swig.py",
line 2286, 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 8, but got 7:

The FPGA build is not compatible with the host code build.

for exmaple,  I run uhd_usrp_probe in terminal

linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.004.000-07c9d41

-- Opening a USRP2/N-Series device...

Error: 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 8, but got 7:

The FPGA build is not compatible with the host code build.

and in Matlab I wrote  sdruFMMono and I have given this error

---------- begin libuhd driver construction output ----------

---------- begin libuhd status message output ----------

Opening a USRP2/N-Series device...

---------- end libuhd status message output ----------

---------- begin libuhd status message output ----------

Current recv frame size: 1472 bytes

---------- end libuhd status message output ----------

---------- begin libuhd status message output ----------

Current send frame size: 1472 bytes

---------- end libuhd status message output ----------

---------- begin libuhd warning message output ----------

The recv buffer could not be resized sufficiently.

Target sock buff size: 50000000 bytes.

Actual sock buff size: 1000000 bytes.

See the transport application notes on buffer resizing.

Please run: sudo sysctl -w net.core.rmem_max=50000000

---------- end libuhd warning message output ----------

---------- begin libuhd warning message output ----------

The recv buffer could not be resized sufficiently.

Target sock buff size: 50000000 bytes.

Actual sock buff size: 1000000 bytes.

See the transport application notes on buffer resizing.

Please run: sudo sysctl -w net.core.rmem_max=50000000

---------- end libuhd warning message output ----------

---------- begin libuhd warning message output ----------

The send buffer could not be resized sufficiently.

Target sock buff size: 1048576 bytes.

Actual sock buff size: 1000000 bytes.

See the transport application notes on buffer resizing.

Please run: sudo sysctl -w net.core.wmem_max=1048576

---------- end libuhd warning message output ----------

---------- end libuhd driver construction output ----------

I really appreciate to your answer.

Best Regards

hossein

Dear all I have problem as following to write image file in UHD. Is there anybody help me to repair it? I am interesting to know , where is my fault ? Because I did all of process like routine method but I have not given correct result to connect UHD to Matlab and USRP. first of all I should say my Matlab version is 2012a and it is compatible with UHD_003_002_003 I reload Firmware and FPGA image file as following in command of terminal. *acts@Nevada:~$ cd/usr/local/share/uhd * *acts@Nevada:/usr/local/share/uhd$ ls* examples images tests utils *acts@Nevada:/usr/local/share/uhd$ cd utils/* * acts@Nevada:/usr/local/share/uhd/utils$ ls* fx2_init_eeprom usrp2_card_burner.py usrp_burn_mb_eeprom uhd-usrp.rules usrp2_recovery.py usrp_n2xx_net_burner_gui.py usrp2_card_burner_gui.py usrp_burn_db_eeprom usrp_n2xx_net_burner.py * acts@Nevada:/usr/local/share/uhd/utils$ sudo ./usrp2_card_burner_gui.py* [sudo] password for acts: I wrote usrp2_fw.bin and usrp2_fpga.bin of UHD-images-003.002.003 to */dev/sda2* I wrote findsdru command window of matlab and I saw this message linux; GNU c++ version 4.4.6 ;Boost_104400; UHD_003.002.003-vendor see libuhd version information above this line and 192.168.10.2 but when I wrote uhd_fft.py in teminal I have given this error. linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.004.000-07c9d41 -- Opening a USRP2/N-Series device... Traceback (most recent call last): File "/usr/local/bin/uhd_fft.py", line 279, in <module> main () File "/usr/local/bin/uhd_fft.py", line 275, in main app = stdgui2.stdapp(app_top_block, "UHD FFT", nstatus=1) File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 36, in __init__ wx.App.__init__ (self, redirect=False) File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7978, in __init__ self._BootstrapApp() File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7552, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 39, in OnInit frame = stdframe (self.top_block_maker, self.title, self._nstatus) File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 60, in __init__ self.panel = stdpanel (self, self, top_block_maker) File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 81, in __init__ self.top_block = top_block_maker (frame, self, vbox, sys.argv) File "/usr/local/bin/uhd_fft.py", line 83, in __init__ stream_args=uhd.stream_args('fc32')) File "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/__init__.py", line 112, in constructor_interceptor return old_constructor(*args) File "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/uhd_swig.py", line 2286, 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 8, but got 7: The FPGA build is not compatible with the host code build. for exmaple, I run uhd_usrp_probe in terminal linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.004.000-07c9d41 -- Opening a USRP2/N-Series device... Error: 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 8, but got 7: The FPGA build is not compatible with the host code build. and in Matlab I wrote sdruFMMono and I have given this error ---------- begin libuhd driver construction output ---------- ---------- begin libuhd status message output ---------- Opening a USRP2/N-Series device... ---------- end libuhd status message output ---------- ---------- begin libuhd status message output ---------- Current recv frame size: 1472 bytes ---------- end libuhd status message output ---------- ---------- begin libuhd status message output ---------- Current send frame size: 1472 bytes ---------- end libuhd status message output ---------- ---------- begin libuhd warning message output ---------- The recv buffer could not be resized sufficiently. Target sock buff size: 50000000 bytes. Actual sock buff size: 1000000 bytes. See the transport application notes on buffer resizing. Please run: sudo sysctl -w net.core.rmem_max=50000000 ---------- end libuhd warning message output ---------- ---------- begin libuhd warning message output ---------- The recv buffer could not be resized sufficiently. Target sock buff size: 50000000 bytes. Actual sock buff size: 1000000 bytes. See the transport application notes on buffer resizing. Please run: sudo sysctl -w net.core.rmem_max=50000000 ---------- end libuhd warning message output ---------- ---------- begin libuhd warning message output ---------- The send buffer could not be resized sufficiently. Target sock buff size: 1048576 bytes. Actual sock buff size: 1000000 bytes. See the transport application notes on buffer resizing. Please run: sudo sysctl -w net.core.wmem_max=1048576 ---------- end libuhd warning message output ---------- ---------- end libuhd driver construction output ---------- I really appreciate to your answer. Best Regards hossein
SA
Suleiman Augusto Pavao Mahmoud via USRP-users
Tue, Jun 3, 2014 12:59 PM

Hello Hossein

You just have to download and program the FPGA and Firmware that are
compatible to the version of the UHD you are using.

UHD_003.004.000-07c9d41 -> you will find it here :
http://files.ettus.com/binaries/master_images/archive/
To program the FPGA and Firmware, take a look at the UHD wiki: Go to
http://files.ettus.com/uhd_docs/manual/html/ and look for your device
manual. In my case for example, is USRP N210, so I go to UHD - USRP2 and
N2x0 Series Device Manual (
http://files.ettus.com/uhd_docs/manual/html/usrp2.html). There you will
find how to load images onto the board (in my case I load using the
network).
And for MATLAB, I see only warnings, not errors. Anyway, you will probably
have to load the FPGA/Firmware with the correct version as stated above.

Regards

Suleiman Augusto Pavao Mahmoud
Research Assistant, Computer Sciences & Cybersecurity
Florida Institute of Technology

On Tue, Jun 3, 2014 at 6:32 AM, Hossein Soleymani via USRP-users <
usrp-users@lists.ettus.com> wrote:

Dear all

I have problem as following to write image file in UHD. Is there anybody
help me to repair it?
I am interesting to know , where is my fault ?
Because I did all of process like routine method  but I have not given
correct result to connect UHD to Matlab and USRP. first of all I should say
my Matlab version is 2012a and it is compatible with UHD_003_002_003
I reload Firmware and FPGA image file as following in command of terminal.

*acts@Nevada:~$ cd/usr/local/share/uhd *

acts@Nevada:/usr/local/share/uhd$ ls

examples  images  tests  utils

acts@Nevada:/usr/local/share/uhd$ cd utils/

  •        acts@Nevada:/usr/local/share/uhd/utils$ ls*
    

fx2_init_eeprom          usrp2_card_burner.py  usrp_burn_mb_eeprom

uhd-usrp.rules            usrp2_recovery.py    usrp_n2xx_net_burner_gui.py

usrp2_card_burner_gui.py  usrp_burn_db_eeprom  usrp_n2xx_net_burner.py

  •           acts@Nevada:/usr/local/share/uhd/utils$ sudo
    

./usrp2_card_burner_gui.py*

[sudo] password for acts:

I wrote usrp2_fw.bin and usrp2_fpga.bin of  UHD-images-003.002.003  to
/dev/sda2

I wrote  findsdru command window of matlab and I saw this message

linux; GNU c++ version 4.4.6 ;Boost_104400; UHD_003.002.003-vendor

see libuhd version information above this line
and
192.168.10.2

but when I wrote uhd_fft.py in teminal I have given this error.

linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.004.000-07c9d41

-- Opening a USRP2/N-Series device...

Traceback (most recent call last):

File "/usr/local/bin/uhd_fft.py", line 279, in <module>

 main ()

File "/usr/local/bin/uhd_fft.py", line 275, in main

 app = stdgui2.stdapp(app_top_block, "UHD FFT", nstatus=1)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 36, in init

 wx.App.__init__ (self, redirect=False)

File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7978, in init

 self._BootstrapApp()

File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7552, in _BootstrapApp

 return _core_.PyApp__BootstrapApp(*args, **kwargs)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 39, in OnInit

 frame = stdframe (self.top_block_maker, self.title, self._nstatus)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 60, in init

 self.panel = stdpanel (self, self, top_block_maker)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 81, in init

 self.top_block = top_block_maker (frame, self, vbox, sys.argv)

File "/usr/local/bin/uhd_fft.py", line 83, in init

 stream_args=uhd.stream_args('fc32'))

File "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/init.py",
line 112, in constructor_interceptor

 return old_constructor(*args)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/uhd_swig.py",
line 2286, 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 8, but got 7:

The FPGA build is not compatible with the host code build.

for exmaple,  I run uhd_usrp_probe in terminal

linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.004.000-07c9d41

-- Opening a USRP2/N-Series device...

Error: 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 8, but got 7:

The FPGA build is not compatible with the host code build.

and in Matlab I wrote  sdruFMMono and I have given this error

---------- begin libuhd driver construction output ----------

---------- begin libuhd status message output ----------

Opening a USRP2/N-Series device...

---------- end libuhd status message output ----------

---------- begin libuhd status message output ----------

Current recv frame size: 1472 bytes

---------- end libuhd status message output ----------

---------- begin libuhd status message output ----------

Current send frame size: 1472 bytes

---------- end libuhd status message output ----------

---------- begin libuhd warning message output ----------

The recv buffer could not be resized sufficiently.

Target sock buff size: 50000000 bytes.

Actual sock buff size: 1000000 bytes.

See the transport application notes on buffer resizing.

Please run: sudo sysctl -w net.core.rmem_max=50000000

---------- end libuhd warning message output ----------

---------- begin libuhd warning message output ----------

The recv buffer could not be resized sufficiently.

Target sock buff size: 50000000 bytes.

Actual sock buff size: 1000000 bytes.

See the transport application notes on buffer resizing.

Please run: sudo sysctl -w net.core.rmem_max=50000000

---------- end libuhd warning message output ----------

---------- begin libuhd warning message output ----------

The send buffer could not be resized sufficiently.

Target sock buff size: 1048576 bytes.

Actual sock buff size: 1000000 bytes.

See the transport application notes on buffer resizing.

Please run: sudo sysctl -w net.core.wmem_max=1048576

---------- end libuhd warning message output ----------

---------- end libuhd driver construction output ----------

I really appreciate to your answer.

Best Regards

hossein


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Hello Hossein You just have to download and program the FPGA and Firmware that are compatible to the version of the UHD you are using. UHD_003.004.000-07c9d41 -> you will find it here : http://files.ettus.com/binaries/master_images/archive/ To program the FPGA and Firmware, take a look at the UHD wiki: Go to http://files.ettus.com/uhd_docs/manual/html/ and look for your device manual. In my case for example, is USRP N210, so I go to UHD - USRP2 and N2x0 Series Device Manual ( http://files.ettus.com/uhd_docs/manual/html/usrp2.html). There you will find how to load images onto the board (in my case I load using the network). And for MATLAB, I see only warnings, not errors. Anyway, you will probably have to load the FPGA/Firmware with the correct version as stated above. Regards Suleiman Augusto Pavao Mahmoud Research Assistant, Computer Sciences & Cybersecurity Florida Institute of Technology On Tue, Jun 3, 2014 at 6:32 AM, Hossein Soleymani via USRP-users < usrp-users@lists.ettus.com> wrote: > Dear all > > > > I have problem as following to write image file in UHD. Is there anybody > help me to repair it? > I am interesting to know , where is my fault ? > Because I did all of process like routine method but I have not given > correct result to connect UHD to Matlab and USRP. first of all I should say > my Matlab version is 2012a and it is compatible with UHD_003_002_003 > I reload Firmware and FPGA image file as following in command of terminal. > > *acts@Nevada:~$ cd/usr/local/share/uhd * > > *acts@Nevada:/usr/local/share/uhd$ ls* > > examples images tests utils > > *acts@Nevada:/usr/local/share/uhd$ cd utils/* > > * acts@Nevada:/usr/local/share/uhd/utils$ ls* > > fx2_init_eeprom usrp2_card_burner.py usrp_burn_mb_eeprom > > uhd-usrp.rules usrp2_recovery.py usrp_n2xx_net_burner_gui.py > > usrp2_card_burner_gui.py usrp_burn_db_eeprom usrp_n2xx_net_burner.py > > * acts@Nevada:/usr/local/share/uhd/utils$ sudo > ./usrp2_card_burner_gui.py* > > [sudo] password for acts: > > I wrote usrp2_fw.bin and usrp2_fpga.bin of UHD-images-003.002.003 to > */dev/sda2* > > I wrote findsdru command window of matlab and I saw this message > > linux; GNU c++ version 4.4.6 ;Boost_104400; UHD_003.002.003-vendor > > see libuhd version information above this line > and > 192.168.10.2 > > but when I wrote uhd_fft.py in teminal I have given this error. > > linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.004.000-07c9d41 > > > > -- Opening a USRP2/N-Series device... > > Traceback (most recent call last): > > File "/usr/local/bin/uhd_fft.py", line 279, in <module> > > main () > > File "/usr/local/bin/uhd_fft.py", line 275, in main > > app = stdgui2.stdapp(app_top_block, "UHD FFT", nstatus=1) > > File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", > line 36, in __init__ > > wx.App.__init__ (self, redirect=False) > > File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", > line 7978, in __init__ > > self._BootstrapApp() > > File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", > line 7552, in _BootstrapApp > > return _core_.PyApp__BootstrapApp(*args, **kwargs) > > File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", > line 39, in OnInit > > frame = stdframe (self.top_block_maker, self.title, self._nstatus) > > File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", > line 60, in __init__ > > self.panel = stdpanel (self, self, top_block_maker) > > File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", > line 81, in __init__ > > self.top_block = top_block_maker (frame, self, vbox, sys.argv) > > File "/usr/local/bin/uhd_fft.py", line 83, in __init__ > > stream_args=uhd.stream_args('fc32')) > > File "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/__init__.py", > line 112, in constructor_interceptor > > return old_constructor(*args) > > File "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/uhd_swig.py", > line 2286, 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 8, but got 7: > > The FPGA build is not compatible with the host code build. > > for exmaple, I run uhd_usrp_probe in terminal > > > linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.004.000-07c9d41 > > > > -- Opening a USRP2/N-Series device... > > Error: 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 8, but got 7: > > The FPGA build is not compatible with the host code build. > > > > > > and in Matlab I wrote sdruFMMono and I have given this error > > > ---------- begin libuhd driver construction output ---------- > > ---------- begin libuhd status message output ---------- > > Opening a USRP2/N-Series device... > > ---------- end libuhd status message output ---------- > > ---------- begin libuhd status message output ---------- > > Current recv frame size: 1472 bytes > > ---------- end libuhd status message output ---------- > > ---------- begin libuhd status message output ---------- > > Current send frame size: 1472 bytes > > ---------- end libuhd status message output ---------- > > ---------- begin libuhd warning message output ---------- > > The recv buffer could not be resized sufficiently. > > Target sock buff size: 50000000 bytes. > > Actual sock buff size: 1000000 bytes. > > See the transport application notes on buffer resizing. > > Please run: sudo sysctl -w net.core.rmem_max=50000000 > > ---------- end libuhd warning message output ---------- > > ---------- begin libuhd warning message output ---------- > > The recv buffer could not be resized sufficiently. > > Target sock buff size: 50000000 bytes. > > Actual sock buff size: 1000000 bytes. > > See the transport application notes on buffer resizing. > > Please run: sudo sysctl -w net.core.rmem_max=50000000 > > ---------- end libuhd warning message output ---------- > > ---------- begin libuhd warning message output ---------- > > The send buffer could not be resized sufficiently. > > Target sock buff size: 1048576 bytes. > > Actual sock buff size: 1000000 bytes. > > See the transport application notes on buffer resizing. > > Please run: sudo sysctl -w net.core.wmem_max=1048576 > > ---------- end libuhd warning message output ---------- > > ---------- end libuhd driver construction output ---------- > > I really appreciate to your answer. > > > Best Regards > > hossein > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > >
MJ
Mike Jameson via USRP-users
Tue, Jun 3, 2014 1:42 PM

The UHD image files from the Ettus website are not the same as the UHD
image files from the MATLAB website.  Make sure that the images you are
using are from the MATLAB USRP support package:

http://www.mathworks.co.uk/hardware-support/usrp.html

Mike

--
Mike Jameson M0MIK BSc MIET
Ettus Research Technical Support
Email: support@ettus.com
Web: http://ettus.com

On Tue, Jun 3, 2014 at 11:32 AM, Hossein Soleymani via USRP-users <
usrp-users@lists.ettus.com> wrote:

Dear all

I have problem as following to write image file in UHD. Is there anybody
help me to repair it?
I am interesting to know , where is my fault ?
Because I did all of process like routine method  but I have not given
correct result to connect UHD to Matlab and USRP. first of all I should say
my Matlab version is 2012a and it is compatible with UHD_003_002_003
I reload Firmware and FPGA image file as following in command of terminal.

*acts@Nevada:~$ cd/usr/local/share/uhd *

acts@Nevada:/usr/local/share/uhd$ ls

examples  images  tests  utils

acts@Nevada:/usr/local/share/uhd$ cd utils/

  •        acts@Nevada:/usr/local/share/uhd/utils$ ls*
    

fx2_init_eeprom          usrp2_card_burner.py  usrp_burn_mb_eeprom

uhd-usrp.rules            usrp2_recovery.py    usrp_n2xx_net_burner_gui.py

usrp2_card_burner_gui.py  usrp_burn_db_eeprom  usrp_n2xx_net_burner.py

  •           acts@Nevada:/usr/local/share/uhd/utils$ sudo
    

./usrp2_card_burner_gui.py*

[sudo] password for acts:

I wrote usrp2_fw.bin and usrp2_fpga.bin of  UHD-images-003.002.003  to
/dev/sda2

I wrote  findsdru command window of matlab and I saw this message

linux; GNU c++ version 4.4.6 ;Boost_104400; UHD_003.002.003-vendor

see libuhd version information above this line
and
192.168.10.2

but when I wrote uhd_fft.py in teminal I have given this error.

linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.004.000-07c9d41

-- Opening a USRP2/N-Series device...

Traceback (most recent call last):

File "/usr/local/bin/uhd_fft.py", line 279, in <module>

 main ()

File "/usr/local/bin/uhd_fft.py", line 275, in main

 app = stdgui2.stdapp(app_top_block, "UHD FFT", nstatus=1)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 36, in init

 wx.App.__init__ (self, redirect=False)

File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7978, in init

 self._BootstrapApp()

File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7552, in _BootstrapApp

 return _core_.PyApp__BootstrapApp(*args, **kwargs)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 39, in OnInit

 frame = stdframe (self.top_block_maker, self.title, self._nstatus)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 60, in init

 self.panel = stdpanel (self, self, top_block_maker)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 81, in init

 self.top_block = top_block_maker (frame, self, vbox, sys.argv)

File "/usr/local/bin/uhd_fft.py", line 83, in init

 stream_args=uhd.stream_args('fc32'))

File "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/init.py",
line 112, in constructor_interceptor

 return old_constructor(*args)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/uhd_swig.py",
line 2286, 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 8, but got 7:

The FPGA build is not compatible with the host code build.

for exmaple,  I run uhd_usrp_probe in terminal

linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.004.000-07c9d41

-- Opening a USRP2/N-Series device...

Error: 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 8, but got 7:

The FPGA build is not compatible with the host code build.

and in Matlab I wrote  sdruFMMono and I have given this error

---------- begin libuhd driver construction output ----------

---------- begin libuhd status message output ----------

Opening a USRP2/N-Series device...

---------- end libuhd status message output ----------

---------- begin libuhd status message output ----------

Current recv frame size: 1472 bytes

---------- end libuhd status message output ----------

---------- begin libuhd status message output ----------

Current send frame size: 1472 bytes

---------- end libuhd status message output ----------

---------- begin libuhd warning message output ----------

The recv buffer could not be resized sufficiently.

Target sock buff size: 50000000 bytes.

Actual sock buff size: 1000000 bytes.

See the transport application notes on buffer resizing.

Please run: sudo sysctl -w net.core.rmem_max=50000000

---------- end libuhd warning message output ----------

---------- begin libuhd warning message output ----------

The recv buffer could not be resized sufficiently.

Target sock buff size: 50000000 bytes.

Actual sock buff size: 1000000 bytes.

See the transport application notes on buffer resizing.

Please run: sudo sysctl -w net.core.rmem_max=50000000

---------- end libuhd warning message output ----------

---------- begin libuhd warning message output ----------

The send buffer could not be resized sufficiently.

Target sock buff size: 1048576 bytes.

Actual sock buff size: 1000000 bytes.

See the transport application notes on buffer resizing.

Please run: sudo sysctl -w net.core.wmem_max=1048576

---------- end libuhd warning message output ----------

---------- end libuhd driver construction output ----------

I really appreciate to your answer.

Best Regards

hossein


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

The UHD image files from the Ettus website are not the same as the UHD image files from the MATLAB website. Make sure that the images you are using are from the MATLAB USRP support package: http://www.mathworks.co.uk/hardware-support/usrp.html Mike -- Mike Jameson M0MIK BSc MIET Ettus Research Technical Support Email: support@ettus.com Web: http://ettus.com On Tue, Jun 3, 2014 at 11:32 AM, Hossein Soleymani via USRP-users < usrp-users@lists.ettus.com> wrote: > Dear all > > > > I have problem as following to write image file in UHD. Is there anybody > help me to repair it? > I am interesting to know , where is my fault ? > Because I did all of process like routine method but I have not given > correct result to connect UHD to Matlab and USRP. first of all I should say > my Matlab version is 2012a and it is compatible with UHD_003_002_003 > I reload Firmware and FPGA image file as following in command of terminal. > > *acts@Nevada:~$ cd/usr/local/share/uhd * > > *acts@Nevada:/usr/local/share/uhd$ ls* > > examples images tests utils > > *acts@Nevada:/usr/local/share/uhd$ cd utils/* > > * acts@Nevada:/usr/local/share/uhd/utils$ ls* > > fx2_init_eeprom usrp2_card_burner.py usrp_burn_mb_eeprom > > uhd-usrp.rules usrp2_recovery.py usrp_n2xx_net_burner_gui.py > > usrp2_card_burner_gui.py usrp_burn_db_eeprom usrp_n2xx_net_burner.py > > * acts@Nevada:/usr/local/share/uhd/utils$ sudo > ./usrp2_card_burner_gui.py* > > [sudo] password for acts: > > I wrote usrp2_fw.bin and usrp2_fpga.bin of UHD-images-003.002.003 to > */dev/sda2* > > I wrote findsdru command window of matlab and I saw this message > > linux; GNU c++ version 4.4.6 ;Boost_104400; UHD_003.002.003-vendor > > see libuhd version information above this line > and > 192.168.10.2 > > but when I wrote uhd_fft.py in teminal I have given this error. > > linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.004.000-07c9d41 > > > > -- Opening a USRP2/N-Series device... > > Traceback (most recent call last): > > File "/usr/local/bin/uhd_fft.py", line 279, in <module> > > main () > > File "/usr/local/bin/uhd_fft.py", line 275, in main > > app = stdgui2.stdapp(app_top_block, "UHD FFT", nstatus=1) > > File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", > line 36, in __init__ > > wx.App.__init__ (self, redirect=False) > > File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", > line 7978, in __init__ > > self._BootstrapApp() > > File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", > line 7552, in _BootstrapApp > > return _core_.PyApp__BootstrapApp(*args, **kwargs) > > File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", > line 39, in OnInit > > frame = stdframe (self.top_block_maker, self.title, self._nstatus) > > File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", > line 60, in __init__ > > self.panel = stdpanel (self, self, top_block_maker) > > File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", > line 81, in __init__ > > self.top_block = top_block_maker (frame, self, vbox, sys.argv) > > File "/usr/local/bin/uhd_fft.py", line 83, in __init__ > > stream_args=uhd.stream_args('fc32')) > > File "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/__init__.py", > line 112, in constructor_interceptor > > return old_constructor(*args) > > File "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/uhd_swig.py", > line 2286, 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 8, but got 7: > > The FPGA build is not compatible with the host code build. > > for exmaple, I run uhd_usrp_probe in terminal > > > linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.004.000-07c9d41 > > > > -- Opening a USRP2/N-Series device... > > Error: 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 8, but got 7: > > The FPGA build is not compatible with the host code build. > > > > > > and in Matlab I wrote sdruFMMono and I have given this error > > > ---------- begin libuhd driver construction output ---------- > > ---------- begin libuhd status message output ---------- > > Opening a USRP2/N-Series device... > > ---------- end libuhd status message output ---------- > > ---------- begin libuhd status message output ---------- > > Current recv frame size: 1472 bytes > > ---------- end libuhd status message output ---------- > > ---------- begin libuhd status message output ---------- > > Current send frame size: 1472 bytes > > ---------- end libuhd status message output ---------- > > ---------- begin libuhd warning message output ---------- > > The recv buffer could not be resized sufficiently. > > Target sock buff size: 50000000 bytes. > > Actual sock buff size: 1000000 bytes. > > See the transport application notes on buffer resizing. > > Please run: sudo sysctl -w net.core.rmem_max=50000000 > > ---------- end libuhd warning message output ---------- > > ---------- begin libuhd warning message output ---------- > > The recv buffer could not be resized sufficiently. > > Target sock buff size: 50000000 bytes. > > Actual sock buff size: 1000000 bytes. > > See the transport application notes on buffer resizing. > > Please run: sudo sysctl -w net.core.rmem_max=50000000 > > ---------- end libuhd warning message output ---------- > > ---------- begin libuhd warning message output ---------- > > The send buffer could not be resized sufficiently. > > Target sock buff size: 1048576 bytes. > > Actual sock buff size: 1000000 bytes. > > See the transport application notes on buffer resizing. > > Please run: sudo sysctl -w net.core.wmem_max=1048576 > > ---------- end libuhd warning message output ---------- > > ---------- end libuhd driver construction output ---------- > > I really appreciate to your answer. > > > Best Regards > > hossein > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > >
ES
Ethem Sozer via USRP-users
Tue, Jun 3, 2014 1:54 PM

Hi Hossein,

USRP Support Package for MATLAB and Simulink uses a version of UHD that may be different than a version of UHD that is already installed on your computer. From the command line outputs you sent, I can see that your computer has UHD version  003.004.000 already installed. Also, when you installed the USRP support package, UHD version 003.002.003 was installed and MATLAB uses that version. So, from an installation stand point, I do not see any problems.

The following messages are not errors:

Target sock buff size: 50000000 bytes.

Actual sock buff size: 1000000 bytes.

See the transport application notes on buffer resizing.

Please run: sudo sysctl -w net.core.rmem_max=50000000

They are suggestions from the UHD driver for better performance. I highly recommend you to follow this suggestion and run “sudo sysctl -w net.core.rmem_max=50000000” on your command line.

Hth,
Ethem

From: USRP-users [mailto:usrp-users-bounces@lists.ettus.com] On Behalf Of Mike Jameson via USRP-users
Sent: Tuesday, June 03, 2014 9:42 AM
To: Hossein Soleymani
Cc: USRP-users@lists.ettus.com; Ettus Research Support
Subject: Re: [USRP-users] update image file

The UHD image files from the Ettus website are not the same as the UHD image files from the MATLAB website.  Make sure that the images you are using are from the MATLAB USRP support package:

http://www.mathworks.co.uk/hardware-support/usrp.html
Mike

Mike Jameson M0MIK BSc MIET
Ettus Research Technical Support
Email: support@ettus.commailto:support@ettus.com
Web: http://ettus.com

On Tue, Jun 3, 2014 at 11:32 AM, Hossein Soleymani via USRP-users <usrp-users@lists.ettus.commailto:usrp-users@lists.ettus.com> wrote:
Dear all

I have problem as following to write image file in UHD. Is there anybody help me to repair it?
I am interesting to know , where is my fault ?
Because I did all of process like routine method  but I have not given correct result to connect UHD to Matlab and USRP. first of all I should say my Matlab version is 2012a and it is compatible with UHD_003_002_003
I reload Firmware and FPGA image file as following in command of terminal.

acts@Nevada:~$ cd/usr/local/share/uhd

acts@Nevada:/usr/local/share/uhd$ ls

examples  images  tests  utils

acts@Nevada:/usr/local/share/uhd$ cd utils/

        acts@Nevada:/usr/local/share/uhd/utils$ ls

fx2_init_eeprom          usrp2_card_burner.py  usrp_burn_mb_eeprom

uhd-usrp.rules            usrp2_recovery.py    usrp_n2xx_net_burner_gui.py

usrp2_card_burner_gui.py  usrp_burn_db_eeprom  usrp_n2xx_net_burner.py

           acts@Nevada:/usr/local/share/uhd/utils$ sudo ./usrp2_card_burner_gui.py

[sudo] password for acts:

I wrote usrp2_fw.bin and usrp2_fpga.bin of  UHD-images-003.002.003  to /dev/sda2

I wrote  findsdru command window of matlab and I saw this message

linux; GNU c++ version 4.4.6 ;Boost_104400; UHD_003.002.003-vendor

see libuhd version information above this line
and
192.168.10.2

but when I wrote uhd_fft.py in teminal I have given this error.

linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.004.000-07c9d41

-- Opening a USRP2/N-Series device...

Traceback (most recent call last):

File "/usr/local/bin/uhd_fft.py", line 279, in <module>

main ()

File "/usr/local/bin/uhd_fft.py", line 275, in main

app = stdgui2.stdapp(app_top_block, "UHD FFT", nstatus=1)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 36, in init

wx.App.__init__ (self, redirect=False)

File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7978, in init

self._BootstrapApp()

File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7552, in _BootstrapApp

return _core_.PyApp__BootstrapApp(*args, **kwargs)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 39, in OnInit

frame = stdframe (self.top_block_maker, self.title, self._nstatus)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 60, in init

self.panel = stdpanel (self, self, top_block_maker)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 81, in init

self.top_block = top_block_maker (frame, self, vbox, sys.argv)

File "/usr/local/bin/uhd_fft.py", line 83, in init

stream_args=uhd.stream_args('fc32'))

File "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/init.py", line 112, in constructor_interceptor

return old_constructor(*args)

File "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/uhd_swig.py", line 2286, 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 8, but got 7:

The FPGA build is not compatible with the host code build.

for exmaple,  I run uhd_usrp_probe in terminal

linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.004.000-07c9d41

-- Opening a USRP2/N-Series device...

Error: 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 8, but got 7:

The FPGA build is not compatible with the host code build.

and in Matlab I wrote  sdruFMMono and I have given this error

---------- begin libuhd driver construction output ----------

---------- begin libuhd status message output ----------

Opening a USRP2/N-Series device...

---------- end libuhd status message output ----------

---------- begin libuhd status message output ----------

Current recv frame size: 1472 bytes

---------- end libuhd status message output ----------

---------- begin libuhd status message output ----------

Current send frame size: 1472 bytes

---------- end libuhd status message output ----------

---------- begin libuhd warning message output ----------

The recv buffer could not be resized sufficiently.

Target sock buff size: 50000000 bytes.

Actual sock buff size: 1000000 bytes.

See the transport application notes on buffer resizing.

Please run: sudo sysctl -w net.core.rmem_max=50000000

---------- end libuhd warning message output ----------

---------- begin libuhd warning message output ----------

The recv buffer could not be resized sufficiently.

Target sock buff size: 50000000 bytes.

Actual sock buff size: 1000000 bytes.

See the transport application notes on buffer resizing.

Please run: sudo sysctl -w net.core.rmem_max=50000000

---------- end libuhd warning message output ----------

---------- begin libuhd warning message output ----------

The send buffer could not be resized sufficiently.

Target sock buff size: 1048576 bytes.

Actual sock buff size: 1000000 bytes.

See the transport application notes on buffer resizing.

Please run: sudo sysctl -w net.core.wmem_max=1048576

---------- end libuhd warning message output ----------

---------- end libuhd driver construction output ----------

I really appreciate to your answer.

Best Regards

hossein


USRP-users mailing list
USRP-users@lists.ettus.commailto:USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Hi Hossein, USRP Support Package for MATLAB and Simulink uses a version of UHD that may be different than a version of UHD that is already installed on your computer. From the command line outputs you sent, I can see that your computer has UHD version 003.004.000 already installed. Also, when you installed the USRP support package, UHD version 003.002.003 was installed and MATLAB uses that version. So, from an installation stand point, I do not see any problems. The following messages are not errors: Target sock buff size: 50000000 bytes. Actual sock buff size: 1000000 bytes. See the transport application notes on buffer resizing. Please run: sudo sysctl -w net.core.rmem_max=50000000 They are suggestions from the UHD driver for better performance. I highly recommend you to follow this suggestion and run “sudo sysctl -w net.core.rmem_max=50000000” on your command line. Hth, Ethem From: USRP-users [mailto:usrp-users-bounces@lists.ettus.com] On Behalf Of Mike Jameson via USRP-users Sent: Tuesday, June 03, 2014 9:42 AM To: Hossein Soleymani Cc: USRP-users@lists.ettus.com; Ettus Research Support Subject: Re: [USRP-users] update image file The UHD image files from the Ettus website are not the same as the UHD image files from the MATLAB website. Make sure that the images you are using are from the MATLAB USRP support package: http://www.mathworks.co.uk/hardware-support/usrp.html Mike -- Mike Jameson M0MIK BSc MIET Ettus Research Technical Support Email: support@ettus.com<mailto:support@ettus.com> Web: http://ettus.com On Tue, Jun 3, 2014 at 11:32 AM, Hossein Soleymani via USRP-users <usrp-users@lists.ettus.com<mailto:usrp-users@lists.ettus.com>> wrote: Dear all I have problem as following to write image file in UHD. Is there anybody help me to repair it? I am interesting to know , where is my fault ? Because I did all of process like routine method but I have not given correct result to connect UHD to Matlab and USRP. first of all I should say my Matlab version is 2012a and it is compatible with UHD_003_002_003 I reload Firmware and FPGA image file as following in command of terminal. acts@Nevada:~$ cd/usr/local/share/uhd acts@Nevada:/usr/local/share/uhd$ ls examples images tests utils acts@Nevada:/usr/local/share/uhd$ cd utils/ acts@Nevada:/usr/local/share/uhd/utils$ ls fx2_init_eeprom usrp2_card_burner.py usrp_burn_mb_eeprom uhd-usrp.rules usrp2_recovery.py usrp_n2xx_net_burner_gui.py usrp2_card_burner_gui.py usrp_burn_db_eeprom usrp_n2xx_net_burner.py acts@Nevada:/usr/local/share/uhd/utils$ sudo ./usrp2_card_burner_gui.py [sudo] password for acts: I wrote usrp2_fw.bin and usrp2_fpga.bin of UHD-images-003.002.003 to /dev/sda2 I wrote findsdru command window of matlab and I saw this message linux; GNU c++ version 4.4.6 ;Boost_104400; UHD_003.002.003-vendor see libuhd version information above this line and 192.168.10.2 but when I wrote uhd_fft.py in teminal I have given this error. linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.004.000-07c9d41 -- Opening a USRP2/N-Series device... Traceback (most recent call last): File "/usr/local/bin/uhd_fft.py", line 279, in <module> main () File "/usr/local/bin/uhd_fft.py", line 275, in main app = stdgui2.stdapp(app_top_block, "UHD FFT", nstatus=1) File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 36, in __init__ wx.App.__init__ (self, redirect=False) File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7978, in __init__ self._BootstrapApp() File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7552, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 39, in OnInit frame = stdframe (self.top_block_maker, self.title, self._nstatus) File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 60, in __init__ self.panel = stdpanel (self, self, top_block_maker) File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 81, in __init__ self.top_block = top_block_maker (frame, self, vbox, sys.argv) File "/usr/local/bin/uhd_fft.py", line 83, in __init__ stream_args=uhd.stream_args('fc32')) File "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/__init__.py", line 112, in constructor_interceptor return old_constructor(*args) File "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/uhd_swig.py", line 2286, 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 8, but got 7: The FPGA build is not compatible with the host code build. for exmaple, I run uhd_usrp_probe in terminal linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.004.000-07c9d41 -- Opening a USRP2/N-Series device... Error: 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 8, but got 7: The FPGA build is not compatible with the host code build. and in Matlab I wrote sdruFMMono and I have given this error ---------- begin libuhd driver construction output ---------- ---------- begin libuhd status message output ---------- Opening a USRP2/N-Series device... ---------- end libuhd status message output ---------- ---------- begin libuhd status message output ---------- Current recv frame size: 1472 bytes ---------- end libuhd status message output ---------- ---------- begin libuhd status message output ---------- Current send frame size: 1472 bytes ---------- end libuhd status message output ---------- ---------- begin libuhd warning message output ---------- The recv buffer could not be resized sufficiently. Target sock buff size: 50000000 bytes. Actual sock buff size: 1000000 bytes. See the transport application notes on buffer resizing. Please run: sudo sysctl -w net.core.rmem_max=50000000 ---------- end libuhd warning message output ---------- ---------- begin libuhd warning message output ---------- The recv buffer could not be resized sufficiently. Target sock buff size: 50000000 bytes. Actual sock buff size: 1000000 bytes. See the transport application notes on buffer resizing. Please run: sudo sysctl -w net.core.rmem_max=50000000 ---------- end libuhd warning message output ---------- ---------- begin libuhd warning message output ---------- The send buffer could not be resized sufficiently. Target sock buff size: 1048576 bytes. Actual sock buff size: 1000000 bytes. See the transport application notes on buffer resizing. Please run: sudo sysctl -w net.core.wmem_max=1048576 ---------- end libuhd warning message output ---------- ---------- end libuhd driver construction output ---------- I really appreciate to your answer. Best Regards hossein _______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com<mailto:USRP-users@lists.ettus.com> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com