ZC706 Built-In Self Test Flash Application April 2015

Similar documents
AC701 Built-In Self Test Flash Application April 2015

ZC702 Si570 Programming June 2012

ZC706 GTX IBERT Design Creation June 2013

ZC706 GTX IBERT Design Creation November 2014

ML605 Built-In Self Test Flash Application

SP605 Standalone Applications

SP605 Built-In Self Test Flash Application

ML605 Built-In Self Test Flash Application

KC705 Si570 Programming

Avnet Zynq Mini Module Plus Embedded Design

VCU108 Built In Test July 2015

AC701 Ethernet Design Creation October 2014

AC701 Ethernet Design Creation June 2014

KC705 Si5324 Design October 2012

Figure 1 TCL Used to Initialize PS

VCU110 Software Install and Board Setup October 2015

ML605 FMC Si570 Programming June 2012

ML605 Restoring Flash Contents

KC705 Ethernet Design Creation October 2012

VCU110 GT IBERT Design Creation

ML631 U2 DDR3 MIG Design Creation

ML631 U1 DDR3 MIG Design Creation

KC705 PCIe Design Creation with Vivado August 2012

MicroZed: Hello World. Overview. Objectives. 23 August 2013 Version 2013_2.01

MultiBoot and Fallback Using ICAP in UltraScale+ FPGAs

SP605 MultiBoot Design

Hardware In The Loop (HIL) Simulation for the Zynq-7000 All Programmable SoC Author: Umang Parekh

ML605 PCIe x8 Gen1 Design Creation

SP605 GTP IBERT Design Creation

SP601 Standalone Applications

KC705 GTX IBERT Design Creation October 2012

ML605 GTX IBERT Design Creation

VTR-S1000. Quick-Start Guide. - Decoder Kit. Evaluation and Product Development Platform. Revision SOC Technologies Inc.

UltraZed -EV Starter Kit Getting Started Version 1.3

SP601 Built-In Self Test Flash Application

This guide is used as an entry point into the Petalinux tool. This demo shows the following:

10/02/2015 Vivado Linux Basic System

