AR# 68956

Zynq UltraScale+ MPSoC, 2016.4 SDK – Unable to debug Aarch32 FSBL for A53

Description

SDK2016.4 is unable to load Aarch32 FSBL for A53. 

Neither Aarch64 FSBL nor previous version of SDK have this issue.

Because the FSBL can also initialize PS , "Run psu_init" is not selected in this case.

Solution

The issue is caused by the "loadhw" command which is setting the memory map for all regions exported from HDF.

This is causing the debugger to access DDR memory when its not initialized, while obtaining the stack trace.

As a work-around, you can do the following.

For every debug config, SDK saves a launch script at $WORKSPACE/.sdk/launch_scripts/xilinx_c-c++_application_\(system_debugger\)/<launch config name>.tcl.

Please remove the "loadhw" command from the original script.

Once the updated script is ready, you can create a new launch config, set the debug type to "Attach to running target" and specify the modified script under the Execute script option.

When this debug config is launched, the updated script should run and allows you to debug the FSBL.





 

This issue is fixed in the 2017.1 release.

AR# 68956
Date 08/21/2017
Status Active
Type General Article
Devices
Tools
Boards & Kits