UHD Announcement - November 23rd 2010

Hello list,

Much code has been pushed and new images uploaded.
http://code.ettus.com/redmine/ettus/projects/uhd/wiki


– Support for new devices

Host code, firmware, and FPGA code for the new hardware has been pushed.
This includes:

USRP-N210
USRP-E100
DBSRX2


– Flow control work

Work on host based flow control for the USRP2 has been merged into the
mainline. New FPGA and fimware images must be written to the SD card to
work with the latest host code. Host-based flow control removed the need
for ethernet pause frames, allowing USRP2s to work with devices like
switches and to perform better on TX overall.

The docs have changed to reflect this:
http://www.ettus.com/uhd_docs/manual/html/usrp_nxxx.html#setup-networking

Images packages here: http://www.ettus.com/downloads/uhd_images/


– API changes

The deprecated simple and mimo blocks have been removed from UHD and
gr-uhd. The deprecated blocks spit out a profuse amount of warnings.
Everyone should be switched over to the single and multi USRP interfaces
by now.

I mentioned this last week (after an accidental push). The API for gain
and frequency ranges has changed slightly. The gain range object no
longer has members min, max, and step. These have been replaced with
methods start(), stop(), and step(). In addition, a range can contain
sub-ranges that can be iterated through, where each sub-range has a
start(), stop(), and step(). Motivating example: the XCVR2450 has a
high-band and low-band frequency range.


– UHD versioning

Its been tough keeping gr-uhd and UHD in sync with each other. I have
introduced a compatibility number into the UHD version string. Whenever
API changes cause breaking changes to gr-uhd, the number will be
incremented in UHD and in the gr-uhd package config checks.


– Bug fixes

There was an issue in the FPGA code when transmitting simultaneous timed
packets on USRP2. This has been resolved in the new FPGA image.


– Name your USRP

You may assign a canonical name to your USRP device to more easily
identify it on a host machine. The one on my desk is named Bobert:

http://www.ettus.com/uhd_docs/manual/html/identification.html#naming-a-usrp

On Tue, Nov 23, 2010 at 10:24 PM, Josh B. [email protected] wrote:

ethernet pause frames, allowing USRP2s to work with devices like switches
The deprecated simple and mimo blocks have been removed from UHD and gr-uhd.



– Feedback is welcome!

-Josh

All great stuff Josh, thanks!

I’m especially glad you’ve got the versioning implemented. That should
help us keep everything sane, especially as we start to move towards
full UHD acceptance.

Tom

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/24/2010 04:24 AM, Josh B. wrote:

– Feedback is welcome!

Hi list,

first of all thanks Josh for the great work. Now for the feedback part:

While playing around with our USRP2s I noticed some odd behavior with
the new fw/fpga images.

My setup is Arch Linux(amd64), with latest gnuradio-git + uhd-git with
two (seemingly identical) USRP2s.

When putting the current images on the first one, it works just fine!
Now if I use the same SD-card in the other USRP2 I get an odd
response:

linux; GNU C++ version 4.5.1; Boost_104300;
UHD_0001.20101124034736.b33c109

Warning:
Ignoring discovered device
Expected fpga compatibility number 3, but got 852885540:
The fpga build is not compatible with the host code build.

whereas if I install the old image I get:

linux; GNU C++ version 4.5.1; Boost_104300;
UHD_0001.20101124034736.b33c109

Warning:
Ignoring discovered device
Expected protocol compatibility number 7, but got 6:
The firmware build is not compatible with the host code build.

which seems quite normal.

Any ideas?

Cheers,

Moritz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJM7TwEAAoJEOjnDXL6I0uZZ7gQALn8CQjtgy0a4Sf1aysE8o54
L6CoZ1gHk2ijG8B539yVSTGDvGIT5QfQi5AUg+YukXMp3d4VSr+49xxRg7bsiWR6
JHpcnLVS378ookDhVVEtVk2piLj8zZtAuTkSbBeh5JxTR9es5CoxhBL0KmT931W5
F1HpYwWGPovwmVNyHJIGPyluV/HLZ+x2rJ+9TTe/aJHY6PK9p8hRYAYeis4fEHDz
vVje9bgpB11WmO5Zk7pYLkDnZ/zTrw6ZixwrfLo2e6t7YmzMlXAnYXW5xbsN8yLQ
V3hFDZXEiw8qtRS/rTOLsEFA9kCIjYtjPVLT1+wd3Of/XPi80K0Rgtb1G9ENPsAS
PKPRcHjZWQMDIHE6UexAovXxaGuXtej+80tOWO7wjZ5Y1HptrjaQqvxXBL1k2s7A
NdVhawPpvXeyYIH4Jc2T8AYH24g202jYuExdqYiJtEeqs0j1ZeLPr77ZXz9+AeaP
V0fGfcsJjO/LvkDD2Bp274cLLps8USAMHAPZfO2nUu2EvMTMpSx5ihOonHGX3u+z
B9/e9QsKdnOUmUgu9LpNuapWwJ23c2t/VeaOPreqXX1sWHV4vmlPNhcObwEMWlK2
IfTOpLhJk0dI2+QOxWgq/PD5Y/LGtku2wJFivIEdZsQ9QFLHNcuiRmHPj4BqQfSg
QeIZfosxUZEBpztOsCVn
=UF28
-----END PGP SIGNATURE-----

