Changes between Version 1 and Version 2 of Resources/Notes/N310Usage
- Timestamp:
- May 12, 2020, 12:35:02 AM (5 years ago)
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 ==== 4 4 5 5 This 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]. 6 6 7 === Network configuration===7 ==== Network configuration ==== 8 8 From 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.org11 console >omf tell -a on -t srv1-lg1.sb1.cosmos-lab.org9 {{{#!shell-session 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 12 12 }}} 13 13 14 14 After the experiment server is up, ssh into it and list the all interfaces. 15 {{{ 16 >ifconfig -a15 {{{#!shell-session 16 $ ifconfig -a 17 17 eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 18 18 inet 10.113.1.1 netmask 255.255.0.0 broadcast 10.113.255.255 … … 48 48 49 49 Configure ''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 800050 {{{#!shell-session 51 $ sudo ifconfig enp1s0 10.115.1.1 netmask 255.255.0.0 mtu 8000 52 52 }}} 53 53 54 54 Run ''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" 57 57 [INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106501; UHD_3.13.1.0-0-unknown 58 58 -------------------------------------------------- … … 88 88 || data network || addr || 10.115.2.1 || 89 89 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" 92 92 [INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106501; UHD_3.13.1.0-0-unknown 93 93 [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 … … 284 284 }}} 285 285 286 === Trouble shooting===286 ==== Trouble shooting ==== 287 287 The 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_downloader290 >uhd_image_loader --args "type=n3xx,addr=10.113.2.1,fpga=HG"288 {{{#!shell-session 289 node:~$ sudo uhd_images_downloader 290 node:~$ uhd_image_loader --args "type=n3xx,addr=10.113.2.1,fpga=HG" 291 291 }}} 292 292 293 293 294 294 After 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.org297 console >omf tell -a offh -t srv1-lg1.sb1.cosmos-lab.org298 }}} 299 295 {{{#!shell-session 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