USRP1 B100 and B200 installation notes (USB) » History » Version 3

Version 2 (ROQUE, Damien, 11/18/2014 03:31 PM) → Version 3/5 (ROQUE, Damien, 11/30/2014 09:56 PM)

h1. USRP1, B100 and USRP B200 installation notes

This documentation explains how to install an USRP device operated through USB interface (ex.: USRP1, B100, B200...). In the following, we assume that a Debian based operating system has been successfully installed along with UHD h2. Harware detection and GNURadio (see for example [[Debian Wheezy 7 installation guidelines]] and [[UHD and GNURadio installation]]). firmware update

h2. System integration <pre>
uhd_find_devices
</pre>


First of all, it is necessary If requested, update the firmware library.
<pre>
sudo "/usr/local/lib/uhd/utils/uhd_images_downloader.py"
</pre>

Then retry
to make @udev@ aware of USRP find devices.
<pre>
uhd_find_devices
</pre>
and inspect the hardware configuration of the tranceiver
<pre>
uhd_usrp_probe
</pre>

h2. System integration

<pre>
sudo cp /usr/local/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger
</pre>

h2. Hardware detection and firmware update Add the following in @/etc/security/limits.conf@

Power/connect the USRP device and try to detect it.
<pre>
uhd_find_devices @usrp - rtprio 99
</pre>

<pre>

Then, inspect the hardware configuration of the transceiver. groupadd usrp
</pre>

<pre>
uhd_usrp_probe adduser <my-login> usrp
</pre>



h2. Performances assessment assesment

You do a rate benchmarking.
<pre>
/usr/local/lib/uhd/examples/benchmark_rate --duration 20 --rx_rate <wanted-rate> # Reception test 8e6
</pre>

<pre>
/usr/local/lib/uhd/examples/benchmark_rate --duration 20 --rtx_rate <wanted-rate> # Transmission test --rx_rate 32e6
</pre>

<pre>

where @<wanted-rate>@ should be less than 8 MS/s for USB 2.0 and 61.44 MS/s for USB 3.0.

If @OOOOOO...@ or @UUUUUUU...@ appears on the standard output, it means that incoming samples (from the computer to the USRP) are dropped or outgoing samples (from the USRP to the computer) are not provided at expected rate. This defect can result from various causes: lack of CPU-time of the computer, overloaded interface... See "this page": for detailed explanation.
uhd_fft
</pre>