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: 
Highlighted
Visitor trav.h
Visitor
216 Views
Registered: ‎03-15-2019

Memory write error at 0x100000. APB AP transaction error, DAP status f0000021. Custom board with Zynq 7020.

I am programming a custom board with an XC7Z020CLG484-1 chip designed similarly to the Zynq 7020 Dev Board schematic. I am using Vivado 2018.3 and SDK to program the chip through a Digilent JTAG HS3.

At first, I assumed the PL-PS design I created on the Dev Board would work similarly on my custom board. While the FPGA can be programmed with the same hardware design successfully, I can't even run a Hello World application on the chip using SDK without getting the "Memory write error at 0x100000. APB AP transaction error, DAP status f0000021." message.

The only considerable difference between my custom board and the dev board is the memory; the custom board uses an Alliance Memory AS4C1G8MD3L-12BCN. However, I have attempted every possible DDR configuration within the Zynq Processing System to no avail. Still can't even run a Hello World without getting the above error.

I've tried resetting the board, starting the Vivado project from scratch, tracing the schematic, disabling the idle CPU before running the application, and using both the Zynq 7020 Dev Board preset and the XC7Z020CLG484-1 preset in the Vivado IP Integrator, but nothing seems to work.

What could be wrong?

Thanks in advance

0 Kudos
8 Replies
Xilinx Employee
Xilinx Employee
177 Views
Registered: ‎09-01-2014

Re: Memory write error at 0x100000. APB AP transaction error, DAP status f0000021. Custom board with Zynq 7020.

0x100000 is a DDR address. It looks like your DDR doesn’t work.
Did you enable the “run ps7_init” from the Target Setup tab of Debug configuration GUI? And did you see any error when running ps7_init?

Would you please check if the hello world working on OCM by modifying the linker script
Visitor trav.h
Visitor
165 Views
Registered: ‎03-15-2019

Re: Memory write error at 0x100000. APB AP transaction error, DAP status f0000021. Custom board with Zynq 7020.

"Run ps7_init" is enabled and the same error occurs when running just ps7_init. Running on OCM does work, thankfully.
What could be wrong with the DDR?

0 Kudos
Xilinx Employee
Xilinx Employee
147 Views
Registered: ‎09-01-2014

Re: Memory write error at 0x100000. APB AP transaction error, DAP status f0000021. Custom board with Zynq 7020.

Yes, I think so since DDR initialization is done in ps7_init, It might fail in DRAM training.
you would need to debug the error.
Scholar watari
Scholar
142 Views
Registered: ‎06-16-2013

Re: Memory write error at 0x100000. APB AP transaction error, DAP status f0000021. Custom board with Zynq 7020.

Hi @trav.h 

 

Would you make sure the followings ?

 

- VREF voltage

- DRAM setting for DDR3L (not DDR3) on Zynq 7020

 

Best regards,

Visitor trav.h
Visitor
123 Views
Registered: ‎03-15-2019

Re: Memory write error at 0x100000. APB AP transaction error, DAP status f0000021. Custom board with Zynq 7020.

VREF was actually incorrect earlier but I was able to fix it on my board, maybe it somehow broke the DDR chip?
I attempted a whole manner of DRAM settings, including the DDR3L and DDR3 configurations, but still the same error.

0 Kudos
Scholar watari
Scholar
91 Views
Registered: ‎06-16-2013

Re: Memory write error at 0x100000. APB AP transaction error, DAP status f0000021. Custom board with Zynq 7020.

Hi @trav.h 

 

> VREF was actually incorrect earlier but I was able to fix it on my board, maybe it somehow broke the DDR chip?

I can't reply it. Because it is not enough information to find route cause.

Would you share schematic and DRAM settings ?

 

However, I suggest you to repaire the device, if it occured absolute maximum rating issue.

 

Best regards,

Xilinx Employee
Xilinx Employee
76 Views
Registered: ‎03-04-2018

Re: Memory write error at 0x100000. APB AP transaction error, DAP status f0000021. Custom board with Zynq 7020.

Hello @trav.h ,

 

As @ritakur  and @watari mentioned before, please proceed to debug. 

I have an additional comment.  The considerable difference is the memory parts on your PCB, so I wonder the specification between “Alliance Memory AS4C1G8MD3L-12BCN” and “dev board”.  Could you please compare the spec when you are using memory peed grade?  It would be better to check before replacing the memory parts.

 

Best regards,

kshimizu 

Product Application Engineer Xilinx Technical Support

-------------------------------------------------------

Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.  Please Give Kudos.

-------------------------------------------------------

Visitor trav.h
Visitor
31 Views
Registered: ‎03-15-2019

Re: Memory write error at 0x100000. APB AP transaction error, DAP status f0000021. Custom board with Zynq 7020.

I have double-checked every aspect of the DDR configuration and made sure that the DDR configuration in Vivado matches the specifications in the Alliance Memory datasheet, and yet the error persists. I think it would be best for me to redesign the board with a more compatible Micron Memory DDR instead.

0 Kudos