Setting Up the Target - Setting Up the Target - 2025.2 English - UG1209

Zynq UltraScale+ MPSoC Embedded Design Tutorial (UG1209)

Document ID
UG1209
Release Date
2025-12-29
Version
2025.2 English
  1. Open the XSDB console:

    • Click the XSDB Console button image1 in the toolbar.

  2. Connect to the target over JTAG:

    • In the XSDB console, run xsdb% connect.

    The connect command returns the channel ID of the connection.

  3. Command Targets lists the available targets and allows you to select a target through its ID. The targets are assigned IDs as they are discovered on the JTAG chain, so the target IDs can change from session to session.

    For non-interactive usage such as scripting, the -filter option can be used to select a target instead of selecting the target through its ID:

    xsdb% targets
    

    The targets are listed as shown in the following figure.

    _images/image49.png

    Fig. 10 xsdb - targets

  4. Select the PSU target. The Arm APU and RPU clusters are grouped under PSU. Select Cortex-A53#0 as the target using the following command:

    xsdb% targets -set -filter {name =~ "Cortex-A53 #0"}
    

    The command targets now lists the targets and also shows the selected target highlighted with an asterisk (*) mark. You can also use the target number to select a target, as shown in the following figure.

    _images/image50.png

    Fig. 11 XSDB - selected target

  5. The processor is now held in reset. To clear the processor reset, use the following command:

    rst -processor
    
  6. Load the FSBL on Cortex-A53 #0. FSBL initializes the Zynq UltraScale+ processing system.

    xsdb% dow {C:\edt\edt_zcu102_workspace\zcu102_edt\zynqmp_fsbl\build\fsbl.elf}
    xsdb% con
    xsdb% stop
    

    Note

    The {} used in the above command are required on Windows machines to enable backward slashes () in file paths. These brackets can be avoided by using forward “/” in paths. For Linux paths, use forward slashes; the paths in XSCT in Linux can work as-is, without any brackets.