Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Scroll pdf ignore

Table of contents

Table of Contents
outlinetrue

 


...

Create SDK Project from Vivado

...

  1. Double Click on the system.mss of your Application Project BSP folder in the Project Explorer.
  2. Click Modify this BSP's Settings.
  3. Modify BSP stdin/sdtout peripheral, drivers or libraries settings

 


Debug Software Application

...

  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

 


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.

Convert Application to SREC

  1. Create Application (for example Hello World)
  2. Open "Application" properties → C/C++ Build → Settings and go into Build Steps Tap.
  3. Add to Post-build steps: mb-objcopy -O srec <applicationname>.elf <applicationname>.srec

    Image Added
  4. Press Apply or regenerate project

References

  • 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)
  • PetaLinux KICKStart

...