USRP1 B100 and B200 installation notes (USB) » History » Version 3
ROQUE, Damien, 11/30/2014 09:56 PM
1 | 3 | ROQUE, Damien | h1. USRP1, B100 and B200 installation notes |
---|---|---|---|
2 | 1 | ROQUE, Damien | |
3 | 3 | ROQUE, Damien | 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 and GNURadio (see for example [[Debian Wheezy 7 installation guidelines]] and [[UHD and GNURadio installation]]). |
4 | 1 | ROQUE, Damien | |
5 | 1 | ROQUE, Damien | h2. System integration |
6 | 1 | ROQUE, Damien | |
7 | 3 | ROQUE, Damien | First of all, it is necessary to make @udev@ aware of USRP devices. |
8 | 1 | ROQUE, Damien | <pre> |
9 | 1 | ROQUE, Damien | sudo cp /usr/local/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/ |
10 | 1 | ROQUE, Damien | sudo udevadm control --reload-rules |
11 | 1 | ROQUE, Damien | sudo udevadm trigger |
12 | 1 | ROQUE, Damien | </pre> |
13 | 1 | ROQUE, Damien | |
14 | 3 | ROQUE, Damien | h2. Hardware detection and firmware update |
15 | 1 | ROQUE, Damien | |
16 | 3 | ROQUE, Damien | Power/connect the USRP device and try to detect it. |
17 | 1 | ROQUE, Damien | <pre> |
18 | 3 | ROQUE, Damien | uhd_find_devices |
19 | 1 | ROQUE, Damien | </pre> |
20 | 3 | ROQUE, Damien | Then, inspect the hardware configuration of the transceiver. |
21 | 1 | ROQUE, Damien | <pre> |
22 | 3 | ROQUE, Damien | uhd_usrp_probe |
23 | 1 | ROQUE, Damien | </pre> |
24 | 1 | ROQUE, Damien | |
25 | 3 | ROQUE, Damien | h2. Performances assessment |
26 | 1 | ROQUE, Damien | |
27 | 3 | ROQUE, Damien | You do a rate benchmarking. |
28 | 1 | ROQUE, Damien | <pre> |
29 | 3 | ROQUE, Damien | /usr/local/lib/uhd/examples/benchmark_rate --duration 20 --rx_rate <wanted-rate> # Reception test |
30 | 3 | ROQUE, Damien | /usr/local/lib/uhd/examples/benchmark_rate --duration 20 --rtx_rate <wanted-rate> # Transmission test |
31 | 1 | ROQUE, Damien | </pre> |
32 | 3 | ROQUE, Damien | where @<wanted-rate>@ should be less than 8 MS/s for USB 2.0 and 61.44 MS/s for USB 3.0. |
33 | 1 | ROQUE, Damien | |
34 | 3 | ROQUE, Damien | 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. |