#connecting to the target
connect -host <hostname>;
#Disable security gates to view PMU MB target
targets -set -filter {name =~ "PSU"}
;
#By default, JTAG security gates are enabled
#This disables security gates for DAP, PLTAP, and PMU.
mwr 0xffca0038 0x1ff
after 500
;
#Load and run PMU FW
targets -set -filter {name =~ "MicroBlaze PMU"}5)
dow pmufw.elf
con
after 500
;
#Reset A53, load and run FSBL
targets -set -filter {name =~ "Cortex-A53 #0"}
rst -processor
dow zynqmp_fsbl.elf
con
#Give FSBL time to run
after 5000
stop
;
#Dowloading other Softwares like U-boot ans so on, using below command
dow -data system.dtb 0x100000
dow u-boot.elf
dow bl31.elf
con
after 5000
stop