Difference between revisions of "Running UHD and GNU Radio on NI USRP-RIO"

From Ettus Knowledge Base
Jump to: navigation, search
(Overview)
m (MichaelDickens moved page Running UHD and GNU Radio on NI-USRP RIO to Running UHD and GNU Radio on NI USRP-RIO: the device name is "NI USRP-RIO", not "NI-USRP RIO" ... as it turns out)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Application Note Number==
+
==Application Note Number and Authors==
'''AN-638'''
+
'''AN-638''' by Neel Pandeya, Nate Temple, and Michael Dickens
 
+
<!-- Internal use only: please do keep this updated!
 
==Revision History==
 
==Revision History==
 
{| class="wikitable"
 
{| class="wikitable"
Line 8: Line 8:
 
!Details
 
!Details
 
|-
 
|-
|style="text-algin:center;"| 2016-05-01  
+
|style="text-align:center;"| 2016-05-01
|style="text-algin:center;"| Neel Pandeya<br> Nate Temple  
+
|style="text-align:center;"| Neel Pandeya<br> Nate Temple
|style="text-algin:center;"| Initial creation
+
|style="text-align:center;"| Initial creation
 +
|-
 +
|style="text-align:center;"| 2021-04-15
 +
|style="text-align:center;"| Michael Dickens
 +
|style="text-align:center;"| Remove X300, since it cannot be a USRP-RIO ; whitespace ; remove specific UHD version ; "Rio" -> "RIO" ; add me
 
|}
 
|}
 +
-->
  
 
==Abstract==
 
==Abstract==
This AN explains the process to updating your USRP-Rio to run UHD and GNU Radio.
+
 
 +
This AN explains the process to updating your NI USRP-RIO to run UHD and GNU Radio.
  
 
==Overview==
 
==Overview==
This application note will cover the details of converting your NI-USRP RIO into an equivalent X300/X310 USRP. Once it is converted into a X300/X310, you will be able to use the UHD API, GNU Radio and RFNoC as you would a Ettus Research USRP.
+
 
 +
This application note will cover the details of converting your NI USRP-RIO into an equivalent Ettus Research X310 USRP. Once it is converted into a X310, you will be able to use the UHD API, GNU Radio and RFNoC as you would a proper X310.
  
 
==Warning==
 
==Warning==
Opening the chassis and changing the daughterboards will void your NI warranty. NI will not be able to provide support for UHD, GNU Radio, or RFNoC. Support questions should be directed to the usrp-users and discuss-gnuradio mailing lists or to support@ettus.com.
+
 
 +
Opening the chassis and changing the daughterboards will void your NI warranty. NI will not be able to provide support for UHD, GNU Radio, or RFNoC. Support questions should be directed to the [[Mailing Lists|usrp-users]] and [[Mailing Lists|discuss-gnuradio]] mailing lists or to [mailto:support@ettus.com support@ettus.com].
  
 
==Prerequisites==
 
==Prerequisites==
This guide assumes that your USRP-Rio already has a valid IP address, and that you can ping the device.  
+
 
 +
This guide assumes that your USRP-RIO already has a valid IP address, and that you can ping the device.  
  
 
==Installing UHD==
 
==Installing UHD==
You will need to install UHD 3.9.4 on to your host system. For more information on installing UHD, please see the Building and Installing the USRP Open-Source Toolchain (UHD and GNU Radio) on [[Building and Installing the USRP Open-Source Toolchain (UHD and GNU Radio) on Linux|Linux]] and [[Building and Installing the USRP Open-Source Toolchain (UHD and GNU Radio) on OS X|OS X]] Application Notes.
+
 
 +
You will need to install UHD on to your host system. For more information on installing UHD, please see the Building and Installing the USRP Open-Source Toolchain (UHD and GNU Radio) on [[Building and Installing the USRP Open-Source Toolchain (UHD and GNU Radio) on Linux|Linux]], [[Building and Installing the USRP Open-Source Toolchain (UHD and GNU Radio) on OS X|OS X]] and [[Building and Installing the USRP Open Source Toolchain (UHD and GNU Radio) on Windows|Windows]] Application Notes.
  
 
==Downloading FPGA Images==
 
==Downloading FPGA Images==
 +
 
After UHD is installed, run the following command to download the corresponding FPGA images.
 
After UHD is installed, run the following command to download the corresponding FPGA images.
  
Line 34: Line 45:
  
 
==Flashing FPGA Image==
 
==Flashing FPGA Image==
Once the FPGA images are downloaded, you are ready to flash the FPGA image with the following command. Note, you will need to update to the IP address of the USRP-Rio and the path to the FPGA image in the following command. Ensure power to the USRP-Rio or host computer is not interrupted during the flashing process.
 
  
    usrp_x3xx_fpga_burner --add --correct --flags
+
Once the FPGA images are downloaded, you are ready to flash the FPGA image with the following command. Note, you will need to update the IP address of the USRP-RIO and the path to the FPGA image in the following command. Ensure power to the USRP-RIO and host computer is not interrupted during the flashing process. You will need to update the IP Address and FPGA Path in the following command.
  
