Running the “Hello World” Application on Arm Cortex-R5F - 2025.1 English - UG1209

Zynq UltraScale+ MPSoC Embedded Design Tutorial (UG1209)

Document ID
UG1209
Release Date
2025-07-30
Version
2025.1 English
  1. Select hello_r5 and select the settings icon beside the Run button in the flow tab.

  2. Select New Launch Configuration.

    The Vitis IDE creates the new run configuration, named hello_r5_app_hw_1. The configurations associated with the application are pre-populated in the Main page of the launch configurations.

  3. Select the launch.json file and review the settings.

    This file is exported when you create the platform using the Vitis IDE; it contains the initialization information for the processing system.

  4. Click Run.

    “Hello World” appears on the serial communication utility in Terminal 1, as shown in the following figure.

    _images/image30_2.png

    Because the “Hello World” applications for Cortex-A53 and Cortex-R5F are identical, they cannot be differentiated based on the print contents, but you can view the details in the Debug Perspective.

    If you view the XSDB console, it shows the XSDB command history as shown in the following example:

    Downloading Program -- C:/edt/edt_zcu102_workspace/hello_r5/build/hello_r5.elf
    section, .vectors: 0x00000000 - 0x00000653
    section, .bootdata: 0x00000658 - 0x000007d7
    section, .text: 0x00100000 - 0x0010105f
    section, .init: 0x00101060 - 0x0010106b
    section, .fini: 0x0010106c - 0x00101077
    section, .note.gnu.build-id: 0x00101078 - 0x0010109b
    section, .rodata: 0x001010a0 - 0x001014a7
    section, .data: 0x001014a8 - 0x00101917
    section, .eh_frame: 0x00101918 - 0x0010191b
    section, .init_array: 0x0010191c - 0x0010191f
    section, .fini_array: 0x00101920 - 0x00101923
    section, .drvcfg_sec: 0x00101924 - 0x00101933
    section, .bss: 0x00101934 - 0x0010195b
    section, .heap: 0x0010195c - 0x0010395f
    section, .stack: 0x00103960 - 0x0010715f
    
    100%    0MB   0.2MB/s  00:00
    
    Setting PC to Program Start Address 0x0000003c
    Successfully downloaded C:/edt/edt_zcu102_workspace/hello_r5/build/hello_r5.elf
    

    More debugging techniques are explored in the next chapter.

    Note

    No bitstream download is required for the above software application to be executed on the Zynq UltraScale+ evaluation board. The Arm Cortex-R5F dual core is already present on the board. Basic initialization of this system to run a simple application is accomplished by the FSBL application.