Bladerf Windows Install Guide: Installing Bladerf Software With Matlab Simulink Support
Bladerf Windows Install Guide: Installing Bladerf Software With Matlab Simulink Support
Bladerf Windows Install Guide: Installing Bladerf Software With Matlab Simulink Support
8, 2016
Install Guide
bladeRF Windows
Nuand, LLC
License
This work by Nuand, LLC is licensed under:
Creative Commons Attribution 4.0 International License
Authors
Jon Szymaniak
<jon.szymaniak@nuand.com>
Nuand, LLC
Install Guide
bladeRF Windows
Nuand, LLC
Revisions
Comments, feedback, improvements, and fixes may be sent to <bladeRF@nuand.com>.
Revision
1
Date
2015-01-08
Summary
Initial revision for 2016.01-rc1 installer
ii
Install Guide
bladeRF Windows
Nuand, LLC
Contents
1 Overview
3 Installation Procedure
3.1 Download . . . . . . . . . . . . .
3.2 Execute Installer . . . . . . . . .
3.2.1 Destination Location . . .
3.2.2 Driver Installation . . . .
3.2.3 Firmware Update . . . . .
3.2.4 MATLAB Search Path .
3.2.5 Start Menu Folder . . . .
3.2.6 Ready to Install . . . . . .
3.2.7 Installation Progress . . .
3.2.8 Firmware Update Progress
3.2.9 System PATH . . . . . . .
3.2.10 Installation Completed . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
2
2
2
3
4
5
6
7
8
9
10
11
12
13
14
14
15
16
17
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
iii
Install Guide
bladeRF Windows
Nuand, LLC
Overview
This document describes the Windows installation procedure for pre-built bladeRF software and its associated MATLAB & Simulink support.
PC system requirements, such as processor and RAM specifications, are largely dependent
upon ones target SDR application. While the bladeRF can be used on a USB 2.0 port, a
USB 3.0 controller is recommended in order to fully leverage the sample rate capabilities of
the device.
Recommended minimum configuration:
Quad-core 64-bit processor (3 GHz)
4 GB RAM
USB 3.0 Controller
7 64-bit
Windows
Install Guide
bladeRF Windows
3
3.1
Nuand, LLC
Installation Procedure
Download
3.2
Execute Installer
Ensure the bladeRF is not connected to the system. Do not connect it until after the installer
completes successfully, or until instructed to do so in Section 3.2.3.
Begin by running the installer executable. If Windows prompts whether the program
should be allowed to execute, verify that the publisher is listed as Nuand, LLC before
clicking Yes.
Once started, a welcome screen will be presented, as shown below. Click Next to continue.
Install Guide
bladeRF Windows
3.2.1
Nuand, LLC
Destination Location
Next, the installer will prompt for an installation destination. Update this field, if desired,
and click Next.
Install Guide
bladeRF Windows
3.2.2
Nuand, LLC
Driver Installation
This screen presents three driver installation options. If this is the first time setting up the
bladeRF software on the machine, either the Cypress CyUSB3 or libusb (WinUSB)
driver must installed.
Either driver may be used. Both are provided as a matter of preference. Should one driver
prove to be problematic on a system, the installer may be re-run to install the other. Additionally, a driver may be installed at a later time using Zadig1 .
If a driver is already installed, the last option may be used.
http://zadig.akeo.ie/
Install Guide
bladeRF Windows
3.2.3
Nuand, LLC
Firmware Update
The following page provides the option to update the bladeRF firmware during the installation process. This is generally recommended, as firmware releases generally include feature
updates and fixes.
It is always possible to upgrade (or downgrade) firmware at a later time using the bladeRF-cli
program2 . The FX3 firmware image is used for the update is installed in the location selected
in 3.2.1, under the fx3 firmware folder.
Install Guide
bladeRF Windows
3.2.4
Nuand, LLC
Install Guide
bladeRF Windows
3.2.5
Nuand, LLC
This page provides the ability to customize the Start Menu location under which shortcuts
to the bladeRF-cli and uninstall program are placed.
Install Guide
bladeRF Windows
3.2.6
Nuand, LLC
Ready to Install
Click Next be begin installing files to the system. This is the last step at which the program
can be cancelled before changes are made.
Install Guide
bladeRF Windows
3.2.7
Nuand, LLC
Installation Progress
If items are to be added to the MATLAB path, a MATLAB window will momentarily
appear while this is updated.
Install Guide
bladeRF Windows
3.2.8
Nuand, LLC
If a firmware update was selected, a console similar to the one shown below will appear.
A message is displayed, indicating that the bladeRF to update should be connected to the
system. Connect a bladeRF and wait for Windows to finish installing its driver. Check
Device Manager if it is unclear whether this has been done.
After pressing Enter, the firmware update will begin. Progress messages will be displayed
as the on-board flash is erased and reprogrammed.
Do not disconnect the bladeRF until the console displays a message noting that this process has completed. After a firmware update, the bladeRF will need to be unplugged and
reconnected for the changes to take effect.
Should one accidentally disconnect the device or encounter a failure, the device will enter a
recovery bootloader mode. Information on re-flashing firmware while in this mode is available
on the bladeRF wiki3 .
https://github.com/Nuand/bladeRF/wiki/Upgrading-bladeRF-firmware#Upgrading_
using_the_FX3_bootloader
10
Install Guide
bladeRF Windows
3.2.9
Nuand, LLC
System PATH
At the end of the installation, the following screen is presented. Adding bladeRF items to
%PATH% will allow bladeRF-cli to be executed from cmd.exe, and other programs to
locate bladeRF.dll
11
Install Guide
bladeRF Windows
3.2.10
Nuand, LLC
Installation Completed
12
Install Guide
bladeRF Windows
Nuand, LLC
A quick means of verifying that the installation has succeeded is to view information about
a bladeRF using the bladeRF-cli program.
A shortcut to bladeRF-cli may be executed from the Start Menu location selected in
Section 3.2.1. Alternatively, it can be executed from cmd.exe as follows:
bladeRF-cli -i
Once in the command-line interface, information about the device may be obtained using
the version, info, and print commands. Sample output is shown below.
13
Install Guide
bladeRF Windows
Nuand, LLC
5
5.1
If bladeRF items were not added to the MATLAB search path in Section 3.2.4, then the
following paths must be provided to the addpath4 function.
C:\Program Files\bladeRF\x64
C:\Program Files\bladeRF\matlab
http://www.mathworks.com/help/matlab/ref/addpath.html?requestedDomain=www.
mathworks.com
14
Install Guide
bladeRF Windows
5.2
Nuand, LLC
RX GUI Demo
A receive-only demo program implemented entirely in MATLAB may be executed via the
command: bladeRF rx gui
As shown below, this program allows various parameters to be manipulated while viewing
FFT plots and sample values in real time.
15
Install Guide
bladeRF Windows
5.3
Nuand, LLC
Viewing Documentation
For information about available device properties and functions, run doc bladeRF.
Because the bladeRF MATLAB support is implemented as a thin layer atop of bladeRF.dll,
the libbladeRF API documentation5 may also be referenced for more detailed information.
https://nuand.com/bladeRF-doc/libbladeRF
16
Install Guide
bladeRF Windows
5.4
Nuand, LLC
Once placed, double click the System block to specify that it should implement a bladeRF Simulink
object.
http://www.mathworks.com/help/vision/system-objects.html
17
Install Guide
bladeRF Windows
Nuand, LLC
As shown below, the block may be configured for a full-duplex configuration, with both RX
and TX ports.
18
Install Guide
bladeRF Windows
Nuand, LLC
Configure the models Solver Options for Fixed-Step, with a discrete (no continuous
state) Solver.
19