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: 
Visitor an2017
Visitor
1,779 Views
Registered: ‎09-26-2017

Petalinux 2017.1 "Memory read error at 0xB0000000, AXI AP transaction error, DAP status 30000021"

Hardware: zcu102 zu9 es-1

Petalinux 2017.1

Vivado 2016.4 to generate HDF and bitstream.

 

In the Vivado project, I set added a data device with in the address editor with the following parameters:

  • Slave itnerface: CTL_AXI
  • Base name: reg0
  • Offset Address: 0x00_B000_0000
  • Range: 256M
  • High Address: 0x00_BFFF_FFFF

I can boot with the HDF. However, I cannot access the memory address for the device above. When I run xsdb,

xsdb% mrd -force 0xB0000000                                                                                                                                              
Memory read error at 0xB0000000. AXI AP transaction error, DAP status 30000021  
xsdb% targets
1 PS TAP
2 PMU
3 MicroBlaze PMU (Sleeping. No clock)
4 PL
5* PSU
6 RPU
7 Cortex-R5 #0 (Halted)
8 Cortex-R5 #1 (Lock Step Mode)
9 APU
10 Cortex-A53 #0 (Reset Catch, EL3(S)/A64)
11 Cortex-A53 #1 (Running)
12 Cortex-A53 #2 (Cannot resume. APB AP transaction error, DAP status 30000021, EL0(S)/A64)
13 Cortex-A53 #3 (Running)
xsdb%

 

What could cause this? 

0 Kudos
6 Replies
Moderator
Moderator
1,733 Views
Registered: ‎11-09-2015

Re: Petalinux 2017.1 "Memory read error at 0xB0000000, AXI AP transaction error, DAP status 30000021"

Hi @an2017,

 

What could cause this?

  • your IP could be not AXI compliant. Try with another IP (ex GPIO IP)
  • the PSU could be stuck
  • and this could be a reason:
    Cortex-A53 #2 (Cannot resume. APB AP transaction error, DAP status 30000021, EL0(S)/A64)

Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Moderator
Moderator
1,721 Views
Registered: ‎09-12-2007

Re: Petalinux 2017.1 "Memory read error at 0xB0000000, AXI AP transaction error, DAP status 30000021"

Can you power cycle. Then target the PSU, source psu_init.tcl, psu_init, psu_post_config,
psu_ps_pl_isolation_removal
psu_ps_pl_reset_config

Then target the cortexa53 #0 and try again
0 Kudos
Visitor an2017
Visitor
1,715 Views
Registered: ‎09-26-2017

Re: Petalinux 2017.1 "Memory read error at 0xB0000000, AXI AP transaction error, DAP status 30000021"

I power cycled the board. Re-booted it via jtag and ran the following commands in xsdb:

 

connect
targets
source psu_init.tcl
psu_ps_pl_isolation_removal
psu_ps_pl_reset_config
targets 10 mrd -force 0xB0000000

It didn't read, but I got a new error:

xsdb% connect                                                                                                                                               
attempting to launch hw_server
                                                                                                                                                            
****** Xilinx hw_server v2016.4
  **** Build date : Dec 14 2016-22:55:00
    ** Copyright 1986-2016 Xilinx, Inc. All Rights Reserved.

INFO: hw_server application started
INFO: Use Ctrl-C to exit hw_server application

INFO: To connect to this hw_server instance use url: TCP:127.0.0.1:3121

awk: symbol lookup error: awk: undefined symbol: mpfr_z_sub
tcfchan#0
xsdb% Info: Cortex-A53 #2 (target 12) Stopped at 0xfffea0f8 (Reset Catch)                                                                                   
targets                                                                                                                                                     
  1  PS TAP
     2  PMU
        3  MicroBlaze PMU (Sleeping. No clock)
     4  PL
  5  PSU
     6  RPU
        7  Cortex-R5 #0 (Halted)
        8  Cortex-R5 #1 (Lock Step Mode)
     9  APU
       10  Cortex-A53 #0 (Running)
       11  Cortex-A53 #1 (Running)
       12  Cortex-A53 #2 (Reset Catch, EL3(S)/A64)
       13  Cortex-A53 #3 (Running)
xsdb% source psu_init.tcl          
xsdb% targets 5                                 
xsdb% psu_ps_pl_isolation_removal                                    
xsdb% psu_ps_pl_reset_config                                               
xsdb% targets                                                                                                                                               
  1  PS TAP
     2  PMU
        3  MicroBlaze PMU (Sleeping. No clock)
     4  PL
  5* PSU
     6  RPU
        7  Cortex-R5 #0 (Halted)
        8  Cortex-R5 #1 (Lock Step Mode)
     9  APU
       10  Cortex-A53 #0 (Running)
       11  Cortex-A53 #1 (Running)
       12  Cortex-A53 #2 (Reset Catch, EL3(S)/A64)
       13  Cortex-A53 #3 (Running)
xsdb% target 10                    
xsdb% mrd -force 0xB0000000                                                                                                                                 
Memory read error at 0xB0000000. MMU fault at VA 0xB0000000. Translation fault, first level                                                                 
xsdb% targets                                                                                                                                               
  1  PS TAP
     2  PMU
        3  MicroBlaze PMU (Sleeping. No clock)
     4  PL
  5  PSU
     6  RPU
        7  Cortex-R5 #0 (Halted)
        8  Cortex-R5 #1 (Lock Step Mode)
     9  APU
       10* Cortex-A53 #0 (Running)
       11  Cortex-A53 #1 (Running)
       12  Cortex-A53 #2 (Reset Catch, EL3(S)/A64)
       13  Cortex-A53 #3 (Running)

 

 

 

 

0 Kudos
Moderator
Moderator
1,705 Views
Registered: ‎09-12-2007

Re: Petalinux 2017.1 "Memory read error at 0xB0000000, AXI AP transaction error, DAP status 30000021"

Your programming the PL too?
Do this after connect
fpga -f download.bit

0 Kudos
Visitor an2017
Visitor
1,700 Views
Registered: ‎09-26-2017

Re: Petalinux 2017.1 "Memory read error at 0xB0000000, AXI AP transaction error, DAP status 30000021"

Yes, I'm programming the FPGA. I'm using "petalinux-build -v --jtag --fpga --bitstream..."

 

What do those commands do?

0 Kudos
Visitor an2017
Visitor
1,699 Views
Registered: ‎09-26-2017

Re: Petalinux 2017.1 "Memory read error at 0xB0000000, AXI AP transaction error, DAP status 30000021"

(1) The IP block connect to the AXI Bus is the AXI Protocol Convertor and this data path setup has worked correctly on previous iterations of design.
(2) How could I check/fix if the PSU is stuck?
(3) The core goes into that state AFTER trying to do the "mrd" and then gets stuck. Have the power cycle the board in order to fix it.
0 Kudos