background image

Enter the username: ?

root

?

By default, the 

root

 user's password is left blank. Press the 

Enter

 key when prompted for a password.

You should now be presented with a shell prompt similar to the following:

   root@ni-n3xx-<motherboard serial #>:~#

Using the default configuration, the serial console will show all kernel log messages (which are not available when using SSH), and give access to the
boot loader (U-boot prompt). This can be used to debug kernel or boot-loader issues more efficiently than when logged in via SSH.

Using the Serial Console interface, it is possible to connect to the STM32 microcontroller with the command below. The STM32 controls the power
sequencing and several other low level device operations.

   $ sudo screen /dev/serial/by-id/usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_007F6CB5-if01-port0 115200

The STM32 interface provides a very simple prompt. The command 

help

 will list all available commands. A direct connection to the microcontroller can

be used to hard-reset the device without physically accessing it (i.e., emulating a power button press) and other low-level diagnostics.

By default, the RJ45 1Gb management interface is configured to be assigned a DHCP IP address.

If you have access to a network which provides a DHCP server (such as a common router's LAN), attach the RJ45 1Gb port to this network. Details vary
by vendor, however, most router management interfaces will provide a list of attached devices to the LAN including their IP address.

Without access to a router management interface, you can identify the IP address by connecting to the ARM CPU via Serial Console as detailed in the
section above and running the command 

ip a

:

Example Output:

# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.151/24 brd 192.168.1.255 scope global dynamic eth0
       valid_lft 42865sec preferred_lft 42865sec
3: sfp0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc pfifo_fast qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
    inet 192.168.10.2/24 brd 192.168.10.255 scope global sfp0
       valid_lft forever preferred_lft forever
4: sfp1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 9000 qdisc pfifo_fast qlen 1000
    link/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 device has obtained an IP address, you can remotely log into it from a Linux or macOS system with SSH, as shown below:

   $ ssh [email protected]

NOTE: The IP address may vary depending on your network setup.

NOTE: The 

root

 password default password is empty/blank.

On Microsoft Windows, the SSH connection can be established using the third-party program ?Putty?.

After logging in, you should be presented with a shell like the following:

   root@ni-n3xx-<motherboard serial #>:~#

Before operating the device, it is? ?strongly? recommended to update to the latest version of the Embedded Linux file system. If you are operating the
device in Network Mode, the version of UHD running on the host machine and N3xx USRP must match.

There is two ways to update the file system for the N3xx USRP:

1. Mender

2. Physically remove microSD card from device and write a new file system to the microSD card.

The SD Card is divided into four partitions. There is two root file system partitions, a boot partition and a data partition.

Any data you would like to preserve through Mender updates should be saved to the 

data

 partition, which is mounted at 

/data

.

Mender is third-party software that enables remote updating of the root file system without physically accessing the device (see also the Mender website

https://mender.io

). Mender can be executed locally on the device, or a Mender server can be set up which can be used to remotely update an arbitrary

number of USRP devices. Users can host their own local Mender server, or use servers hosted by Mender as a paid service; contact Mender for more
information.

When updating the file system using Mender, the tool will overwrite the root file system partition that is not currently mounted. Any data stored in the root
partitions will be permanently lost with a Mender update.

After updating a partition with Mender, it will reboot into the newly updated partition. Only if the update is confirmed by the user, the update will be made
permanent. This means that if an update fails, the device will be always able to reboot into the partition from which the update was originally launched,
which presumably is in a working state. Another update can be launched now to correct the previous, failed update, until it works.

Содержание 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...

Отзывы: