Versions Compared

Key

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

...

Xilinx "Hello World" on Zynq

Info

This Hello World example is not usable for TE0722 without DDR


  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.


...