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: 
Explorer
Explorer
22,313 Views
Registered: ‎02-05-2008

AP transaction Error

Hi

 

I am using ZC702 Eva. Kit. When I tried to program it I get the following error. Software tool used vivado 2013.2

 

Programming Bitstream -- E:/Workspace_Vivado/ZC702/project_2/project_2.sdk/SDK/SDK_Export/hw_platform_0/system.bit
Fpga Programming Progress .............10.........20.........30.........40.........50.........60.........70.........80.........90........Done
Error:
AP transaction error (DP CTRL_STAT=0xf0000021)
Error Address = 0x00100000, Size = 0x00000004

 

Please let me know, what could be the problem.

 

Jothi

0 Kudos
18 Replies
Scholar stephenm
Scholar
22,305 Views
Registered: ‎05-06-2012

Re: AP transaction Error

Sounds like a ps7_init issue. The ps_7_init.tcl contains the ps7_init and the ps7 _post_config processes. The first one init's the processing system (soc), the second init's the interface. Level shifters, and interface resets. It sounds like the second process isn't called. What flow are you using? The sdk tools, or XMD?
0 Kudos
Scholar stephenm
Scholar
22,302 Views
Registered: ‎05-06-2012

Re: AP transaction Error

You can use the reset command below in XMD to reset your system and try again:
rst -debug_sys

To open XMD from sdk, go to xilinx tools > launch XMD

0 Kudos
Explorer
Explorer
22,292 Views
Registered: ‎02-05-2008

Re: AP transaction Error

I am using SDK flow. I tried rst -debug_sys. Still I get the same error

0 Kudos
Scholar stephenm
Scholar
22,281 Views
Registered: ‎05-06-2012

Re: AP transaction Error

The reason I asked the flow was that this looks like an initialisation issue of your Processor System, the error message mentions:

Error Address = 0x00100000, Size = 0x00000004

 

This is the DDR have you configured your DDR correctly in the Processing System IP configuration before exporting to SDK?

 

If you are using a Demo board, you should use the predefined settings in the import settings in the config gui for this IP,

then re-export to SDK

0 Kudos
Explorer
Explorer
22,279 Views
Registered: ‎02-05-2008

Re: AP transaction Error

Yes. DDR is configured properly. I am using zc702 Dev kit.
0 Kudos
Scholar stephenm
Scholar
22,272 Views
Registered: ‎05-06-2012

Re: AP transaction Error

Can you do a XMD (Xilinx tools > launch XMD)
connect arm hw
mrd 0x00100000

If you get the same issue then the problem is related to either your DDR isn't configured, or a hw issue with your DDR.
0 Kudos
Explorer
Explorer
22,269 Views
Registered: ‎02-05-2008

Re: AP transaction Error

Hi 

 

Thank you for your response. I get the following msg

 

XMD% mrd 0x00100000
ERROR: Cannot Read from target


Cannot access DDR: the controller is held in reset

 

Jothi

0 Kudos
Scholar stephenm
Scholar
22,266 Views
Registered: ‎05-06-2012

Re: AP transaction Error

i have attached a zip here. can you download and unzip and try the following?

 

Can you try the following XMD commands:

cd to where ever you downloaded the zip

connect arm hw

source ps7_init.tcl

ps7_init

ps7_post_config

stop

mrd 0x00100000

 

note: i used 14.6. if you are not using 14.6, you can leave out the ps7_post_config step

0 Kudos
Explorer
Explorer
22,259 Views
Registered: ‎02-05-2008

Re: AP transaction Error

Hi

 

XMD% source ps7_init.tcl
XMD% source ps7_init
couldn't read file "ps7_init": no such file or directory
XMD% ps7_ini
XMD% ps7_init
XMD% ps7_post_config
XMD% stop
Processor stopped

XMD% mrd 0x00100000
100000: 00000000

XMD% mwr 0x00100000 0xA5A5
XMD% mrd 0x00100000
100000: 00000000

XMD% mwr 0x00100000 0xA5A5A5A5
XMD% mrd 0x00100000
100000: 00000000

XMD%

 

But I am not able to download the elf file

0 Kudos
Scholar stephenm
Scholar
12,336 Views
Registered: ‎05-06-2012

Re: AP transaction Error

ok, well this is good news. There is nothing wrong with your board. The issue was with the init of the PS. Cam you follow the tutorial below:

http://www.xilinx.com/support/documentation/sw_manuals/xilinx14_7/ug873-zynq-ctt.pdf

0 Kudos
Explorer
Explorer
12,334 Views
Registered: ‎02-05-2008

Re: AP transaction Error

Hi

Thank you. I have been using this board for quite some time. This is working when I run this on ram memory. This is having problem only when I try to run on DDR3.

0 Kudos
Scholar stephenm
Scholar
12,325 Views
Registered: ‎05-06-2012

Re: AP transaction Error

Have you done a memory test? (Executed from ram)?
0 Kudos
Explorer
Explorer
12,323 Views
Registered: ‎02-05-2008

Re: AP transaction Error

Yes. I did. It hangs when it tried access DDR location
0 Kudos
Adventurer
Adventurer
12,319 Views
Registered: ‎09-21-2012

Re: AP transaction Error

Hi Jyothi ,

 

It seems that the DDR is not configured properly.

 

Can you do the diagnostics for the DDR to confirm that memory is working.

 

Regards

Jangi reddy

0 Kudos
Explorer
Explorer
12,300 Views
Registered: ‎02-05-2008

Re: AP transaction Error

Hi

As I mentioned, when I try to access DDR, it hangs. Please can you let me know what to do?
0 Kudos
Observer songxin
Observer
10,379 Views
Registered: ‎11-02-2010

Re: AP transaction Error

same problem, have you solved the problem?
could you please give me some hint?
0 Kudos
Observer moh_13
Observer
7,070 Views
Registered: ‎05-30-2017

Re: AP transaction Error

Sans titre.png

hi @stephenm

why i can't connect to arm and why the pin DONE is off on my board ?

0 Kudos
Voyager
Voyager
6,222 Views
Registered: ‎10-12-2016

Re: AP transaction Error

What are the configurations you are expecting  for DDR before exporting to SDK.

 

 

-Sampath
0 Kudos