discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Bad address


From: sumitstop
Subject: [Discuss-gnuradio] Bad address
Date: Tue, 13 Aug 2013 16:01:42 -0700 (PDT)

Yesterday I made a VM with Ubuntu 10.04 and installed gnuradio (3.6.5.1).

*uhd_find_devices is working fine *

$ uhd_find_devices 
linux; GNU C++ version 4.4.3; Boost_104000; UHD_003.005.003-123-g1c391767

--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
    type: usrp1
    name: node_4
    serial: 4d9e2cab

*lsusb gave this *

$ lsusb
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID fffe:0002  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

*While uhd_fft is throwing this error* 

$ uhd_fft 
linux; GNU C++ version 4.4.3; Boost_104000; UHD_003.005.003-123-g1c391767

-- Opening a USRP1 device...
-- Using FPGA clock rate of 64.000000MHz...
Bad address
Traceback (most recent call last):
  File "/usr/local/bin/uhd_fft", line 345, in <module>
    main ()
  File "/usr/local/bin/uhd_fft", line 341, 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 38, 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 42, in OnInit
    self._max_noutput_items)
  File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 64, in __init__
    self.panel = stdpanel (self, self, top_block_maker, max_nouts)
  File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 86, in __init__
    self.top_block = top_block_maker (frame, self, vbox, sys.argv)
  File "/usr/local/bin/uhd_fft", line 95, in __init__
    self.sink = gr.file_sink(gr.sizeof_gr_complex, options.to_file)  #
creating file sink
  File
"/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_io.py",
line 457, in file_sink
    return _gnuradio_core_io.file_sink(*args, **kwargs)
RuntimeError: can't open file


What does it mean by "Bad Address"
 
Yesterday it was running fine. Any pointers ? 

I tried resetting usb port with a custom script but that dint help.

Rest other scripts are working fine. bencmark_tx, benchmark_rx everything
working. Only uhd_fft is painful.

Strange thing is that when I made a grc for viewing fft with QT, it is
working well without any errors. 






--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Bad-address-tp43138.html
Sent from the GnuRadio mailing list archive at Nabble.com.



reply via email to

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