Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Scroll pdf ignore
Table

wTable of contents

Table of Contents
outlinetrue

...

Create Software Application with SDK Template

  1. Click:File→Application File→New → Application Project
  2. Select Name and OS (Example Name:Hello World, OS:standalone)
  3. Click: Next
  4. Select Application (Example Hello World)
  5. Click Finished
  6. Project with Xilinx Hello Word will be generated automatically

...

Xilinx "Hello World" on Zynq

  1. Create SDK Project:
    1. See Create SDK Project from Vivado
  2. Create FSBL:
    1. See Create Software Application with SDK Template
    2. (optional) If necessary, modify FSBL-BSP stdin/sdtout peripheral, drivers or libraries settings for the FSBL Application
      1. See Modify BSP-Settings
  3. Create Hello_World:
    1. See Create Software Application with SDK Template
    2. (optional) If necessary, modify FSBL-BSP stdin/sdtout peripheral, drivers or libraries settings for the Hello World Application
      1. See Modify BSP-Settings
  4. Create Boot.bin
    1. Right Click on the hello_world Project in the Project Explorer.
    2. Click:Create Boot Image

      All partition settings will be set automatically,if Build Process of FSBL and Hello World was successful.
    3. Create Image
  5. Program Flash
    1. Click:Xilinx Tools→Program Flash
    2. Important since Vivado 2017.4: FSBL is needed on setup for QSPI programming. Reference Designs include special FSBL to program QSPI Flash without changing boot mode to JTAG
    3. Select generated Boot.bin (optional select "Verify after flash")

      Note: Flash Type depends on HW: Select "qspi_single" or "qspi_dual_parallel", see <Reference Design>/board_files/*_board_files.csv
    4. Program Flash
  6. Connect Serial Console
    1. COM Port: See OS Device Manager
    2. Speed: depends on your Vivado Project. On Zynq Devices Default 115200
  7. Reboot Zynq


    Note

    Xilinx Hello World appears only one time on startup, so use HW-Reset Button on Module or Vivado Hardware Manager "Boot from Configuration Memory Device" Command to reboot PS. Alternatively modify helloworld.c to run print "Hello World" in endless loop.


Xilinx "Hello World" on MicroBlaze

  1. Create SDK Project:
    1. See Create SDK Project from Vivado
  2. Create Hello_World:
    1. See Create Software Application with SDK Template
    2. (optional) If necessary, modify "Hello World"-BSP stdin/sdtout peripheral, drivers or libraries settings for the Hello World Application
      1. See Modify BSP-Settings
  3. Program FPGA:
    1. Click:Xilinx Tools→Program FPGA
    2. Select "hello_world.elf" as ELF File for Processor Block RAM


    3. Click: Program

      Note

      This step configure the Bitfile with the specified ELF-files and program the FPGA


  4. (Optional) include ELF-file in Vivado Project:
    1. Right Click on the Block Diagram  on Vivado Project Manager source window
    2. Select "Associated ELF-File"
    3. Generate Bitfile
    4. Program FPGA with Vivado HW-Manager

...

  • UltraFast Design Methodology Guide for the Vivado Design Suite  (UG949)
  • UltraFast Embedded Design Methodology Guide  (UG1046)
  • Zynq UltraScale+MPSoC Software Developer Guide (UG1137)
  • Zynq-7000 All Programmable SoC Software Developers Guide (UG821)
  • Vivado Design Suite User Guide - Embedded Processor Hardware Design (UG898)
  • Generating Basic Software Platforms - Reference Guide (UG113)Xilinx SDK Getting started (Note: change URL to your working version)
  • PetaLinux KICKStart