AR# 72210

|

Zynq UltraScale+ MPSoC, ZCU102/ZCU106 - "Error Launching Program - Cannot read sctlr_el3" during debugging

Description

When running Applications on ZCU102/ZCU106 Evaluation Boards with the new SODIMM Module (see (Xilinx Answer 71961)), an error is displayed:

Error Launching Program - Memory write error at 0x0. Cannot read sctlr_el3.








Solution

This is due to the psu_init including an additional DDR-PHY training as explained in (Xilinx Answer 72113)

The psu_init.tcl debug flow can no longer be used, so the FSBL must be used to initialize the system during debug.

To use the FSBL to launch debug:

1) Create an FSBL Application in SDK.

2) Implement the patch from (Xilinx Answer 72113) if using Vivado 2018.3.

3) Run the FSBL, making sure to deselect "Run psu_init" in the Run/Debug Configurations:




4) Next, run your own Application, for example, Hello World, and be sure to again disable "Run psu_init" for this application's Debug/Run Configuration.


5) Select Yes if prompted, to terminate the FSBL configuration:


 


6) Below is an example of running Hello World after the FSBL:



Using a script/XSDB command line:

#Reset A53, load and run FSBL
targets -set -filter {name =~ "Cortex-A53 #0"}
rst -processor
dow fsbl.elf
con
#Give FSBL time to run
after 5000
stop

Linked Answer Records

Associated Answer Records

AR# 72210
Date 04/24/2019
Status Active
Type General Article
Devices
Boards & Kits
People Also Viewed