You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Table of contents

 


Create SDK Project from Vivado

Variant (a): Use additional TE Script functions

  1. Requirements (for HDF-Export with Bitfile):
    1. Project must be started with TE-Batch file or TE Scripts must be loaded. See InitialiseTE-scripts on Vivado/LabTools.
    2. "Generate Bitstream" must be finished (Use GUI or typ on Vivado TCL-Console to generate Bitstream:"TE::hw_build_design").
  2. Typ "TE::sw_run_sdk" on Vivado TCL-Console (for more options type "TE::sw_run_sdk -help")
  3. SDK Project will be generated and opened on subfolder /workspace/sdk/. Local Library folder /sw_lib will be included automatically.

Variant(B): Use Xilinx GUI Export

  1. Requirements (for HDF-Export with Bitfile):
    1. "Generate Bitstream" must be finished.
  2. For HDF export click: File→Export→Export Hardware (Select "Include bitstream" and your preferred folder)
  3. To Launch SDK click: File→Launch SDK (Select your HDF location and preferred SDK workspace)
  4. SDK Project will be generated and opened (default location /vivado/<project name>.sdk).
  5. (option) Include local library folder in SDK, click: Xilinx Tool→Repositories→New Local Repositories

Create Software Application with SDK Template

  1. Click:File→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

Modify BSP-Settings

  1. Double Click on the system.mms from your Application Project in the Project Explorer.
  2. Click Modify this BSP's Settings.

Debug Software Application

  1. Right Click on the Software Project in the Project Explorer.
  2. Click:Debug As→Launch on Hardware (System Debugger)
  3. View will be changed to Debugging and Application will be stared on Hardware with break point on first main entry. (Click F6 (step over) or F5 (step into) to step to the next line).

References

  • Vivado Design Suite User Guide - Embedded Processor Hardware Design (UG898)
  • Generating Basic Software Platforms - Reference Guide (UG113)
  • PetaLinux KICKStart

 

  • No labels