Bad address

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

On 08/13/2013 07:01 PM, sumitstop wrote:

Device Address:
Bus 001 Device 005: ID fffe:0002
Traceback (most recent call last):
File “/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py”,
self.top_block = top_block_maker (frame, self, vbox, sys.argv)
What does it mean by “Bad Address”

Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page

Why does uhd_fft have a file_sink in it?


Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium

(Face palm) !! I should have seen this before. Actually I make a sink to
get
the data dumped for offline analysis. And while running dint put the
argument for the file path… Epic mistake
Shall put an if-else for running without sink too.


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