Open the XSDB console:
Click the XSDB Console button
in the toolbar.
Connect to the target over JTAG:
In the XSDB console, run xsdb% connect.
The connect command returns the channel ID of the connection.
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
-filteroption 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.
Fig. 10 xsdb - targets
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
targetsnow 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.Fig. 11 XSDB - selected target
The processor is now held in reset. To clear the processor reset, use the following command:
rst -processor
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% stopNote
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.