UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Scholar milosoftware
Scholar
9,080 Views
Registered: ‎10-26-2012

Error while launching program: AP transaction error, DAP status 30000021

I'm bringing up a new ZynqMP board, with a xczu9eg chip on it.

 

I configured the PS in vivado, built an FSBL, and launch it over JTAG with the XSDK. I then get this mysterious eror message:

 

AP transaction error, DAP status 30000021

 

What does it mean or where can I find more information?

 

0 Kudos
6 Replies
Xilinx Employee
Xilinx Employee
9,073 Views
Registered: ‎08-01-2008

Re: Error while launching program: AP transaction error, DAP status 30000021

check these posts
https://forums.xilinx.com/t5/Embedded-Development-Tools/AP-transaction-Error/td-p/369465
http://www.xilinx.com/support/answers/64715.html
Thanks and Regards
Balkrishan
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos
Xilinx Employee
Xilinx Employee
9,072 Views
Registered: ‎08-01-2008

Re: Error while launching program: AP transaction error, DAP status 30000021

This issue is setting, You are trying to use feature which is not supported by end device . I saw similar error with DDR. In DDR PCW GUI, Burst length is set to 16, however device only supports burst length of BL8 and BC4.
After changed burst length to 8, DDR works.
Thanks and Regards
Balkrishan
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos
Scholar milosoftware
Scholar
9,065 Views
Registered: ‎10-26-2012

Re: Error while launching program: AP transaction error, DAP status 30000021

I get this message regardless of what I try, way before I get to the DDR part. For example, if I only run the MIO configuration part of the PS initialization, so no DDR involved in any way, I already get that failure:

 

xsdb% source /opt/Xilinx/SDK/2016.2/scripts/sdk/util/zynqmp_utils.tcl
xsdb% targets -set -filter {name =~"*APU*"}
xsdb% loadhw design_1_wrapper_hw_platform_0/system.hdf design_1_wrapper_0
xsdb% targets -set -filter {name =~"*APU*"}
xsdb% source design_1_wrapper_hw_platform_0/psu_init.tcl

xsdb% init_ps [subst {$psu_mio_init_data }]

xsdb% AP transaction error, DAP status 30000021

 

0 Kudos
Scholar milosoftware
Scholar
9,042 Views
Registered: ‎10-26-2012

Re: Error while launching program: AP transaction error, DAP status 30000021

Using XMD, I get the following:

 

XMD% connect arm  hw

JTAG chain configuration
--------------------------------------------------
Device   ID Code        IR Length    Part Name
 1       04738093          12        xczu9eg
 2       5ba00477           4        arm_dap
ERROR:
    Unsupported CoreSight ROM: JEP-106 ID 0x93

 

 

0 Kudos
Visitor phani.kara
Visitor
7,788 Views
Registered: ‎11-10-2016

Re: Error while launching program: AP transaction error, DAP status 30000021

In our case, enabling DRAM training has done the trick if this helps anyone.

0 Kudos
Xilinx Employee
Xilinx Employee
7,759 Views
Registered: ‎10-21-2010

Re: Error while launching program: AP transaction error, DAP status 30000021

Hi,

 

The AP transaction error means that DAP has seen an error response while accessing a memory address. It's possible that the ps init is corrupting the system. When you see this error, can you run "set errorInfo" in xsdb, to get the stack trace of the error, which should tell you which memory access has caused the failure.

 

XMD is deprecated and doesn't support new devices, including 9eg

0 Kudos