0% found this document useful (0 votes)
197 views7 pages

Instruction Using WSL (Window User)

This document provides instructions to install GNURadio software on Windows 10 using Windows Subsystem for Linux (WSL) along with drivers and software for Pluto SDR and RTL-SDR. It involves installing WSL on Windows 10, downloading Xming, installing GNURadio and dependencies through WSL, installing drivers and software for Pluto SDR and RTL-SDR, and optionally installing software for Analog Discovery 2 and LTSpice. The document also provides instructions for launching GNURadio, and notes settings needed to use Pluto SDR source and sink blocks.

Uploaded by

xu Hongpan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
197 views7 pages

Instruction Using WSL (Window User)

This document provides instructions to install GNURadio software on Windows 10 using Windows Subsystem for Linux (WSL) along with drivers and software for Pluto SDR and RTL-SDR. It involves installing WSL on Windows 10, downloading Xming, installing GNURadio and dependencies through WSL, installing drivers and software for Pluto SDR and RTL-SDR, and optionally installing software for Analog Discovery 2 and LTSpice. The document also provides instructions for launching GNURadio, and notes settings needed to use Pluto SDR source and sink blocks.

Uploaded by

xu Hongpan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Overview

This manual will guide you to install GNURadio software to be used in EE2033 using Windows Subsystem Linux (WSL):
1) WSL installation on Windows 10
2) GNURadio:
- with Pluto Adalm SDR support
- with RTL-SDR support
1. Install WSL on Windows 10
1.1 Open “Settings”
1.2 Click on “Apps”
1.3 Under “Related Settings”, click on “Programs and Features”
1.4 Click on “Turn Windows Features On or Off”.
1.5 Scroll to the bottom and check the option “Windows Subsystems for Linux”
1.6 Restart the computer
1.7 Install Ubuntu 18.04 LTS from Microsoft Store
1.8 Once finish installation, you would be asked to enter “new Unix username” and “New password” as well as “Retype new password”. Make sure
identical entries for the password

2. Install Xming
2.1 Download Xming from https://sourceforge.net/projects/xming/files/latest/download
2.2 Run the downloaded executable

3. Install GNURadio and Various Components


2.1 Launch Ubuntu 18.04 LTS:
Under Windows search icon, type Ubuntu. Click “Ubuntu 18.04 LTS” from the appear list.

2.2 Install GNU Radio and other dependencies


sudo add-apt-repository ppa:gnuradio/gnuradio-releases-3.7
sudo apt-get update
sudo apt-get install gnuradio
sudo apt-get install x11-xserver-utils
sudo apt-get -y install gnuradio-dev libxml2 libxml2-dev bison flex cmake git libaio-dev libboost-all-dev swig

2.3 Installing Driver and Software for Pluto Adalm SDR and RTL-SDR:

sudo apt-get install libiio-dev


sudo apt-get install gr-iio
sudo apt-get install rtl-sdr
sudo apt-get install gr-gsm

Download and build libiio


git clone https://github.com/analogdevicesinc/libiio.git
cd libiio
cmake .
make
sudo make install
cd ..

Download and build libad9361-iio


git clone https://github.com/analogdevicesinc/libad9361-iio.git
cd libad9361-iio
sudo apt-get install cmake
cmake .
make
sudo make install
cd ..

2.5 Installing Additional GNURadio Blocks:

Download “grc_blocks.zip” from ivle and put in your home directory (~/ in xterm).
Run the following commands to install in xterm.

unzip grc_blocks.zip
sudo cp grc_blocks/*.xml /usr/local/share/gnuradio/grc/blocks
sudo mkdir /usr/local/lib/python2.7/dist-packages/EE2033
sudo cp grc_blocks/EE2033/*.py /usr/local/lib/python2.7/dist-packages/EE2033

3. Installing Software for AD2 (Optional, only if you want everything to run under Ubuntu):

3.1 Download and install Waveform from AD2


Download digilent.waveforms_3.10.9_amd64.deb from:
https://reference.digilentinc.com/reference/software/waveforms/waveforms-
3/start?_ga=2.230039644.1128290429.1563177308-178029602.1549958957
The file should be stored under ~/Downloads. Run the following commands:

sudo dpkg -i ~/Downloads/digilent.waveforms_3.10.9_amd64.deb


sudo apt-get install –f

You can refer to “Analog Discovery Setup Lab.pdf” for more detailed information on its installation and usage.

4. Installing Software for LTSpice (Optional, only if you want everything to run under Ubuntu):

4.1 Download and install LTSpice

Run the following commands:


sudo apt-get install wine64 (for 64-bit)
or
sudo apt-get install wine32 (for 32-bit)

wget http://ltspice.analog.com/software/LTspiceXVII.exe
wine LTspiceXVII.exe
When prompt for installation folder, type in "C:\"You may double click on the LTspice icon to launch the application.

5. Use the Ubuntu installation from the portable a SSD disk:


If the Wubi and Ubuntu installation in step 1-2 are not working for you, you also can consider using an Ubuntu system from a portable SSD disk. The
reason using SSD portable disk is to make the Ubuntu on the portable disk running smoothly. You need to follow the steps below.
1. Prepare a blank SSD card with at least 30G storage and USB3.0 portable disk box.
2. Copy the SSD image to your SSD from TA using ghost software. This image includes Ubuntu installation, GNURadio, drivers for Pluto Adalm
SDR and RTL-SDR.
3. Connect your SSD portable disk to your computer through USB3.0 port 1 (your first USB3.0 port).
4. Reboot your computer and set your computer to boot from this SSD portable disk. Please note that the booting may fail for a few times, because
Ubuntu needs to recognize your hardware configuration before it can boot up successfully.
5. Go through step 3 and 4 above to install optional AD2 software and LTSpice.
6. Launching the Software:

6.1 Launching GNURadio


Open terminal window by right-click on the empty desktop space, and type the following command:
gnuradio-companion

You can open up fm-radio-grc.grc and start listening to any FM radio station. RTL-SDR dongle needs to be plugged
into USB slot. In addition, wire needs to be inserted to the SMA connector to act like a receiving antenna.
To properly use the pluto-source and pluto-sink under GNURadio, you need the following setting “ip:192.168.2.1” for
“Device URI”:

7. Texas Instrument FilterPro Software:


You can launch TI FilterPro Design software either directly through website with Flash Player enabled, or you can
install the windows application directly. You need to register an account with TI to access the software or the
link.

7.1 Download FilterPro Software:


You can download “FilterPro v3.1” from here:
https://www.ti.com/event/docs/accesseventaction.tsp?actionId=896

You might also like