Changes between Version 1 and Version 2 of Resources/Notes/N310Usage


Ignore:
Timestamp:
May 12, 2020, 12:35:02 AM (4 years ago)
Author:
msherman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Resources/Notes/N310Usage

    v1 v2  
    1 == N310 configuration and access ==
    2 
    3 === Description ===
     1=== N310 configuration and access ===
     2
     3==== Description ====
    44
    55This tutorial shows how to configure and access the N310 SDR from an experiment server. The N310 is used as a network based USRP which has a 1Gb control interface and a 10Gb data interface. Both interfaces need to be configure properly for control and data streaming. Product information for the N310 is [https://www.ettus.com/all-products/usrp-n310/ here].
    66
    7 === Network configuration ===
     7==== Network configuration ====
    88From a COSMOS console, load a baseline sdr image onto an experiment server - for this example ''srv1-lg1.sb1.cosmos-lab.org'' is used.
    9 {{{
    10 console> omf load -i baseline-uhd-1804.ndz  -t srv1-lg1.sb1.cosmos-lab.org
    11 console> omf tell -a on -t srv1-lg1.sb1.cosmos-lab.org
     9{{{#!shell-session
     10console:~$ omf load -i baseline-uhd-1804.ndz  -t srv1-lg1.sb1.cosmos-lab.org
     11console:~$ omf tell -a on -t srv1-lg1.sb1.cosmos-lab.org
    1212}}}
    1313
    1414After the experiment server is up, ssh into it and list the all interfaces.
    15 {{{
    16 > ifconfig -a
     15{{{#!shell-session
     16$ ifconfig -a
    1717eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    1818        inet 10.113.1.1  netmask 255.255.0.0  broadcast 10.113.255.255
     
    4848
    4949Configure ''enp1s0'' so it can talk to the N310's data interface.
    50 {{{
    51 > sudo ifconfig enp1s0 10.115.1.1 netmask 255.255.0.0 mtu 8000
     50{{{#!shell-session
     51$ sudo ifconfig enp1s0 10.115.1.1 netmask 255.255.0.0 mtu 8000
    5252}}}
    5353
    5454Run ''uhd_find_devices'' to detect the available N310s
    55 {{{
    56 > uhd_find_devices --args="type=n3xx"
     55{{{#!shell-session
     56$ uhd_find_devices --args="type=n3xx"
    5757[INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106501; UHD_3.13.1.0-0-unknown
    5858--------------------------------------------------
     
    8888 || data network    ||      addr || 10.115.2.1 ||
    8989
    90 {{{
    91 > uhd_usrp_probe --args="mgmt_addr=10.113.2.1,addr=10.115.2.1"
     90{{{#!shell-session
     91$ uhd_usrp_probe --args="mgmt_addr=10.113.2.1,addr=10.115.2.1"
    9292[INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106501; UHD_3.13.1.0-0-unknown
    9393[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=10.113.2.1,type=n3xx,product=n310,serial=315A35A,claimed=False,addr=10.115.2.1
     
    284284}}}
    285285
    286 === Trouble shooting ===
     286==== Trouble shooting ====
    287287The FPGA bit file will need to be updated if FPGA version mismatch is generated in the output text of the uhd command above. Follow the steps below to update the FPGA image - this will download and install the FPGA image that is matched with the UHD version being used. Complete details on updating the FPGA  is found [https://kb.ettus.com/USRP_N300/N310/N320/N321_Getting_Started_Guide#Updating_the_FPGA_Image here].
    288 {{{
    289 > sudo uhd_images_downloader
    290 > uhd_image_loader --args "type=n3xx,addr=10.113.2.1,fpga=HG"
     288{{{#!shell-session
     289node:~$ sudo uhd_images_downloader
     290node:~$ uhd_image_loader --args "type=n3xx,addr=10.113.2.1,fpga=HG"
    291291}}}
    292292
    293293
    294294After the image loader completes, power-cycle the N310 from the console and detect the N310 again.
    295 {{{
    296 console> omf tell -a on -t srv1-lg1.sb1.cosmos-lab.org
    297 console> omf tell -a offh -t srv1-lg1.sb1.cosmos-lab.org
    298 }}}
    299 
     295{{{#!shell-session
     296console:~$ omf tell -a on -t srv1-lg1.sb1.cosmos-lab.org
     297console:~$ omf tell -a offh -t srv1-lg1.sb1.cosmos-lab.org
     298}}}
     299