Summary of Contents for Epiq Solutions Matchstiq-Z1
Page 1
OpenCPI Matchstiq-Z1 Getting Started Guide Version 1.5...
Page 2
Matchstiq-Z1 Getting Started Guide ANGRYVIPER Team Revision History Revision Description of Change Date v1.1 Initial Release 3/2017 v1.2 Updated for OpenCPI Release 1.2 8/2017 v1.3 Updated for OpenCPI Release 1.3 2/2018 v1.4 Update descriptions and paths 9/2018 v1.5 Update for OpenCPI Release 1.5...
Matchstiq-Z1 Getting Started Guide ANGRYVIPER Team References This document assumes a basic understanding of the Linux command line (or “shell”) environment. The reference(s) in Table 1 can be used as an overview of OpenCPI and may prove useful. Title Link Acronyms and Definitions...
ANGRYVIPER Team Overview This document provides steps for configuring a factory provided Epiq Solutions Matchstiq-Z1 SDR with the OpenCPI run-time environment for executing applications, configuring a development system to build OpenCPI bitstreams targeting the matchstiq_z1 platform, and examples of executing applications on the OpenCPI configured Matchstiq- Z1.
It is expected that this SDR kit includes a power supply, two SMA/SMB adapters, micro-USB to USB cable, micro-SD card installed internally (expected). A micro-USB connector on the back of the Matchstiq-Z1 provides access to the serial connection. To expose this micro-USB connector, the two screws in the back plate must be removed. Historically, this connector’s attachment to the PCB has been extremely fragile, so be careful when inserting/removing the mating cable.
Page 7
OpenCPI in Network mode. On the front panel of the Matchstiq-Z1, there are three labeled SMB (50 Ohm) connectors: “RX” (receive), “TX” (transmit), and “GPS”. From the factory, the Matchstiq-Z1 is provided with two SMB to SMA adapters.
SD Card Setup The Matchstiq-Z1 SDR is equipped with two SD card slots: one internal and one accessible via the front panel. It is expected that the SDRs are shipped from Epiq Solutions with an SD card installed in the internal slot that is loaded with their embedded environment.
Matchstiq-Z1 Getting Started Guide ANGRYVIPER Team Copy files to SD card for desired Mode(s) As previously discussed, Standalone and Network modes offer trade-offs for configuring the run-time environment of the platform. The following sections provide instructions for copying specific files/directories to the SD card in support of these modes.
There are two type of setups or modes for running applications on any embedded radio: Network and Standalone. In Network mode, a development system hosts the OpenCPI tree as an NFS server to the Matchstiq-Z1 which is an NFS client. This configuration provides quick and dynamic access to all of OpenCPI, and presumably any applications, components and bitstreams.
Matchstiq-Z1 Getting Started Guide ANGRYVIPER Team Setup system time reference If Linux system time is not required to be accurate, this step may be skipped. For either Network or Standalone mode, the following settings that are passed by my[net]setup.sh to the zynq_[net_]setup.sh scripts may require modification:...
• per the previous section, “screen /dev/matchstiq_z1_0 115200” can be used to connect to the serial port. 4. Apply power to the Matchstiq-Z1 with the terminal still connected and stop the boot process by hitting any key to enter the U-Boot terminal.
Matchstiq-Z1 Getting Started Guide ANGRYVIPER Team Development Host Setup - Network Mode ONLY Network Mounting Mode The NFS server needs to be enabled on the host in order to run the SDR in Network Mode. The following sections are directions on how to do this for both CentOS 6 and CentOS 7 host operating systems.
Page 15
Matchstiq-Z1 Getting Started Guide ANGRYVIPER Team % sudo vi /etc/exports.d/user_ocpi.exports /opt/opencpi XX.XX.XX.XX/MM(rw,sync,no_root_squash,crossmnt) <host core project location> XX.XX.XX.XX/MM(rw,sync,no_root_squash,crossmnt) <host assets project location> XX.XX.XX.XX/MM(rw,sync,no_root_squash,crossmnt) <host assets_ts project location> XX.XX.XX.XX/MM(rw,sync,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...
1. Ensure the USB to Ethernet adapter is plugged into the micro-USB port of the front panel and connected to a network configured for DHCP. 2. Ensure a micro-USB to USB cable is connected between the Matchstiq-Z1’s serial port and development host. 3. Apply power to the Matchstiq-Z1 4.
Page 17
Matchstiq-Z1 Getting Started Guide ANGRYVIPER Team Figure 4: Successful Network Mode Setup Note: If the output includes: Attempting to set the time from time server Alarm clock ntp was unable to set time using servers in ntp.conf. For more information see Section 5.2...
1. Ensure the USB to Ethernet adapter (as needed) is plugged into the micro-USB port of the front panel and connected to a network configured for DHCP. 2. Ensure a micro-USB to USB cable is connected between the Matchstiq-Z1’s serial port and development host. 3. Apply power to the Matchstiq-Z1 4.
Page 19
Matchstiq-Z1 Getting Started Guide ANGRYVIPER Team A successful setup of the platform will look as follows: Figure 6: Successful Standalone Mode Setup Note: If the output includes: Attempting to set the time from time server Alarm clock ntp was unable to set time using servers in ntp.conf. For more information see Section 5.2...
Matchstiq-Z1 Getting Started Guide ANGRYVIPER Team Build an Application The setup of the platform can be verified by running an application that uses both RCC and HDL workers. A simple application that requires two RCC and one HDL worker is located in assets/applications/bias.xml, but only the RCC artifacts are provided with the installation of RPMs, and are availble on the SD card (Standard Mode) or mounted CDK directory (Network Mode).
Page 22
Matchstiq-Z1 Getting Started Guide ANGRYVIPER Team Run the following command to view the input. It should look like Figure 7: $ hexdump test.input | less Figure 7: Expected Input Run the following command to view the output. It should look like Figure 8: $ hexdump test.output | less...
Matchstiq-Z1 Getting Started Guide ANGRYVIPER Team 10.2 Standalone Mode The default setup script sets the OCPI_LIBRARY_PATH variable to include the all of the artifacts that are required to execute the application. Specifically, all three of the artifacts that are located on the SD card are mounted at /mnt/card/opencpi/xilinx13_3/artifacts.
Page 24
Matchstiq-Z1 Getting Started Guide ANGRYVIPER Team Run the following command to view the input. It should look like Figure 10: $ hexdump test.input | less Figure 10: Expected Input Run the following command to view the output. It should look like Figure 11: $ hexdump test.output | less...
Using ISE instead of Vivado with the Matchstiq-Z1 It is recommended that you use the default toolset (Xilinx Vivado) to build Matchstiq-Z1 bitstreams with OpenCPI. However, if you wish to use ISE instead, reference the README file in assets/hdl/platforms/matchstiq_z1/ ise_constraints/, and perform the following steps: 1.
Need help?
Do you have a question about the Matchstiq-Z1 and is the answer not in the manual?
Questions and answers