Santa Fe (MAXREFDES5#) MicroZed Quick Start Guide

Creating a base Zynq design with Vivado IPI

Zynq-7000 All Programmable SoC: Embedded Design Tutorial. A Hands-On Guide to Effective Embedded System Design

10/02/2015 PetaLinux Linux Image Network Connection

VTR-2000 Evaluation and Product Development Platform. Instruction Sheet SOC Technologies Inc.

ZedBoard: Zynq-7000 AP SoC Concepts, Tools, and Techniques

Use Vivado to build an Embedded System

Spartan -6 LX9 MicroBoard Web Connectivity On Ramp Tutorial

10/02/2015 PetaLinux Image with Custom Application

Use Vivado to build an Embedded System

Zynq-7000 All Programmable SoC: Concepts, Tools, and Techniques (CTT)

MAXREFDES44# MicroZed Quick Start Guide

VTR-4000B Evaluation and Product Development Platform. User Guide SOC Technologies Inc.

Vivado Design Suite User Guide. Designing IP Subsystems Using IP Integrator

Using VxWorks BSP with Zynq-7000 AP SoC Authors: Uwe Gertheinrich, Simon George, Kester Aernoudt

Copyright 2014 Xilinx

SOC is disclosing this user manual (the "Documentation") to you solely for use in the development of designs to operate with SOC hardware devices. You

Vivado Design Suite Tutorial. Designing IP Subsystems Using IP Integrator

Integrating LogiCORE SEM IP in Zynq UltraScale+ Devices

MAXREFDES43# ZedBoard Quick Start Guide

FMC-MCM-1000 Evaluation and Product Development Platform. Instruction Sheet SOC Technologies Inc.

Zynq-7000 Platform Software Development Using the ARM DS-5 Toolchain Author: Simon George and Prushothaman Palanichamy

Fresno (MAXREFDES11#) ZedBoard Quick Start Guide

Vivado Design Suite Tutorial. Designing IP Subsystems Using IP Integrator

R. Assiro. WP1- Documentation Booting Petalinux from QSPI on UUB

MicroZed Getting Started Guide Version 1.1

ZedBoard: Zynq-7000 AP SoC Concepts, Tools, and Techniques

ISim Hardware Co-Simulation Tutorial: Accelerating Floating Point Fast Fourier Transform Simulation

Introduction to Zynq

PetaLinux SDK User Guide. Firmware Upgrade Guide

ISim Hardware Co-Simulation Tutorial: Accelerating Floating Point FFT Simulation

PetaLinux SDK User Guide. Eclipse Plugin Guide

Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial

QSPI Flash Memory Bootloading In Standard SPI Mode with KC705 Platform

TP : System on Chip (SoC) 1

DP-8020 Hardware User Guide. UG1328 (v 1.20) December 6, 2018

Carmel (MAXREFDES18#) LX9 MicroBoard Quick Start Guide

Requirement ZYNQ SOC Development Board: Z-Turn by MYiR ZYNQ-7020 (XC7Z020-1CLG400C) Vivado and Xilinx SDK TF Card Reader (Micro SD) Windows 7

Virtual Input/Output v3.0

Vivado Design Suite Tutorial

Virtex-4 PowerPC Example Design. UG434 (v1.2) January 17, 2008

Using Xilinx ChipScope Pro ILA Core with Project Navigator to Debug FPGA Applications. UG750 (v12.3) November 5, 2010

Spartan-6 LX9 MicroBoard Embedded Tutorial. Tutorial 1 Creating an AXI-based Embedded System

AXI Interface Based KC705. Embedded Kit MicroBlaze Processor Subsystem (ISE Design Suite 14.4)

Creating a Processor System Lab

PlanAhead Software Tutorial

Creating the AVS6LX9MBHP211 MicroBlaze Hardware Platform for the Spartan-6 LX9 MicroBoard Version

Alameda (MAXREFDES24#) ZedBoard Quick Start Guide

Vivado Design Suite Tutorial. Designing IP Subsystems Using IP Integrator

MicroZed Open Source Linux In System QSPI Programming Tutorial

ISE Tutorial. Using Xilinx ChipScope Pro ILA Core with Project Navigator to Debug FPGA Applications. UG750 (v14.4) December 18, 2012

ISim Hardware Co-Simulation Tutorial: Accelerating Floating Point FFT Simulation

Quick Front-to-Back Overview Tutorial

Zynq Architecture, PS (ARM) and PL

Introduction to Embedded System Design using Zynq

Hierarchical Design Using Synopsys and Xilinx FPGAs

PlanAhead Software Tutorial

Mailbox Interrupt debug 11/11/2016

MYD-C7Z010/20 Development Board

Corona (MAXREFDES12#) ZedBoard Quick Start Guide

ChipScope Inserter flow. To see the Chipscope added from XPS flow, please skip to page 21. For ChipScope within Planahead, please skip to page 23.

MYC-C7Z010/20 CPU Module

AN12119 A71CH Quick start guide for OM3710A71CHARD and i.mx6ultralite

Transcription:

ZC706 Built-In Self Test Flash Application April 2015 XTP242

Revision History Date Version Description 04/30/15 11.0 Recompiled for 2015.1. 11/24/14 10.0 Recompiled for 2014.4. 10/08/14 9.0 Recompiled for 2014.3. 06/09/14 8.0 Recompiled for 2014.2. 04/16/14 7.0 Recompiled for 2014.1. AR58941 fixed. Added AR60358. 12/18/13 6.0 Recompiled for 2013.4. Added AR58941. 11/18/13 5.1 Updated with patch from AR58347 in place of AR58278. 10/23/13 5.0 Recompiled for 2013.3. Converted to IPI. Added AR58278. 06/19/13 4.0 Recompiled for Vivado 2013.2. AR55581 and AR55431 fixed. 04/03/13 3.0 Recompiled for 14.5. AR53306 fixed. AR53593 fixed. 12/18/12 2.0 Recompiled for 14.4. 10/23/12 1.0 Initial version. Added AR51807. Copyright 2015 Xilinx, Inc. All Rights Reserved. XILINX, the Xilinx logo, the Brand Window and other designated brands included herein are trademarks of Xilinx, Inc. All other trademarks are the property of their respective owners. NOTICE OF DISCLAIMER: The information disclosed to you hereunder (the Information ) is provided AS-IS with no warranty of any kind, express or implied. Xilinx does not assume any liability arising from your use of the Information. You are responsible for obtaining any rights you may require for your use of this Information. Xilinx reserves the right to make changes, at any time, to the Information without notice and at its sole discretion. Xilinx assumes no obligation to correct any errors contained in the Information or to advise you of any corrections or updates. Xilinx expressly disclaims any liability in connection with technical support or assistance that may be provided to you in connection with the Information. XILINX MAKES NO OTHER WARRANTIES, WHETHER EXPRESS, IMPLIED, OR STATUTORY, REGARDING THE INFORMATION, INCLUDING ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT OF THIRD-PARTY RIGHTS.

Note: This presentation applies to the ZC706 Overview Xilinx ZC706 Board Software Requirements ZC706 Setup ZC706 BIST (Built-In Self Test) Run the BIST Design Run the USB Design Run the LwIP Ethernet Design Compile ZC706 BIST Design Creating a BOOT Image Programming the ZC706 QSPI Run the USB Design from SDK Run the LwIP Ethernet Design References

ZC706 Board

Vivado Software Requirements Xilinx Vivado Design Suite 2015.1, Design Edition + SDK Combined installer

ZC706 Setup Set the JTAG Select Switch, SW4, to 01 If using a Platform Cable USB (II) JTAG Cable, set SW4 to 10 Note: Presentation applies to the ZC706

ZC706 Setup Connect a USB Type-A to Micro-B cable to the USB JTAG (Digilent) connector on the ZC706 board Connect this cable to your PC

ZC706 Setup Connect a USB Type-A to Mini-B cable to the USB UART connector on the ZC706 board Connect this cable to your PC

ZC706 Setup Set SW11 DIP Switches to 00000 Power on the ZC706 board for UART Drivers Installation

ZC706 Setup Install USB UART Drivers Refer to UG1033 for details on installing the USB to UART Drivers

ZC706 Setup Reboot your PC if necessary Right-click on My Computer and select Properties Select the Hardware tab Click on Device Manager

ZC706 Setup Expand the Ports Hardware Right-click on Silicon Labs CP210x USB to UART Bridge and select Properties

ZC706 Setup Under Port Settings tab Click Advanced Set the COM Port to an open Com Port setting from COM1 to COM4

ZC706 Setup Refer to UG1036 regarding Tera Term installation Board Power must be on before starting Tera Term Start the Terminal Program Select your USB Com Port Set the baud to 115200

ZC706 Setup Unzip the ZC706 BIST Design Files (2015.1 C) ZIP file Available through http://www.xilinx.com/zc706 It is recommended to unzip these design files to C:\ for SDK compatibility

ZC706 Setup Set the SW11 DIP switches to boot from QSPI: 00010 The ZC706 QSPI comes preloaded with the BIST Application Cycle power to start the BIST Application

ZC706 BIST BIST can also be loaded from the command line To do this, open a Windows prompt and type: cd C:\zc706_bist\ready_for_download zc706_bist.bat

ZC706 BIST View initial BIST screen

ZC706 BIST UART Test Type 1 to start the PS UART Test After each test, press any key to return to the main menu

ZC706 BIST IIC Test Type 2 to begin PS IIC Tests Completes seven different IIC tests

ZC706 BIST Timer Test Type 3 to begin PS Timer Test

Note: SCU / GIC means Snoop Control Unit / Generic Interrupt Controller ZC706 BIST SCU / GIC Test Type 4 to begin SCU / GIC Test

ZC706 BIST SCU / GIC Test Type 5 to begin Device Configuration Interface Test

ZC706 BIST Memory Test Type 6 to begin PS DDR3 Memory Test

ZC706 BIST Interrupt Test Type 7 to begin PS Interrupt Tests

ZC706 BIST Watchdog Timer Test Type 8 to begin PS Watchdog Timer Test

ZC706 BIST LED Test Type 9 to begin PL LEDs Test View the four PL GPIO LEDs blinking

ZC706 BIST GPIO Switch Test Set 4-position PL GPIO DIP Switch (SW12) Type A to begin PL GPIO DIP Switch Test Reads switch settings

ZC706 BIST GPIO Switch Test Type B to begin PL Push Button Test Reads pushbutton settings

Run the USB Design

Run the USB Design Set SW11 DIP Switches to 00000 Cycle board power to clear the BIST program

Caution This procedure will format a disk drive Make sure you are formatting the ZC706 USB Flash and not your PC s hard drive Drive letters mentioned in this procedure will vary from PC to PC - Verify the drive letter before formatting Xilinx cannot take responsibility for lost data or damaged hard drives

Run the USB Design View your current set of disk drives

Run the USB Design Connect a USB Type-A to Micro-B cable to the USB ULPI connector on the ZC706 board Connect this cable to your PC Note: Presentation applies to the ZC706

Run the USB Design Download the USB ELF In a Windows prompt type: cd C:\zc706_bist\ready_for_download zc706_usb.bat

Run the USB Design An extra removable drive will appear In this case, G:

Run the USB Design Open the G: drive A Disk is not formatted message will appear If this is the correct drive, click Yes; if not, click No

Run the USB Design A format dialog for drive G: will appear The size should be 1.00 MB If this is the correct, click Start Close this dialog when done

Run the USB Design At this point, you can copy small files to G: and verify the operation of this drive Disconnect USB cable before running LwIP

Run the LwIP Ethernet Design

Note: The LwIP SDK project has AR60358 applied Run the LwIP Ethernet Design From the Windows Control Panel, open Network Connections Right-click on the Gigabit Ethernet Adapter and select Properties

Run the LwIP Ethernet Design Click Configure Set the Media Type to Auto for 1 Gbps then click OK

Run the LwIP Ethernet Design Reopen the properties after the last step Set your host (PC) to this IP Address:

Run the LwIP Ethernet Design Set SW11 DIP Switches to 00000 Cycle board power to clear the USB program

Run the LwIP Ethernet Design Connect an Ethernet cable to the Ethernet connector on the ZC706 board Connect this cable to your PC

Run the LwIP Ethernet Design Download the LwIP ELF In a Windows prompt type: cd C:\zc706_bist\ready_for_download zc706_lwip.bat

Run the LwIP Ethernet Design View LwIP echo server screen

Run the LwIP Ethernet Design From a Windows prompt on the PC Host, enter the command: ping 192.168.1.10 Ping from PC host 192.168.1.2 to ZC706 target 192.168.1.10

Compile ZC706 BIST Design

Compile ZC706 BIST Design Open Vivado Start All Programs Xilinx Design Tools Vivado 2015.1 Vivado Select Open Project

Compile ZC706 BIST Design Open the ZC706 Design: <Design Name>\zc706_bist\zc706_bist.xpr

Compile ZC706 BIST Design The design is fully implemented; you can recompile, or export to SDK To recompile, right-click synth_1, select Reset Runs then Generate Bitstream

Compile ZC706 BIST Design Once done, both the Synthesis and Implementation will have green check marks

Compile ZC706 BIST Design The BIST Design has been implemented with IP Integrator (IPI) Click Open Block Design

Compile ZC706 BIST Design All the IP Blocks used in the design can be seen in this view Click Open Implemented Design

Compile ZC706 BIST Design View Implemented Design

Compile ZC706 BIST Design Select File Export Export Hardware Click OK

Compile ZC706 BIST Design Select File Launch SDK Click OK

Compile ZC706 Software in SDK SDK Software Compile - Build ELF files in SDK

Creating a BOOT Image

Creating a BOOT Image As per AR51782, the FSBL has been modified to speed up QSPI access: To: u32 Prescaler = XQSPIPS_CLK_PRESCALE_8; u32 Prescaler = XQSPIPS_CLK_PRESCALE_2;

Creating a BOOT Image Select bist_app Select Xilinx Tools Create Zynq Boot Image

Creating a BOOT Image Create the BIST MCS Use the default BIF file path The file paths should be in this order: zynq_fsbl.elf system_wrapper.bit bist_app.elf If any of these files are missing, add them Set the Output path to: C:\zc706_bist\ready_for_d ownload\bist_app.mcs Click Create Image

Creating a BOOT Image With bist_app still selected, select Xilinx Tools Create Zynq Boot Image

Creating a BOOT Image Import the BIST BIF file The tool reloads your previous settings Set the Output path to: C:\zc706_bist\ready_for_d ownload\boot.bin Click Create Image

Creating a BOOT Image Two files are created: bist_app.mcs for programming the Flash BOOT.bin for use on an SD card

Programming the ZC706 QSPI

Programming the ZC706 QSPI Set SW11 DIP Switches to 00000 Cycle board power

Programming the ZC706 QSPI Select Xilinx Tools Program Flash

Note: Programming takes about 4 minutes Programming the ZC706 QSPI Select the bist_app.mcs as the image file Select qspi_dual_parallel Select Verify Click Program

Programming the ZC706 QSPI After programming is complete, set the SW11 DIP switches to boot from QSPI: 00010

Programming the ZC706 QSPI Push POR_B Button (SW2) Note: Presentation applies to the ZC706

Run the USB Design from SDK

Run the USB Design from SDK Set SW11 DIP Switches to 00000 Cycle board power

Run the USB Design from SDK Select hello_usb Under the green Run button, select Run As Launch on Hardware

Run the USB Design from SDK View your current set of disk drives

Run the USB Design from SDK An extra removable drive will appear In this case, G:

Run the USB Design from SDK Open the G: drive A Disk is not formatted message will appear If this is the correct drive, click Yes; if not, click No

Run the USB Design from SDK A format dialog for drive G: will appear The size should be 1.00 MB If this is the correct, click Start Close this dialog when done

Run the USB Design from SDK At this point, you can copy small files to G: and verify the operation of this drive

Run the LwIP Ethernet Design

Run the LwIP Ethernet Design Set SW11 DIP Switches to 00000 Cycle board power

Run the LwIP Ethernet Design Select lwip_echo_server Under the green Run button, select Run As Launch on Hardware

Run the LwIP Ethernet Design View LwIP echo server screen

Run the LwIP Ethernet Design From a DOS window on the PC Host, enter the command: ping 192.168.1.10 Ping from PC host 192.168.1.2 to ZC706 target 192.168.1.10

References

References IP Integrator Documentation Vivado Design Suite Tcl Command Reference Guide UG835 http://www.xilinx.com/support/documentation/sw_manuals/xilinx2015_1/ ug835-vivado-tcl-commands.pdf Designing IP Subsystems Using IP Integrator UG994 http://www.xilinx.com/support/documentation/sw_manuals/xilinx2015_1/ ug994-vivado-ip-subsystems.pdf 7 Series Configuration 7 Series FPGAs Configuration User Guide http://www.xilinx.com/support/documentation/user_guides/ug470_7series_config.pdf

Documentation

Documentation Zynq-7000 Zynq-7000 All Programmable SoC http://www.xilinx.com/products/silicon-devices/soc/zynq-7000/index.htm ZC706 Documentation Zynq-7000 AP SoC ZC706 Evaluation Kit http://www.xilinx.com/products/boards-and-kits/ek-z7-zc706-g.html ZC706 Getting Started Guide UG961 http://www.xilinx.com/support/documentation/boards_and_kits/zc706/2014_4/ ug961-zc706-gsg.pdf ZC706 User Guide UG954 http://www.xilinx.com/support/documentation/boards_and_kits/zc706/ ug954-zc706-eval-board-xc7z045-ap-soc.pdf