UHD Start 

UHD 是 Ettus Resarch 产品的 Universal Hardware Driver (通用硬件驱动)的缩写。它适用所有的主要的平台(Linux, Windows, 和 Mac);可通过 GCC, Clang, 和 MSVC 编译器构建。

UHD 的旨意是为 Ettus Research 目前和未来的产品提供宿主驱动(host driver)和 API。这样用户便可独立使用 UHD 驱动或灵活同第三方应用诸如:Gnuradio, Labview, 或 Simulink 相配合。下面是针对配合 GNURadio 的指导。

如若独立使用 UHD 或配合 Gnuradio,预构的二进制包也无从寻觅。这样的话便需编译 UHD。具体请参阅下面的 构建指导(build instructions)

The UHD is the universal hardware driver for Ettus Research products. It works on all major platforms (Linux, Windows, and Mac); and can be built with GCC, Clang, and MSVC compilers.

The goal of the UHD is to provide a host driver and API for current and future Ettus Research products. Users will be able to use the UHD driver standalone or with 3rd party applications such as Gnuradio, Labview, or Simulink. See below for the Gnuradio instructions.

文档 - Documentation

Help and Support

Help us help you by providing essential details:

  • What hardware are you using? (daughterboards, motherboards, version numbers, etc...)
  • What software are you using? (gnuradio, simulink, labview, c++ application, etc...)
  • Can you attach a minimal example that demonstrates the problem?
  • Screenshots, time domain and frequency plots can also be helpful.

Source code

Note: Users building from source should use the images from the latest release.

Clone the repository:

git clone git://code.ettus.com/ettus/uhd.git

-- Is your corporate or university firewall blocking the git protocol? 
-- Try this http mirror instead. The mirror is updated daily. 

git clone http://github.com/EttusResearch/UHD-Mirror.git

Or download an archive here

Binary downloads

USRP-Embedded users: Updates for drivers and FPGA images are available through the OPKG system on your device.

Some helpful links:

Windows post install tasks:

Windows USB driver

The USB driver allows USB-based products (USRP1 and B Series) to work with UHD on windows.
  • Download the driver. Download link for USB driver
  • Unzip the file into a known location. We will refer to this as the <directory>.
  • Open the device manager and plug-in the USRP. You will see an unrecognized USB device in the device manager.
  • Right click on the unrecognized USB device and select update/install driver software (may vary for your OS).
  • In the driver installation wizard, select "browse for driver", browse to the <directory>, and select the .inf file.
  • Continue through the installation wizard until the driver is installed.

Gnuradio + UHD

The gr-uhd component of Gnuradio comes with a set of source and sink blocks for UHD as well as block wrappers for the Gnuradio-Companion.
  • To get the gr-uhd blocks, you will need to use the master branch on git://gnuradio.org/gnuradio.git
  • After configuring Gnuradio, make sure that gr-uhd is one of the enabled components.
  • Proceed to build and install as usual. See the gnuradio build guide for more information.

Youtube Videos

获取源码 - Get the source 

git clone git://code.ettus.com/ettus/uhd.git

Git 协议(Git Protocol)如若被贵公司或学校的防火墙屏蔽?那么请试试下面 Http 镜像站点。同时告知系统管理员。该镜像站点每日更新。

git clone http://github.com/EttusResearch/UHD-Mirror.git

构建请参阅 构建指导(build instructions)。 

下载 - Download

Gnuradio + UHD

Gnuradio 的 gr-uhd 单元包含一组用于 UHD 的“源”和“漏”的功能块(block)功能块打包(block wrappers)的套件(Gnuradio-Companion)。通过下面的 GIT 查看分支checkout the next branch)方法便可获得这些功能块:


通过查看 Gnuradio 

From a checked out Gnuradio repository, run the following commands:

git branch --track next origin/next
git checkout next

If your Gnuradio prefix and lib_suffix are different than the settings configured for UHD, you will need to set your PKG_CONFIG_PATH environment variable before configuring Gnuradio. Example: 

-- Setting the default path --

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH}

-- Setting a custom path --

export PKG_CONFIG_PATH=<prefix>/lib<lib_suffix>/pkgconfig:${PKG_CONFIG_PATH}

After configuring Gnuradio, make sure that gr-uhd is one of the enabled components. Proceed to build and install as usual. 


注:UHD Start(原文出处,翻译整理仅供参考!)