background image

Ettus E3XX Getting Started Guide

ANGRYVIPER Team

Property 18: file_write.bytesWritten = "0"
Property 19: file_write.messagesWritten = "0"
Property 20: file_write.stopOnEOF = "true" (cached)
Property 21: file_write.ocpi_debug = "false" (parameter)
Property 22: file_write.ocpi_endian = "little" (parameter)
Application started/running
Waiting up to 1 seconds for application to finish
Application finished
Dump of all final property values:
Property 3: file_read.messageSize = "16"
Property 5: file_read.repeat = "<unreadable>"
Property 6: file_read.bytesRead = "4000"
Property 7: file_read.messagesWritten = "251"
Property 8: file_read.suppressEOF = "false"
Property 9: file_read.badMessage = "false"
Property 15: bias.test64 = "0"
Property 18: file_write.bytesWritten = "4000"
Property 19: file_write.messagesWritten = "250"

Run the following command to view the input:

$ hexdump test.input | less

The output should look like the following:

0000000 0000 0000 0001 0000 0002 0000 0003 0000
0000010 0004 0000 0005 0000 0006 0000 0007 0000
0000020 0008 0000 0009 0000 000a 0000 000b 0000
0000030 000c 0000 000d 0000 000e 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 001f 0000
0000080 0020 0000 0021 0000 0022 0000 0023 0000
0000090 0024 0000 0025 0000 0026 0000 0027 0000
00000a0 0028 0000 0029 0000 002a 0000 002b 0000
00000b0 002c 0000 002d 0000 002e 0000 002f 0000
00000c0 0030 0000 0031 0000 0032 0000 0033 0000
00000d0 0034 0000 0035 0000 0036 0000 0037 0000
00000e0 0038 0000 0039 0000 003a 0000 003b 0000
00000f0 003c 0000 003d 0000 003e 0000 003f 0000
0000100 0040 0000 0041 0000 0042 0000 0043 0000
0000110 0044 0000 0045 0000 0046 0000 0047 0000
0000120 0048 0000 0049 0000 004a 0000 004b 0000
0000130 004c 0000 004d 0000 004e 0000 004f 0000
0000140 0050 0000 0051 0000 0052 0000 0053 0000
0000150 0054 0000 0055 0000 0056 0000 0057 0000
0000160 0058 0000 0059 0000 005a 0000 005b 0000

Run the following command to view the output:

$ hexdump test.output | less

The output should look like the following:

0000000 0304 0102 0305 0102 0306 0102 0307 0102
0000010 0308 0102 0309 0102 030a 0102 030b 0102
0000020 030c 0102 030d 0102 030e 0102 030f 0102
0000030 0310 0102 0311 0102 0312 0102 0313 0102

15

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: