[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] usrp2_fft segmentation fault

From: Natalia Olano
Subject: [Discuss-gnuradio] usrp2_fft segmentation fault
Date: Fri, 24 Oct 2008 10:39:26 +0200


I am looking for some advice regarding the use of the USRP2 and I hope
that you can help me. Please forgive my inexperience, it is very short
that I have been working on this area. The USRP2 I am using has an RFX
2400 daughterboard, the environment is Suse 10.3 and these are the
steps I have followed:

1/ Installed boost library 1.36 as explained in the readme and added

2/ Installed Microblaze compiler as explained in the wiki and added it to PATH

3/ Installed the gnuradio trunk version 9831
./configure --with-boost=$BOOST_PREFIX
make check (all test passed)
make install

4/ USRP2 is found (LEDS D and F are on)
~/gnuradio-usrp2-rev9831/usrp2/host # find_usrps
00:50:c2:85:30:18 hw_rev = 0x0300

5/Then I try to run the usrp2_fft.py and get
~/gnuradio-usrp2-rev9831/gr-utils/src/python # python usrp2_fft.py -f 2.
usrp2: mismatched command reply length (expected: 60 got: 4). op = OP_EOP
Traceback (most recent call last):
  File "usrp2_fft.py", line 268, in <module>
    main ()
  File "usrp2_fft.py", line 264, in main
    app = stdgui2.stdapp(app_top_block, "USRP2 FFT", nstatus=1)
  File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py", line
36, in __init__
    wx.App.__init__ (self, redirect=False)
  File "/usr/local/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
                              line 7913, in __init__
  File "/usr/local/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
                              line 7487, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py",
line                               39, in OnInit
    frame = stdframe (self.top_block_maker, self.title, self._nstatus)
  File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py",
line                               60, in __init__
    self.panel = stdpanel (self, self, top_block_maker)
  File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py",
line                               81, in __init__
    self.top_block = top_block_maker (frame, self, vbox, sys.argv)
  File "usrp2_fft.py", line 68, in __init__
    self.u = usrp2.source_32fc(options.interface, options.mac_addr)
  File "/usr/local/lib/python2.5/site-packages/gnuradio/usrp2.py",
line 305, in                               source_32fc
    return _usrp2.source_32fc(*args)
RuntimeError: Unable to retrieve daughterboard info
Segmentation fault

The same happens with any of the other codes for the usrp2.

I would be very gratefull if you could come up with a solution.
Best regards
Natalia Olano

reply via email to

[Prev in Thread] Current Thread [Next in Thread]