Setting up the Ettus USRP N210

8 Feb

Changing the IP Address
The USRP N210 comes with a default IP address of 192.168.10.2 which may be changed (e.g. 192.168.1.13):
sudo /usr/local/lib64/uhd/utils/usrp2_recovery.py --ifc=em1 --new-ip=192.168.1.13

Increase Socket BUffers
sudo vi /etc/sysctl.conf

# Increase buffers for USRP
net.core.rmem_max=50000000
net.core.wmem_max=50000000

Realtime Priority
sudo vi /etc/security/limits.conf

# Add for USRP realtime priority
myusername - rtprio 99

Will require re-login

Updating N210 Firmware and FPGA
sudo /usr/local/lib64/uhd/utils/uhd_images_downloader.py

cd /usr/local/lib64/uhd/utils

./usrp_n2xx_net_burner.py --addr=192.168.1.13 --fw=/usr/local/share/uhd/images/usrp_n210_fw.bin

./usrp_n2xx_net_burner.py --addr=192.168.1.13 --fpga=/usr/local/share/uhd/images/usrp_n210_r4_fpga.bin

Cycle power on the USRP

Probe
uhd_usrp_probe --args "addr=192.168.1.13"

Benchmark
cd /usr/local/lib64/uhd/examples

./benchmark_rate --rx_rate 25E6 --tx_rate 25E6 --args "addr=192.168.1.13"

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: