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!

AR# 51074

14.2 EDK, Zynq-7000 - PS DDRC with ECC does not function


When enabling ECC on the PS DDR controller, the following XMD error occurs on the first read via XMD:

ERROR: Cannot Read from target

How do I resolve this issue?


The following register value changes must be made in the ps7_init.tcl and/or the ps7_init.c relative to the output of XPS:

0XF80060F4 to a value of 0x00000004
0XF8000B4C to the same value as 0XF8000B48
0XF8000B54 to the same value as 0XF8000B50

This issue is currently planned to be fixed starting with EDK 14.3.

Note that ECC always requires the memory to be initialized before using it (including before loading ELF applications). EDK 14.3 will add an initialization routine in the Xilinx FSBL, but XMD/SDK users will need to run either the FSBL or their own OCM-based application before downloading to or using the PS DDR with ECC.

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
53051 Zynq-7000 AP SoC - PS DDR Controller N/A N/A
AR# 51074
Date Created 07/31/2012
Last Updated 02/07/2013
Status Active
Type General Article
  • Zynq-7000
  • EDK - 14.1
  • EDK - 14.2