background image

Example Output:

   uhd_image_loader --args "type=n3xx,addr=192.168.1.151,fpga=HG"
   [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_3.11.1.HEAD-0-gad6b0935
   [INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.1.151,type=n3xx,product=n310,serial=313ABDA,claimed=False,skip_init=1
   [INFO] [MPM.main] Launching USRP/MPM, version: 3.11.1.0-gunknown
   [INFO] [MPM.main] Spawning RPC process...
   [INFO] [MPM.PeriphManager] Device serial number: 313ABDA
   [INFO] [MPM.PeriphManager] Found 2 daughterboard(s).
   [INFO] [MPM.PeriphManager.UDP] No CHDR interfaces found!
   [INFO] [MPM.PeriphManager.UDP] No CHDR interfaces found!
   [INFO] [MPM.RPCServer] RPC server ready!
   [INFO] [MPM.RPCServer] Spawning watchdog task...
   [INFO] [MPM.PeriphManager.UDP] No CHDR interfaces found!
   [INFO] [MPMD] Claimed device without full initialization.
   [INFO] [MPMD IMAGE LOADER] Starting update. This may take a while.
   [INFO] [MPM.PeriphManager] Updating component `fpga'
   [INFO] [MPM.PeriphManager] Updating component `dts'
   [INFO] [MPM.RPCServer] Resetting peripheral manager.
   [INFO] [MPM.PeriphManager] Device serial number: 313ABDA
   [INFO] [MPM.PeriphManager] Found 2 daughterboard(s).
   [INFO] [MPMD IMAGE LOADER] Update component function succeeded.

To load a different default FPGA image (i.e. 

XG

WG

), modify the device argument 

fpga=

 to a value of 

fpga=XG

 or 

fpga=WG

.

To specify the path to a custom FPGA image, use the ?

--fpga-path

? argument.

   $ uhd_image_loader --args "type=n3xx,addr=<N3xx_IP_ADDR>" --fpga-path=/path/to/custom/fpga.bit

The Verilog code for the FPGA in the USRP N3xx is open-source, and users are free to modify and customize it for their needs. However, certain
modifications may result in either bricking the device, or even in physical damage to the unit. Please note that modifications to the FPGA are made at
the risk of the user, and may not be covered by the warranty of the device.

It is possible to update the FPGA image when operated in Embedded mode. Connect to the ARM CPU via Serial Console or SSH as detailed in the
section above.

Updating the FPGA image from the ARM CPU is the same as detailed above for a Network mode update, except it is not required to provide an 

addr

device argument.

   uhd_image_loader --args "type=n3xx,fpga=HG"

root@ni-n3xx-313ABDA:~# uhd_image_loader --args "type=n3xx,fpga=HG"
[INFO] [UHD] linux; GNU C++ version 7.2.0; Boost_106400; UHD_3.11.1.0-0-unknown
[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=127.0.0.1,type=n3xx,product=n310,serial=313ABDA,claimed=False,skip_init=1
[INFO] [MPMD] Claimed device without full initialization.
[INFO] [MPMD IMAGE LOADER] Starting update. This may take a while.
[INFO] [MPM.PeriphManager] Updating component `fpga'
[INFO] [MPM.PeriphManager] Updating component `dts'
[INFO] [MPM.RPCServer] Resetting peripheral manager.
[INFO] [MPM.PeriphManager] Device serial number: 313ABDA
[INFO] [MPM.PeriphManager] Found 2 daughterboard(s).
[INFO] [MPMD IMAGE LOADER] Update component function succeeded.

For more information on updating the FPGA image, refer to the UHD Manual at 

http://uhd.ettus.com

 .

The device supports multiple, high-speed, low-latency interfaces on the SFP+ ports for streaming samples to the host computer.

Complete the steps below to set up a streaming connection over the 1 Gigabit Ethernet interface on 

SFP Port 0

.

When streaming via SFP Port 0 at 1 Gb speeds, it is important that the connection is direct between the Host and USRP. Placing a switch or other
network gear between the Host and USRP can reduce throughput of the transport link. It is also generally recommended to avoid using USB to Ethernet
Adapters for the high speed streaming interface, as they may limit performance or cause periodic flow control errors.

NOTE: The 

HG

 FPGA image must be loaded for 

SFP Port 0

 to operate at 1Gb speeds. If the 

XG

 image is loaded, the port will be unresponsive at 1Gb

speeds.

1. Configure your Host's Ethernet adapter as shown below. This interface should be separate from the 1Gb NIC/network which is connected to the 1Gb
RJ45 management interface.

   IP Address: 192.168.10.1
   Subnet Mask: 255.255.255.0
   Gateway: 0.0.0.0
   MTU: 1500

NOTE: When operating 

SFP Port 0

 at 1Gb speeds, it is important to set a MTU of 

1500

 and not a value of 

automatic

.

2. Insert the ? RJ45 ? SFP+ adapter ?into? 

SFP Port 0

? .

3. Connect the adapter to a host computer using the Ethernet cable to SFP0.

The ? Green LED? above ?

SFP Port 0

? should illuminate.

4. To test the connection,? ?

ping

? the device at address 

192.168.10.2?

 from the host, as shown below:

   $ ping 192.168.10.2
   PING 192.168.10.2 (192.168.10.2) 56(84) bytes of data.
   64 bytes from 192.168.10.2: icmp_seq=1 ttl=64 time=1.06 ms
   ^C
   --- 192.168.10.2 ping statistics ---
   1 packets transmitted, 1 received, 0% packet loss, time 0ms
   rtt min/avg/max/mdev = 1.065/1.065/1.065/0.000 ms

Press 

CTRL+C

 to stop the ping program.

Содержание N321

Страница 1: ...Streaming SFP Port 1 10 3 Dual 10Gb Streaming SFP Ports 0 1 11 Verifying Device Operation 11 1 Subdevice Specification Mapping 11 1 1 N300 11 1 2 N310 11 1 2 1 UHD 3 11 x x 3 12 x x 11 1 2 2 UHD 3 13 x x 11 1 3 N320 11 1 4 N321 11 2 Supported Sample Rates 11 2 1 Example Sample Rates 11 2 2 N320 N321 Example Sample Rates 11 3 Probe the USRP 11 3 1 N300 N310 11 3 2 N320 11 3 3 N321 11 4 ASCII Art Ex...

Страница 2: ...0 Gigabit Ethernet interface for sample streaming In addition to the Ethernet interface used for sampling streaming your host computer will require a separate 1 Gigabit Ethernet interface for command and control streaming For Stand Alone Embedded Mode A host computer with an available 1 Gigabit Ethernet port or a USB 2 0 port to remotely access the embedded Linux operating system running on ARM CP...

Страница 3: ... be used to connect to the ARM via SSH By default the 1Gb RJ45 connection is configured to use a DHCP assigned IP address Dual SFP Connections The Dual SFP Connections support multiple configurations for streaming high speed low latency data depending upon the FPGA image which is loaded QSFP Connection N320 N321 Only The QSFP Connection supports 2 x 10Gb lanes for streaming high speed low latency ...

Страница 4: ...k ether 00 00 00 00 00 00 brd ff ff ff ff ff ff If you do not have access to a network with a DHCP server you can create one using the Linux utility dnsmasq sudo dnsmasq i ETHERNET_ADAPTER_NAME dhcp range 192 168 1 151 192 168 1 254 except interface lo bind dynamic no daemon NOTE Modify the value ETHERNET_ADAPTER_NAME to match the interface you would like to create a DHCP server on After the devic...

Страница 5: ...blk0p3 size 7851737088 module block_device 0 1024 KiB 0 2048 KiB 0 3072 KiB truncated for readability 99 448512 KiB 99 449536 KiB 100 450185 KiB INFO 3004 wrote 7851737088 7851737088 bytes of update to device dev mmcblk0p3 module device INFO 3009 Enabling partition with new image installed to be a boot candidate 3 module device The artifact can also be stored on a remote server mender rootfs http ...

Страница 6: ...x_e320_fpga_default g3de8954a zip 23045 kB 23045 kB 100 n3xx_n310_fpga_default g3de8954a zip 00523 kB 00523 kB 100 b2xx_b205mini_fpga_default ge57dfe0 zip 18937 kB 18937 kB 100 x3xx_x300_fpga_default gf1ba32fe zip 00017 kB 00017 kB 100 octoclock_octoclock_fw_default g14000041 zip 00007 kB 00007 kB 100 usrp2_usrp2_fw_default g6bea23d zip 00009 kB 00009 kB 100 usrp2_n200_fw_default g6bea23d zip 0045...

Страница 7: ...ersion 7 2 0 Boost_106400 UHD_3 11 1 0 0 unknown INFO MPMD Initializing 1 device s in parallel with args mgmt_addr 127 0 0 1 type n3xx product n310 serial 313ABDA claimed False skip_ini INFO MPMD Claimed device without full initialization INFO MPMD IMAGE LOADER Starting update This may take a while INFO MPM PeriphManager Updating component fpga INFO MPM PeriphManager Updating component dts INFO MP...

Страница 8: ... 255 255 0 Gateway 0 0 0 0 MTU 9000 2 Configure your Host s 2 10Gb Ethernet adapter as shown below IP Address 192 168 20 1 Subnet Mask 255 255 255 0 Gateway 0 0 0 0 MTU 9000 NOTE When operating at 10Gb speeds it is important to set a MTU of 9000 and not a value of automatic 3 Connect the USRP to a host computer using either a 10Gb SFP or Fiber cables to SFP Ports 0 1 The Green LEDs above SFP Ports...

Страница 9: ...6 8 9286e6 7 8125e6 6 9444e6 6 25e6 4 1667e6 3 90625e6 1 953125e6 1 2 153 6e6 76 8e6 38 4e6 25 6e6 19 2e6 15 36e6 12 8e6 10 971e6 9 6e6 8 5333e6 7 68e6 5 12e6 4 8e6 2 4e6 1 5 Listed below are common sample rates for the given master clock rates This is not a complete listing of the supported sample rates Master Clock Rate Decimation Interpolation Rate Host Sample Rate Msps 1 2 4 6 8 10 12 14 16 18...

Страница 10: ... 0 0 step 0 0 dB Gain range dsa 0 0 to 0 0 step 0 0 dB Gain range amp 0 0 to 0 0 step 0 0 dB Bandwidth range 20000000 0 to 100000000 0 step 0 0 Hz Connection Type IQ Uses LO offset No _____________________________________________________ RX Codec A Name AD9371 Dual ADC Gain Elements None _____________________________________________________ RX Dboard B _____________________________________________...

Страница 11: ...ing 1 device s in parallel with args mgmt_addr 127 0 0 1 type n3xx product n320 serial 3181FFA claimed False INFO MPM main Launching USRP MPM version 3 14 0 0 g6875d061 INFO MPM main Spawning RPC process INFO MPM PeriphManager Device serial number 3181FFA INFO MPM Rhodium 0 Successfully loaded all peripherals INFO MPM Rhodium 1 Successfully loaded all peripherals INFO MPM PeriphManager Initialized...

Страница 12: ... Serial 3175A67 _____________________________________________________ RX Frontend 0 Name Rhodium Antennas TX RX RX2 CAL TERM Sensors lo_locked Freq range 1 000 to 6000 000 MHz Gain range all 0 0 to 60 0 step 1 0 dB Bandwidth range 250000000 0 to 250000000 0 step 0 0 Hz Connection Type Uses LO offset No _____________________________________________________ RX Codec B Name ad9695 625 Gain Elements N...

Страница 13: ..._ Mboard ni n3xx 3166646 eeprom_version 2 mpm_version 3 14 0 0 g6875d061 pid 16962 product n320 rev 6 rpc_connection remote serial 3166646 type n3xx MPM Version 1 2 FPGA Version 5 3 FPGA git hash 3de8954 clean RFNoC capable Yes Time sources internal external gpsdo sfp0 Clock sources external internal gpsdo Sensors gps_sky gps_time gps_gpgga gps_locked fan gps_tpv ref_locked temp __________________...

Страница 14: ...e connection although this is not recommended as the formatting may not render correctly You can run a simple test of the N3xx USRP by connecting an antenna and observing the spectrum of a commercial FM radio station in real time following the steps below 1 Attach an antenna to the Ch0 RX2 antenna port of the N3xx 2 From your host computer run the command N300 N310 usr local lib uhd examples rx_as...

Страница 15: ...ps Actual RX Rate 2 500000 Msps Setting RX Freq 98 500000 MHz Actual RX Freq 98 500000 MHz Setting RX Gain 50 000000 dB Actual RX Gain 50 000000 dB Checking RX all_los locked Done Included with the UHD driver example programs is a utility benchmark_rate to benchmark the transport link of the system A system s maximum performance is dependent upon many factors benchmark_rate will exercise the trans...

Страница 16: ...bdev A 0 A 1 B 0 B 1 N320 N321 This example will test two full duplex streams at 30 72 MS s for 60 seconds usr local lib uhd examples benchmark_rate args type n3xx mgmt_addr 192 168 1 151 addr 192 168 20 2 master_clock_rate 245 76e6 duration 60 channels 0 1 2 3 rx_rate 30 72e6 rx_subdev A 0 B 0 tx_rate 30 72e6 tx_subdev A 0 B 0 NOTE This example requires the XG FPGA image to be loaded N310 This ex...

Страница 17: ...of all past conversations and discussions going back many years Your question or problem may have already been addressed before and a relevant or helpful solution may already exist in the archive Discussions involving the USRP hardware and the UHD software itself are best addressed through the u srp users mailing list at http usrp users ettus com Discussions involving the use of GNU Radio with USR...

Отзывы: