Loading the Application Using XSCT - 2024.1 English - UG1209

Zynq UltraScale+ MPSoC Embedded Design Tutorial

Document ID
UG1209
Release Date
2024-09-12
Version
2024.1 English
  1. Check and select the RPU Cortex-R5F Core 0 target ID.

    xsct% targets
    xsct% targets -set -filter {name =~ "Cortex-R5 #0"}
    xsct% rst -processor
    

    The command rst -processor clears the reset on an individual processor core.

    This step is important, because when the Zynq MPSoC boots up JTAG boot mode, all the Cortex-A53 and Cortex-R5F cores are held in reset. You must clear the resets on each core before debugging on these cores. The rst command in XSDB can be used to clear the resets.

    Note

    The command rst -cores clears resets on all the processor cores in the group (such as APU or RPU), of which the current target is a child. For example, when A53 #0 is the current target, rst - cores clears resets on all the Cortex-A53 cores in the APU.

  2. Download the testapp_r5 application on Arm Cortex-R5F Core 0.

    • Run xsct% dow {C:edttestapp_r5Debugtestapp_r5.elf} or xsct% dow {C:/edt/testapp_r5/Debug/testapp_r5.elf}.

    At this point, you can see the sections from the ELF file downloaded sequentially. The XSCT prompt can be seen after successful download. Now, configure a serial terminal (Tera Term, Minicom, or the serial terminal interface for a UART-1 USB-serial connection).