background image

Ettus E3XX Getting Started Guide

ANGRYVIPER Team

3.2

Vendor Software Setup

The platform that is expected to be used is the Ettus Research/National Instruments Universal Software Radio
Peripheral (USRP) E310 (or E3XX) SDR (

e.g.

e3xx). This OpenCPI-enabled platform provides the capability of

deploying hardware and software workers while using Xilinx’s 13.4 distribution of Linux.

The synthesizers and cross-compilers required to build HDL and RCC Workers for this Platform are installed by
following the instructions found in the

OpenCPI FPGA Vendor Tools Installation Guide

. This document assumes

that the user has installed the appropriate versions of Vivado and the Xilinx SDK.

3.3

Building Required Projects

The

core

,

assets

, and

bsp_e310

projects must be built

in a specific order

for this platform. This section outlines

how to build the relevant projects and provides the commands to do so.

For this document, the projects should be built as follows:

1. Build

core

for the

xilinx13_4

RCC Platform and the

e3xx

HDL Platform, but omit assemblies

2. Build

assets

for the

xilinx13_4

RCC Platform and the

e3xx

HDL Platform, but omit assemblies

3. Build the

bsp_e310

project for these same platforms

4. Build the

testbias

assembly from the

assets

project. This will be used later in this guide.

Once the HDL Platform is built in the BSP project, assemblies can be built for that HDL platform

$ cd /home/<user>/ocpi_projects/ && \
$ ocpidev build -d core --rcc-platform xilinx13_4 --hdl-platform e3xx --no-assemblies && \
$ ocpidev build -d assets --rcc-platform xilinx13_4 --hdl-platform e3xx --no-assemblies && \
$ ocpidev build -d bsp_e310 --rcc-platform xilinx13_4 --hdl-platform e3xx && \
$ ocpidev build -d assets hdl assembly testbias --hdl-platform e3xx;

Note: replace “

<user>

” with your username in the commands above.

Each of these build commands can also be performed via the ANGRYVIPER IDE as follows:

To perform this operation within the IDE:

1. Open the ANGRYVIPER Perspective

2. Select the asset from OpenCPI Project View

3. Import to AV Operations Panel using “

>

” button

4. Select the RCC and/or HDL platforms for the build (use

Ctrl

for multiple selection)

5. Click “Build”

See the ANGRYVIPER Team’s Getting Started Guide for additional information concerning the use of

ocpidev

and the ANGRYVIPER IDE to build OpenCPI assets.

3.4

Hardware Setup

Ettus USRP E3XX

It is expected that this SDR package includes a power supply, micro-USB to USB cable and standard SD card
(4GB or larger).

OpenCPI has been tested on the Ettus USRP E310.

The micro-USB serial port located on the back E310 labeled CONSOLE (Figure 2) can be used to access the
serial connection with the processor.

6

Summary of Contents for Ettus E3 Series

Page 1: ...OpenCPI Ettus E3XX Getting Started Guide Version 1 5 Figure 1 Top View E310 1...

Page 2: ...Ettus E3XX Getting Started Guide ANGRYVIPER Team Revision History Revision Description of Change Date v1 3 1 E3XX Initial Release 3 2018 v1 4 Updated for Release 9 2018 v1 5 Version bump only 4 2019 2...

Page 3: ...ode scripts 9 5 1 1 Network Mode 9 5 1 2 Standalone Mode 9 5 2 Setup system time reference 10 5 3 rsync provided binary 10 6 Development Host Setup Network Mode ONLY 10 6 1 Network Mounting Mode 10 6...

Page 4: ...erence s in Table 1 can be used as an overview of OpenCPI and may prove useful Title Published By Link Getting Started ANGRYVIPER Team Getting_Started pdf Installation Guide ANGRYVIPER Team RPM_Instal...

Page 5: ...x86_64 rpm Additional header files and scripts for developing new assets as HDL and or RCC opencpi sw platform xilinx13_4 noarch rpm Additional files necessary to build the framework targeting spe cif...

Page 6: ...testbias assembly from the assets project This will be used later in this guide Once the HDL Platform is built in the BSP project assemblies can be built for that HDL platform cd home user ocpi_proje...

Page 7: ...3 Front Panel Access to a network which supports DHCP Network Mode SD card As mentioned earlier a 4GB or larger SD card should come with the SDR The bootable SD card slot is located on the front of th...

Page 8: ...his section provides the simplest instructions for copying files over to the SD card Appendix B contains more involved instructions for copying only the necessary files to the SD card for each mode WA...

Page 9: ...following lines which are necessary for mounting core and assets project mkdir p mnt ocpi_core mount t nfs o udp nolock soft intr 1 home user ocpi_projects core mnt ocpi_core mkdir p mnt ocpi_assets...

Page 10: ...does not need any additional command line arguments Implementation Details Unfortunately the rsync executable is not in the default path because when called remotely it requests a non interactive she...

Page 11: ...no_root_squash crossmnt If the file system that you are mounting is XFS then each mount needs to have a unique fsid defined Instead use sudo vi etc exports d user_ocpi exports opt opencpi XX XX XX XX...

Page 12: ...script as its only argument mnt card opencpi mynetsetup sh XX XX XX XX where XX XX XX XX is the IP address of the NFS host i e that development host e g 192 168 1 10 A successful run should output th...

Page 13: ...OpenCPI environment must be setup By sourcing the mysetup sh script the remote system s environment is configured for OpenCPI 4 There are no arguments for this script mnt card opencpi mysetup sh A suc...

Page 14: ...n rcc container 1 rcc0 using file_read in mnt ocpi_core artifacts ocpi core file_read rcc 0 xilinx13_4 so dated Fri Sep 28 18 18 26 2018 Instance 1 bias spec ocpi core bias on hdl container 0 PL 0 usi...

Page 15: ...0000 000f 0000 0000040 0010 0000 0011 0000 0012 0000 0013 0000 0000050 0014 0000 0015 0000 0016 0000 0017 0000 0000060 0018 0000 0019 0000 001a 0000 001b 0000 0000070 001c 0000 001d 0000 001e 0000 001...

Page 16: ...02 00000b0 0330 0102 0331 0102 0332 0102 0333 0102 00000c0 0334 0102 0335 0102 0336 0102 0337 0102 00000d0 0338 0102 0339 0102 033a 0102 033b 0102 00000e0 033c 0102 033d 0102 033e 0102 033f 0102 00000...

Page 17: ...tion using the following command ocpirun v t 1 d m bias hdl bias xml The output should be similar to the output shown in Section 9 1 Run the following commands to view the input and output and referen...

Page 18: ...cp meta ettus e300 bsp recipes bsp u boot ettus e300 u boot xlnx cd u boot xlnx mv ps7_init c h board xilinx zynq git apply 0001 E300 Uses UART0 for console patch git apply 0002 E300 Disable QSPI patc...

Page 19: ...artifacts directory and application XMLs into the applications directory For this getting started guide only one bitstream is required to be copied onto the SD cards where as the required artifacts a...

Reviews: