Skip to content

Latest commit

 

History

History
113 lines (107 loc) · 3.79 KB

README.md

File metadata and controls

113 lines (107 loc) · 3.79 KB

Host UHD™ Software Source Code

This document will describe how to compile UHD from source code.

Build on Ubuntu

Build Dependencies

You can install all the dependencies through the package manager:

sudo apt-get install autoconf automake build-essential ccache cmake cpufrequtils doxygen ethtool \
g++ git inetutils-tools libboost-all-dev libncurses5 libncurses5-dev libusb-1.0-0 libusb-1.0-0-dev \
libusb-dev python3-dev python3-mako python3-numpy python3-requests python3-scipy python3-setuptools \
python3-ruamel.yaml

Build Instructions

  • Generate Makefile with CMake
cd host/
mkdir build
cd build
cmake ../
  • Make
make
  • Install
sudo make install
sudo ldconifg

The default installation path: /usr/local/lib/uhd

Test with e200

After connecting the netword port and powering the e200, run the command uhd_usrp_probe. The running example is as follows:

jcc@jcc:~$ uhd_usrp_probe 
[INFO] [UHD] linux; GNU C++ version 8.4.0; Boost_106501; UHD_3.15.0.dev-0-8b82588b
[INFO] [ANTSDR] Search Microphase ANTSDR E200.
[INFO] [E200] Detected Device: ANTSDR
[INFO] [E200] Initialize CODEC control...
[INFO] [E200] _Product B205MINI(COMPATIBLE)...
[INFO] [E200] Initialize Radio control...
[INFO] [E200] Performing register loopback test... 
[INFO] [E200] Register loopback test passed
[INFO] [E200] Setting master clock rate selection to 'automatic'.
[INFO] [E200] Asking for clock rate 16.000000 MHz... 
[INFO] [E200] Actually got clock rate 16.000000 MHz.
  _____________________________________________________
 /
|       Device: ANT-E-Series Device
|     _____________________________________________________
|    /
|   |       Mboard: ANTSDR-EXXX
|   |   No mboard EEPROM found.
|   |   FPGA Version: 7.0
|   |   
|   |   Time sources:  none, internal, external
|   |   Clock sources: internal, external
|   |   Sensors: ref_locked
|   |     _____________________________________________________
|   |    /
|   |   |       RX DSP: 0
|   |   |   
|   |   |   Freq range: -8.000 to 8.000 MHz
|   |     _____________________________________________________
|   |    /
|   |   |       RX Dboard: A
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Frontend: A
|   |   |   |   Name: FE-RX1
|   |   |   |   Antennas: TX/RX, RX2
|   |   |   |   Sensors: temp, rssi, lo_locked
|   |   |   |   Freq range: 50.000 to 6000.000 MHz
|   |   |   |   Gain range PGA: 0.0 to 76.0 step 1.0 dB
|   |   |   |   Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Codec: A
|   |   |   |   Name: ANTSDR-EXXX RX dual ADC
|   |   |   |   Gain Elements: None
|   |     _____________________________________________________
|   |    /
|   |   |       TX DSP: 0
|   |   |   
|   |   |   Freq range: -8.000 to 8.000 MHz
|   |     _____________________________________________________
|   |    /
|   |   |       TX Dboard: A
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Frontend: A
|   |   |   |   Name: FE-TX1
|   |   |   |   Antennas: TX/RX
|   |   |   |   Sensors: temp, lo_locked
|   |   |   |   Freq range: 50.000 to 6000.000 MHz
|   |   |   |   Gain range PGA: 0.0 to 89.8 step 0.2 dB
|   |   |   |   Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Codec: A
|   |   |   |   Name: ANTSDR-EXXX TX dual DAC
|   |   |   |   Gain Elements: None

When you can see the above output, uhd can run on the e200.