Problem downloading firmware to USRP

Hello all,

I am using a USRP Rev. 4.5 that has been working perfectly for a while
with gnuradio trunk rev. 10786. Suddenly I started getting the error:
usrp: failed to find usrp[0] when I try to run any gnuradio code. For
example, the output of usrp_test_loopback.py:

$> usrp_test_loopback.py
usrp: failed to find usrp[0]
Traceback (most recent call last):
File “/usr/local/bin/usrp_test_loopback.py”, line 65, in
main ()
File “/usr/local/bin/usrp_test_loopback.py”, line 58, in main
tb = build_graph ()
File “/usr/local/bin/usrp_test_loopback.py”, line 45, in build_graph
usrp_tx = usrp.sink_s (0, tx_interp)
File
“/usr/local/lib/python2.5/site-packages/gnuradio/usrp/usrp_swig.py”,
line 2776, in sink_s
return _usrp_swig.sink_s(*args, **kwargs)
RuntimeError: can’t open usrp

I have noticed that the LED of the USB controller is always blinking
at 3 Hz and never slows down. If I understand right from the FAQ, this
must mean the regular firmware is not properly downloaded. Could
anyone help me solve this?

Thanks in advance

Natalia Olano

Natalia

Maybe you should have a look at /usr/local/share/usrp where the .rbf
files that get downloaded to the USRP are? Try specifying a .rbf file
when you initialise the USRP in your script.

I’m just guessing a bit here.

Sebastiaan

Hello Sebastiaan,

Thanks a lot for your prompt answer. Yes I am using Ubuntu and I
execute the scripts as root. However, I also configured once the
access for another user in the system called default. So the commands
you suggested look like:

$ cat /etc/group|grep usrp
usrp:x:1002:default
$ cat /etc/udev/rules.d/10-usrp.rules
ACTION==“add”, BUS==“usb”, SYSFS{idVendor}==“fffe”,
SYSFS{idProduct}==“0002”, GROUP:=“usrp”, MODE:=“0660”

The thing is that I can use the same gnuradio installation with a
different USRP and it works, so I would say this is a USRP problem
rather than a permissions problem.

There is also this issue with the LED only blinking at higher speed
and never slowing down that I mentioned in my email to the list. What
could be happening?

Best regards
Natalia Olano

2009/5/20 Sebastiaan H. [email protected]:

Hello again,

Thanks a lot for the help. I managed to get it to work again with the
help of the usrper function as in:

http://gnuradio.org/trac/wiki/UsrpFAQ/Bitstream

Best regards
Natalia Olano

2009/5/20 Sebastiaan H. [email protected]: