Maxim Integrated Fresno User Manual

Page 1
Fresno (MAXREFDES11#) ZedBoard
Rev 0; 4/13
Maxim Integrate d cannot a ssume responsibi lity f or use of a ny circui try oth er than circuitry entirel y embodi ed in a Maxim Inte grate d product. No circui t 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
© 2013 Maxim Integrated Products, Inc. Max im Integrated and the Maxim Inte gr ate d logo are trademarks of Maxim Inte gr ated Products, Inc.
Page 2
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide
Table of Contents
1. Required Equipment ................................................................................................. 3
2. Overview ................................................................................................................... 3
3. Included Files............................................................................................................ 5
4. Procedure ................................................................................................................. 6
5. Code Documentation .............................................................................................. 18
6. Appendix A: Project Structure and Key Filenames ................................................. 20
7. Trademarks............................................................................................................. 20
8. Revision History ...................................................................................................... 21
2
Page 3
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide

1. Required Equipment

PC with Windows® OS with Xilinx® ISE®/SDK version 14.2 or later and two USB ports (Refer to Xilinx AR# 51895 if you installed ISE WebPACKTM design software on your PC.)
License for Xilinx EDK/SDK version 14.2 or later (free WebPACK license is OK)
Fresno (MAXREFDES11#) board
ZedBoardTM development kit
Industrial sensor or signal source

2. Overview

Below is a high-level overview of the steps required to quickly get the Fresno design running by downloading and running the FPGA project. Detailed instructions for each step are provided in the following pages. The Fresno (MAXREFDES11#) subsystem reference design will be referred to as Fresno throughout this document.
1) Connect the Fresno board to the JA1 port of a ZedBoard as shown in Figure 1 Ensure the connector is aligned as shown in
2) Download the latest RD11V01_00.ZIP file located at the Fresno page.
3) Extract the RD11V01_00.ZIP file to a directory on your PC.
4) Open the Xilinx SDK.
5) Download the bitstream (.BIT) file to the board. This bitstream contains the FPGA hardware design and software bootloader.
6) Use Xilinx SDK to download and run the executable file (.ELF) on one of the two ARM® CortexTM -A9 processors.
Figure 2.
.
3
Page 4
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide
Figure 1. Fresno Board Connected to ZedBoard Kit
Figure 2. Pmod™ Connector Alignment
4
Page 5
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide
Processor
ARM
(Zynq)
AXI MAX11100 Custom IP Core
DDR
Pmod
Connector
JA1
JTAG
USB
Programmer
Programming
Options
Quad-SPI Flash
SD Card
Internal
BRAM
Zynq EPP

3. 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_MAX11100 custom IP core that interface to the Pmod port. This is supplied as a Xilinx software development kit (SDK) project that includes a demonstration software application to evaluate the Fresno subsystem reference design. The lower level c-code driver routines are portable to the user’s own software project.
5
Figure 3. Block Diagram of FPGA Hardware Design
Page 6
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide

4. Procedure

1. Connect the Fresno board to the JA1 port of a ZedBoard as shown in Figure 1.
2. Power up the ZedBoard by sliding the SW8 switch on the ZedBoard to the ON position.
3. Download the latest RD11V01_00.ZIP file at
www.maximintegrated.com/AN5563. A ll fil es av ail abl e for download are
available at the bottom of the page.
4. Extract the RD11V01_00.ZIP file to a directory on your PC. The location is arbitrary but the maximum path length limitation in Windows (260 characters) should not be exceeded.
In addition, the Xilinx tools require the path to not contain any spaces.
C:\Do Not Use Spaces In The Path\RD11V01_00.ZIP
(This path has spaces.)
For the purposes of this document, it will be C:\designs\maxim\RD11V01_00\. See Appendix A: Project Structure and Key Filenames in this document for the project structure and key filenames.
6
Page 7
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide
5. Open the Xilinx Software Development Kit (SDK) from the Windows Start menu.
6. 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\RD11V01_00\RD11_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.
7
Page 8
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide
7. 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.
8
Page 9
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide
8. 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\RD11V01_00\RD11_ZED_V01_00\Design_Files\top.sdk\SDK\SDK_Export
and the missing projects should appear in SDK Project Explorer with their checkboxes checked.
Click Finish to import the projects.
9
Page 10
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide
9. 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\RD11V01_00\RD11_ZED_V01_00\Design_Files\top.sdk\ SDK\SDK_Export\arm_system_hw_platform\system.bit
Press Program.
10
It takes approximately 10 seconds to download the FPGA, then a message box indicating FPGA configuration complete appears.
Page 11
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide
10. Set up 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. A suitable terminal program such as Tera Term o r HyperTerminal should be invoked.
The ZedBoard utilizes the Cypress USB-UART bridge IC. If the Windows OS cannot automatically install the driver for the Cypress USB-UART bridge IC, the driver is available for download from www.cypress.com. The driver is WHQL certified for the default Cypress VID / PID of 0x04B4 / 0x0008.
Once installed, the Windows OS will assign a previously unused COM port. Use the Windows Control Panel | System | Device Manager to determine the COM port number. (It will be named Cypress Serial.) Make a note of which COM port this is. That information is needed in the next step.
Next, a terminal emulation program needs to be installed and launched. For Windows XP® and earlier systems, the HyperTerminal program is the usual choice. However, since HyperTerminal was eliminated from Windows 7, it may be necessary to locate an alternative. Several are available; one good choice is called Tera Term. Whatever terminal program you choose, the communication should be set up by opening the COM port number previously described above and the port configured as:
bits per second: 460,800; data bits: 8; parity: none; stop bits: 1; flow control: none.
11
Page 12
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide
11. 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 MAXREFDES11 C project is selected, choose the Run As menu, and then Run Configurations… menu as shown below.
12
Page 13
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide
Next, double-click the mouse on the Xilinx C/C++ ELF menu.
13
Page 14
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide
Next, press the Search Project button.
14
Page 15
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide
Double-click on the MAXREFDES11.elf binary.
15
Page 16
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide
Verify the application is selected on the Main tab.
On the Device Initialization tab, click Browse… button to select the right initialization TCL file and press the Run button.
16
Page 17
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide
Once the Debug/MAXREFDES11 configuration is set up once, you just need to press the Run button if you ever want to run the program again.
17
Page 18
Fresno (MAXREFDES11#) 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 t he appropriate keys on the keyboard. For example, to select continuous sampling, press 0.
18
Page 19
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide

5. Code Documentation

Code documentation can be found at: C:\...\RD11V01_00\RD11_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 MAXREFDES11_Code_Documentation.pdf file.
19
Page 20
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide

6. Appendix A: Project Struct ure and Key Filenames

7. Trademarks

ARM is a registered trademark of ARM Ltd. Cortex is a trademark of ARM Ltd. Eclipse is a trademark of Eclipse Foundation, Inc. MicroBlaze is a trademark of Xilinx, Inc. Pmod is a trademark of Digilent Inc. WebPACK is a trademark of Xilinx, Inc. Windows is a registered trademark and registered service mark and Windows XP is a registered trademark of Microsoft Corporation. Xilinx is a registered trademark and registered service mark of Xilinx, Inc. ZedBoard is a trademark of Avnet, Inc.
20
Page 21

8. Revision Histor y

REVISION
NUMBER
REVISION
DATE
PAGES
CHANGED
0
4/13
Initial release
Fresno (MAXREFDES11#) ZedBoard Quick Start Guide
DESCRIPTION
21
Loading...