Once the FPGA burner utility is completed, power cycle the USRP-Rio.
+
If you are loading it via Ethernet:
 +
    Automatic FPGA path, detect image type:
 +
    uhd_image_loader --args="type=x300,addr=<IP address>"
 +
 
 +
If you are using PCI Express, then:
 +
    Automatic FPGA path, detect image type:
 +
    uhd_image_loader --args="type=x300,resource=<NI-RIO resource>"
 +
 
 +
Further information regarding the way to load FPGA images into the X3X0 device can be found in our [https://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_flash manual page]
 +
 
 +
Once the FPGA burner utility is completed, power cycle the USRP-RIO.
  
 
==Testing==
 
==Testing==
After you power cycle the USRP-Rio, test it with the following command.
+
 
 +
After you power cycle the USRP-RIO, test it with the following command.
  
 
     uhd_usrp_probe
 
     uhd_usrp_probe
  
 
==Installing GNU Radio==
 
==Installing GNU Radio==
 +
 
For details instructions on installing GNU Radio, please reference the GNU Radio section of the Building and Installing the USRP Open-Source Toolchain (UHD and GNU Radio) on [[Building and Installing the USRP Open-Source Toolchain (UHD and GNU Radio) on Linux|Linux]] and [[Building and Installing the USRP Open-Source Toolchain (UHD and GNU Radio) on OS X|OS X]] Application Notes.
 
For details instructions on installing GNU Radio, please reference the GNU Radio section of the Building and Installing the USRP Open-Source Toolchain (UHD and GNU Radio) on [[Building and Installing the USRP Open-Source Toolchain (UHD and GNU Radio) on Linux|Linux]] and [[Building and Installing the USRP Open-Source Toolchain (UHD and GNU Radio) on OS X|OS X]] Application Notes.
  
 
==Testing GNU Radio==
 
==Testing GNU Radio==
Once GNU Radio is installed, you can test the operation of the USRP-Rio with the following utility.
+
 
 +
Once GNU Radio is installed, you can test the operation of the USRP-RIO with the following utility.
  
 
     uhd_fft
 
     uhd_fft
Line 56: Line 79:
  
 
==RFNoC==
 
==RFNoC==
 +
 
For detailed instructions on setting up RFNoC, please see the [[RFNoC Getting Started Guides]] page.
 
For detailed instructions on setting up RFNoC, please see the [[RFNoC Getting Started Guides]] page.
 
 
  
 
[[Category:Application Notes]]
 
[[Category:Application Notes]]

Latest revision as of 13:47, 15 April 2021

Application Note Number and Authors

AN-638 by Neel Pandeya, Nate Temple, and Michael Dickens

Abstract

This AN explains the process to updating your NI USRP-RIO to run UHD and GNU Radio.

Overview

This application note will cover the details of converting your NI USRP-RIO into an equivalent Ettus Research X310 USRP. Once it is converted into a X310, you will be able to use the UHD API, GNU Radio and RFNoC as you would a proper X310.

Warning

Opening the chassis and changing the daughterboards will void your NI warranty. NI will not be able to provide support for UHD, GNU Radio, or RFNoC. Support questions should be directed to the usrp-users and discuss-gnuradio mailing lists or to support@ettus.com.

Prerequisites

This guide assumes that your USRP-RIO already has a valid IP address, and that you can ping the device.

Installing UHD

You will need to install UHD on to your host system. For more information on installing UHD, please see the Building and Installing the USRP Open-Source Toolchain (UHD and GNU Radio) on Linux, OS X and Windows Application Notes.

Downloading FPGA Images

After UHD is installed, run the following command to download the corresponding FPGA images.

   sudo uhd_images_downloader

Flashing FPGA Image

Once the FPGA images are downloaded, you are ready to flash the FPGA image with the following command. Note, you will need to update the IP address of the USRP-RIO and the path to the FPGA image in the following command. Ensure power to the USRP-RIO and host computer is not interrupted during the flashing process. You will need to update the IP Address and FPGA Path in the following command.

If you are loading it via Ethernet:

   Automatic FPGA path, detect image type:
   uhd_image_loader --args="type=x300,addr=<IP address>"

If you are using PCI Express, then:

   Automatic FPGA path, detect image type:
   uhd_image_loader --args="type=x300,resource=<NI-RIO resource>"

Further information regarding the way to load FPGA images into the X3X0 device can be found in our manual page

Once the FPGA burner utility is completed, power cycle the USRP-RIO.

Testing

After you power cycle the USRP-RIO, test it with the following command.

   uhd_usrp_probe

Installing GNU Radio

For details instructions on installing GNU Radio, please reference the GNU Radio section of the Building and Installing the USRP Open-Source Toolchain (UHD and GNU Radio) on Linux and OS X Application Notes.

Testing GNU Radio

Once GNU Radio is installed, you can test the operation of the USRP-RIO with the following utility.

   uhd_fft

For a more detailed and through testing procedure, please see the Verifying the Operation of the USRP Using UHD and GNU Radio Application Note.

RFNoC

For detailed instructions on setting up RFNoC, please see the RFNoC Getting Started Guides page.