Every USRP device must be loaded with special firmware and FPGA images. The methods of loading images into the device vary among devices:
Pre-built images are available for download.
The pre-built images come in two forms:
The UHD images downloader downloads UHD images compatible with the host code and places them in the default images directory.
The download script is typically installed into your $PATH and can be invoked by calling
uhd_images_downloader
It can also be found at: <install-path>/lib/uhd/utils/uhd_images_downloader.py
By default, it installs images to: <install-path>/share/uhd/images
The UNIX-based installers will install the images into /usr/share/uhd/images
.
The Windows installers will install the images into C:/Program Files/UHD/share/uhd/images
.
When installing images from an archive, there are two options:
Option 1:
Unpack the archive into the UHD installation prefix. UHD software will always search <install-path>/share/uhd/images
for image files. Where <install-path>
was set by the CMAKE_INSTALL_PREFIX
at configure-time.
Option 2:
Unpack the archive anywhere and set the UHD_IMAGES_DIR
environment variable. The UHD_IMAGES_DIR
environment variable may contain a list of paths. They should be ordered by preference.
The UHD source repository comes with the source code necessary to build both firmware and FPGA images for all supported devices.
The build commands for a particular image can be found in <uhd-repo-path>/images/Makefile
.
USRP Xilinx FPGA images are built with two different versions of ISE, depending on the device.
The build requires that you have a UNIX-like environment with Make
. Make sure that xtclsh
from the Xilinx ISE bin directory is in your $PATH
.
See <uhd-repo-path>/fpga/usrp3/top/
.
See <uhd-repo-path>/fpga/usrp2/top/
.
The ZPU GCC compiler is required to build the ZPU firmware images. The build requires that you have a UNIX-like environment with CMake
and Make
. Make sure that zpu-elf-gcc
is in your $PATH
.
See <uhd-repo-path>/firmware/zpu
.
Quartus is required to build the Altera FPGA image for the USRP1. Pre-built images can also be found in <uhd-repo-path>/fpga/usrp1/rbf
.
See <uhd-repo-path>/fpga/usrp1/toplevel/
.
The SDCC compiler is required to build the FX2 firmware images. The build requires that you have a UNIX-like environment with CMake
and Make
.
See <uhd-repo-path>/firmware/fx2
.