[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Recent Changes to UHD causing issue for USRP1?
From: |
john |
Subject: |
Re: [Discuss-gnuradio] Recent Changes to UHD causing issue for USRP1? |
Date: |
Tue, 26 Apr 2011 11:43:22 +1200 |
On Sun, 2011-04-24 at 20:57 -0700, Josh Blum wrote:
> > address@hidden:~$ uhd_find_devices
> > linux; GNU C++ version 4.4.3; Boost_104000; UHD_003.000.001-627075e
> >
> > --------------------------------------------------
> > -- UHD Device 0
> > --------------------------------------------------
> > Device Address:
> > type: usrp1
> > name:
> > serial:
> >
> >
> > ( as an aside, I think I would have gotten this the last time if I had
> > allowed the USRP unit a bit of time to load itself after powering on).
> >
> > It finds/defaults to usrp1 (which IS the unit) but does not return the
> > serial number (4c745353) so perhaps it is not really detecting anything?
> >
>
> Its reading the serial directly from eeprom as an ascii string. If the
> first character wasnt valid ASCII, then it would just return with a
> blank string. I wouldnt worry about it, your USRP seems to be working
> just fine.
>
> -josh
Thanks Josh but the issue is that on one UBUNTU 10.04 system I get the
serial number returned by uhd_find_devices and GnuRadioCompanion works
and on the other, I don't get a serial number on uhd_find_devices and
GRC complains with:
linux; GNU C++ version 4.4.3; Boost_104000; UHD_003.000.001-627075e
>>> gr_fir_ccc: using 3DNow!Ext
Loading firmware image: /home/john/usrp1_fw.ihx... done
Traceback (most recent call last):
File "/home/john/fm_rx.py", line 502, in <module>
tb = fm_rx()
File "/home/john/fm_rx.py", line 269, in __init__
num_channels=1,
File
"/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/__init__.py", line
74, in constructor_interceptor
return old_constructor(*args, **kwargs)
File
"/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/uhd_swig.py", line
1656, in usrp_source
return _uhd_swig.usrp_source(*args, **kwargs)
RuntimeError: LookupError: KeyError: No devices found for ----->
Device Address:
serial: 4c745353
I am 'feeding' in the serial number on the UHD: USRP source block.
I was trying to use uhd_find_devices as the diagnostic tool.
I should repeat that on the 'good' environment, the probe indentifies
USRP DBs correctly.
Kind Regards,
John
Re: [Discuss-gnuradio] Recent Changes to UHD causing issue for USRP1?, Marcus D. Leech, 2011/04/24