MAXREFDES71# ZedBoard Quick Start Guide Rev 0; 4/14 Maxim Integrated cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim Integrated product. No circuit patent licenses are implied. Maxim Integrated reserves the right to change the circuitry and specifications without notice at any time. Maxim Integrated 160 Rio Robles, San Jose, CA 95134 USA 1-408-601-1000 © 2014 Maxim Integrated Products, Inc.
MAXREFDES71# ZedBoard Quick Start Guide Table of Contents 1. Required Equipment ................................................................................................. 3 2. Overview ................................................................................................................... 3 3. Boot from an SD Card .............................................................................................. 3 4. Download Demonstration from Xilinx SDK ...............................
MAXREFDES71# ZedBoard Quick Start Guide 1. Required Equipment • • • • • MAXREFDES71# board ZedBoardTM development kit Industrial sensor or signal source To run the binary from SD card: o Host PC with Windows® OS Terminal Software installed (HyperTerminal) and one USB port o Cypress USB-UART bridge device driver o 4GB FAT32 formatted SD card To run the software from the Xilinx SDK: o PC with Windows OS with Xilinx® PlanAheadTM/SDK version 14.
MAXREFDES71# ZedBoard Quick Start Guide 7) Connect the MAXREFDES71# reference design board to the J1 FMC™ connector (Figure 5). 8) Connect a Micro-USB cable to ZedBoard USB connector J14. Connect the 12V power supply to the ZedBoard and slide the SW8 power switch to the on position. If the BOOT.BIN file has loaded successfully, the onboard display will show the message MAXIM INTEGRATED REFERENCE DESIGN Revision XX.XX. a) The ZedBoard utilizes the Cypress USB-UART bridge IC.
MAXREFDES71# ZedBoard Quick Start Guide Figure 2. ZedBoard SD Card Slot Figure 3 and Figure 4.
MAXREFDES71# ZedBoard Quick Start Guide Figure 5.
MAXREFDES71# ZedBoard Quick Start Guide Figure 6.
MAXREFDES71# ZedBoard Quick Start Guide 4. Download Demonstration from Xilinx SDK Below is a high-level overview of the steps required to quickly get the MAXREFDES71# design running by downloading and running the FPGA project. Detailed instructions for each step are provided in the following pages. 1) Connect the MAXREFDES71# board to the J1 FMC connector of a ZedBoard as shown in Figure 5. 2) Download the latest RD71V01_00.ZIP file located at the MAXREFDES71# page. 3) Extract the RD71V01_00.
MAXREFDES71# ZedBoard Quick Start Guide 5. Included Files The top level of the hardware design is a Xilinx PlanAhead Project (.PRR) for Xilinx PlanAhead version 14.2. The Verilog-based arm_system_stub.v module provides FPGA/board net connectivity, and instantiates the wrapper that carries both the Zynq® Processing System and AXI_MILLBRAE custom IP core that interface to the FMC connector.
MAXREFDES71# ZedBoard Quick Start Guide 6. Procedure 1. Install a 2-pin header on the J18 connector on the ZedBoard if the 3V3 header is missing. 2. Configure the ZedBoard boot source jumpers as shown in Figure 8 and remove the shunt on JP6. Figure 8 JTAG Mode Jumper Settings 3. Remove any shunt on 1V8 and 2V5 headers, and install a shunt on the 3V3 header. 4. Connect the MAXREFDES71# board to the J1 FMC connector of the ZedBoard as shown in Figure 5. 5.
MAXREFDES71# ZedBoard Quick Start Guide 8. Open the Xilinx Software Development Kit (SDK) from the Windows Start menu. 9. SDK will prompt for a workspace directory, which is the location where the software project is located. For this example, it is: C:\designs\maxim\RD71V01_00\RD71_ZED_V01_00\Design_Files\top.sdk\SDK\SD K_Export Click OK and SDK will open. The Xilinx SDK is based on an Eclipse™-based IDE, so it will be a familiar flow for many software developers.
MAXREFDES71# ZedBoard Quick Start Guide 10. Review the SDK IDE. The Project Explorer in the upper left tab should have three components as shown in the image below. If all three subfolders are present, you can skip the next step.
MAXREFDES71# ZedBoard Quick Start Guide 11. If the Project Explorer does not contain these three subfolders, launch the File | Import menu, expand the General folder, and select Existing Projects into Workspace. Click Next. Set the root directory to: C:\designs\maxim\RD71V01_00\RD71_ZED_V01_00\Design_Files\top.sdk\SDK\SD K_Export and the missing projects should appear in SDK Project Explorer with their checkboxes checked. Click Finish to import the projects.
MAXREFDES71# ZedBoard Quick Start Guide 12. To download the bitstream (.BIT) file to the board, click on the Program FPGA icon (which looks like a green chain of devices). The Program FPGA dialog box appears. From here, an FPGA bitstream (.BIT) file is selected. Be sure to select the .BIT file by using the paths below. Bitstream: C:\designs\maxim\RD71V01_00\RD71_ZED_V01_00\Design_Files\top.sdk\S DK\SDK_Export\arm_system_hw_platform Press Program.
MAXREFDES71# ZedBoard Quick Start Guide 13. Setup of the terminal program to run on the PC using the following steps. Before loading the executable firmware file on the FPGA, the terminal program on the PC should be running. The example firmware running on the FPGA communicates with the PC via a USB port set up to emulate a serial port (UART). To establish this communication link, the PC must be configured with the appropriate Windows drivers.
MAXREFDES71# ZedBoard Quick Start Guide 14. Use the Xilinx SDK to download and run the executable ELF (.ELF) file on the ARM Cortex-A9 processor using the following steps. Right-click the mouse while the MAXREFDES71 C project is selected, choose the Run As menu, and then Run Configurations… menu as shown below.
MAXREFDES71# ZedBoard Quick Start Guide Next, double-click the mouse on the Xilinx C/C++ ELF menu.
MAXREFDES71# ZedBoard Quick Start Guide Next, press the Search Project button.
MAXREFDES71# ZedBoard Quick Start Guide Double-click on the MAXREFDES71.elf binary.
MAXREFDES71# ZedBoard Quick Start Guide Verify the application is selected on the Main tab.
MAXREFDES71# ZedBoard Quick Start Guide On the Device Initialization tab, click Browse… button to select the right initialization TCL file and press the Run button. Once the Debug/MAXREFDES71 configuration is set up once, you just need to press the Run button if you ever want to run the program again.
MAXREFDES71# ZedBoard Quick Start Guide At this point, the application will be running on the Cortex-A9 and the terminal program should show the menu below. Make the desired selections by pressing the appropriate keys on the keyboard. For example, to select Signal Replication, press 1.
MAXREFDES71# ZedBoard Quick Start Guide 7. Code Documentation Code documentation can be found at: C:\...\RD71V01_00\RD71_ZED_V01_00\Code_Documentation\ To view the code documentation in HTML format with a browser, open the MainPage.html file. To view the code documentation in .PDF format with a PDF reader, open the MAXREFDES71_Code_Documentation.pdf file.
MAXREFDES71# ZedBoard Quick Start Guide 8. Appendix A: Project Structure and Key Filenames Top level folder contains: • Numerous source and intermediate files (PlanAhead generated) • top.ppr = main Xilinx PlanAhead project file. • top.* = the Xilinx PlanAhead top level project folders SDK Export Folder • \MAXREFDESX = C Project Folder • \src\MAXREFDESX.c = Main example program • \src\maximDeviceSpecificUtilities.c = driver functions • \src\menu.c = menu functions • \src\utilities.
MAXREFDES71# ZedBoard Quick Start Guide 10.