Hi
Just updated to the latest UHD drivers and am getting this error, what
have I done wrong?

Tnx David

Traceback (most recent call last):
File “/home/tempest/top_block.py”, line 12, in
from gnuradio import uhd
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/init.py”, line
25, in
from uhd_swig import *
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/uhd_swig.py”, line
24, in
_uhd_swig = swig_import_helper()
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/uhd_swig.py”, line
20, in swig_import_helper
_mod = imp.load_module(’_uhd_swig’, fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-uhd-3.4git.so.0: undefined
symbol: _ZN3uhd4usrp22tune_rx_subdev_and_dspEN3wax3objES2_mdd

On 11/24/2010 08:23 AM, Moritz Fischer wrote:

When putting the current images on the first one, it works just fine!
Now if I use the same SD-card in the other USRP2 I get an odd response:

What are the serial numbers of the two USRP2s?

Matt

I believe that that UHD was missing a case for the the revision number
in your usrp2 (possibly 3.1) and was falling through to a register map
intended for the USRP-N210. Can you pull the latest host code (just
updated) and try again?

Thanks,
-Josh

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/24/2010 05:45 PM, Matt E. wrote:

The working one is revision 3.0 // serial number 149. The one that’s not
responding is a revision 3.01 // serial number 186.

Sorry for not including this information :wink: Looking back now I feel
kind of stupid to not have realized they might be of a different
revision :slight_smile:

Cheers,

Moritz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJM7VHFAAoJEOjnDXL6I0uZrL0P/10tfWx2OTw/otuHaeeWceZB
5guPtmpaHdXVdTSkGktYzkMtRSQA1VBcMHKzC+b0KKypm/m/wU7Ij59GyjKx1+45
BUNZ/pfYHK6oroo3wycBavUIYqTrDq+CWv2EA/sc4dk8uxI38SpFJXlFHPG8akmL
E+UkYerQyLKqVX55rI9DtDFGQ09+80sliVeeMOjMM2hegCcYxOpeA4zb6h6VpBMW
XkJ3I6d7lDgArWB4cwfgHzVzaivqpz+B6d4/PnSnFeIAHFvZX0qP5ya9rX62yB/H
TXvrzgtjM3v/IS1Fk1V4wOwMfVey9xIy25TcBawu9xFPMbLqic0yA42dMyUUzDXb
POHDkaxDuAXDK+s4n9Pi2zH9fn4rshbYDzgWWnysH+RG4vUGqUtT3amxec6NaQWE
seQcOaPY+iy2SJSoEwPiZAtjU4F0CUSO35cD2P2Nmlr6N7GICswgMkNnfjMbrPpQ
lzkYo8Y6v/OAoQhNRbtFDfobUqES/j8lkjk1Fd5tmI3xpiGxb6qgU85vEiSczLkv
iLW4hZk4nbr9ofI4YllOQeGe6QC8BRyBF7dGv62BOT67Mcu5e4pgFRkNJKxJFJg6
o1HOddj/MUtIwmq6wuvFHBnLw1KYQi7DGdy1c8Jjp3Bi3TnYYuBpQJ+6sk52+I7+
+a6ODpANG+Sjaf0Y8oB/
=OgZM
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/24/2010 07:11 PM, Josh B. wrote:

I believe that that UHD was missing a case for the the revision number
in your usrp2 (possibly 3.1) and was falling through to a register map
intended for the USRP-N210. Can you pull the latest host code (just
updated) and try again?

Works like a charm (even through a switch!) Thanks a lot!

Cheers & happy hacking

Moritz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJM7Wu/AAoJEOjnDXL6I0uZaWwQAIl6Nzp1x7AzBrzVWmzwpw79
aOmoJvUc/J+ka375EgaVs1OJb7Tjrnbh7Yz1bQKk+fJRzrvfYFtBGin6tBiRpdpo
oLri1sh7m71QCQoaHtXGFizNRXTcEF0FUj4DtTmdEK3jABLgNPgtEuEcdVJe/qZ2
HkwV4bXR9Swf4kw27Ii4mm2RfN0cLrsMt66RLUYtDzzXqymj+ZUW3GaUp7wn8Gxq
FH72f/UHugk58pB6wCcvRyYnTu37Jvtl22our7YFRk5NGPiUr/ZAOsGg6kTRzPSh
0saoG7+DsmuCzp/z4zIXotIVxKMHJYzk0h0QRPuvBY2Oy4NiHe1lIz5cVyAqaPz7
F8yw974uOqi8y+7P5DcKwVE6LOZhsCJYQpixCTOfR7kWOKEyegKsPIA5DcQ5vUQh
TewCmxMlJhoz4vTzt0qWWT9XPdtiDaeB+Ee457P7Am0fnb61o5fWclAp5dpgnVB/
XRkMH1f7zfxyFHVZCItE5quOspnq/33NmZ9GdQAHsRisSaNMmYHpW+odQb3QaQRi
vSyyWsLUI1R7Z6UgDZMohpdLZm7WSWqlQoEFHqLoWe6R2rMT6tBLbm0ILY/TnKII
uzRT/7XWMKwgPZfAd/TuvbQaGDE/PbFmOwJ8EeE3vTCquV227cGIVIl9MeAD4lwT
07gfiynE0vtA2Zyfxyb4
=4JBp
-----END PGP SIGNATURE-----