Method I - Method I - 2025.2 English - UG1305

Versal Adaptive SoC Embedded Design Tutorial (UG1305)

Document ID
UG1305
Release Date
2025-12-09
Version
2025.2 English
  1. Right-click on the system project helloworld_system and select Run As → Run Configurations. The Run configuration dialog box opens.

  2. Double-click System Project Debug to create a run configuration.

    The Vitis software platform creates a new run configuration with the name: SystemDebugger_helloworld_system_1. Rename this to SystemDebugger_helloworld_system_a72. For the remaining options, refer to the following table.

    Table 7: Create, Manage, and Run Configurations Settings

    Wizard Tab

    System Properties

    Setting or Command to Use

    Main

    Project

    helloworld_system

    Debug only selected applications

    Check this box

    Selected Applications

    Click the Edit button and check helloworld_a72

    Target → Hardware Server

    Attach to the running target (local). If not already added, add using the New button.

  3. Click Apply.

  4. Click Run.

    Note

    If there is an existing run configuration, a dialog box appears asking whether you want to terminate the process. Click Yes. The following logs are displayed on the terminal.

    [0.015]****************************************
    [0.070]Xilinx Versal Platform Loader and Manager
    [0.126]Release 2022.1   Apr 21 2022  -  12:04:39
    [0.183]Platform Version: v2.0 PMC: v2.0, PS: v2.0
    [0.247]BOOTMODE: 0x0, MULTIBOOT: 0x0
    [0.299]****************************************
    [0.527]Non Secure Boot
    [3.404]PLM Initialization Time
    [3.452]***********Boot PDI Load: Started***********
    [3.512]Loading PDI from SBI
    [3.559]Monolithic/Master Device
    [3.649]0.113 ms: PDI initialization time
    [3.706]+++Loading Image#: 0x1, Name: lpd, Id: 0x04210002
    [3.772]---Loading Partition#: 0x1, Id: 0xC
    [53.571] 49.716 ms for Partition#: 0x1, Size: 2960 Bytes
    [58.402]---Loading Partition#: 0x2, Id: 0xB
    [62.748] 0.506 ms for Partition#: 0x2, Size: 48 Bytes
    [66.880]---Loading Partition#: 0x3, Id: 0xB
    [107.887] 37.165 ms for Partition#: 0x3, Size: 59376 Bytes
    [110.195]---Loading Partition#: 0x4, Id: 0xB
    [114.126] 0.008 ms for Partition#: 0x4, Size: 1936 Bytes
    [119.012]---Loading Partition#: 0x5, Id: 0xB
    [122.946] 0.011 ms for Partition#: 0x5, Size: 3536 Bytes
    [128.004]+++Loading Image#: 0x2, Name: pl_cfi, Id: 0x18700000
    [133.169]---Loading Partition#: 0x6, Id: 0x3
    [640.261] 503.167 ms for Partition#: 0x6, Size: 759632 Bytes
    [642.740]---Loading Partition#: 0x7, Id: 0x5
    [1025.311] 378.646 ms for Partition#: 0x7, Size: 577856 Bytes
    [1027.903]+++Loading Image#: 0x3, Name: fpd, Id: 0x0420C003
    [1033.047]---Loading Partition#: 0x8, Id: 0x8
    [1037.459] 0.403 ms for Partition#: 0x8, Size: 1552 Bytes
    [1042.085]***********Boot PDI Load: Done***********
    [1046.554]3348.594 ms: ROM Time
    [1049.325]Total PLM Boot Time
    Hello World from APU
    Successfully ran Hello World application from APU
    

Note

Both the APU and RPU applications print on the same console as both applications are using UART0 for these applications. The application software sends the hello world strings for both APU and RPU to the UART0 peripheral of the PS section. From UART0, the hello world string goes byte-by-byte to the serial terminal application running on the host machine, which displays it as a string.