cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Anonymous
Not applicable
2,441 Views

"Memory write error at 0x100000. Cannot access DDR: the controller is held in reset"

Jump to solution

Hi, 

I am trying to run hello world application on zybo in Vivado 2018.3 installed on Windows 10. I am downloading the program through XSCT script. After the FPGA done light on the board, there is an error on downloading the ELF file “ZYNQ_Hello.elf”. The error is “Memory write error at 0x100000. Cannot access DDR: the controller is held in reset”.  

The XSCT command reply is copied below. 

xsct% # Connect to the target
xsct% connect -url TCP:127.0.0.1:3121
tcfchan#2
xsct% targets -set -nocase -filter {name =~ "ARM Cortex-A9 MPCore #0"}
xsct% source E:/temp/ZYBO/zybo_hello/zybo_hello.sdk/design_1_wrapper_hw_platform_0/ps7_init.tcl
xsct% fpga E:/temp/ZYBO/zybo_hello/zybo_hello.sdk/design_1_wrapper_hw_platform_0/design_1_wrapper.bit

initializing
  0%    0MB   0.0MB/s  ??:?? ETA
 12%    0MB   0.6MB/s  ??:?? ETA
 15%    0MB   0.4MB/s  ??:?? ETA
 18%    0MB   0.3MB/s  ??:?? ETA
 19%    0MB   0.3MB/s  ??:?? ETA
 22%    0MB   0.3MB/s  00:11 ETA
 23%    0MB   0.2MB/s  00:12 ETA
 25%    1MB   0.2MB/s  00:13 ETA
 27%    1MB   0.2MB/s  00:13 ETA
 29%    1MB   0.2MB/s  00:13 ETA
 31%    1MB   0.2MB/s  00:14 ETA
 33%    1MB   0.2MB/s  00:13 ETA
 34%    1MB   0.2MB/s  00:14 ETA
 37%    1MB   0.2MB/s  00:13 ETA
 38%    1MB   0.2MB/s  00:13 ETA
 41%    1MB   0.2MB/s  00:13 ETA
 44%    1MB   0.2MB/s  00:12 ETA
 46%    1MB   0.2MB/s  00:12 ETA
 49%    1MB   0.2MB/s  00:11 ETA
 51%    1MB   0.2MB/s  00:11 ETA
 53%    2MB   0.2MB/s  00:10 ETA
 55%    2MB   0.2MB/s  00:10 ETA
 57%    2MB   0.2MB/s  00:10 ETA
 59%    2MB   0.2MB/s  00:09 ETA
 60%    2MB   0.2MB/s  00:09 ETA
 63%    2MB   0.2MB/s  00:08 ETA
 65%    2MB   0.2MB/s  00:08 ETA
 78%    3MB   0.2MB/s  00:04 ETA
 80%    3MB   0.2MB/s  00:04 ETA
 82%    3MB   0.2MB/s  00:03 ETA
 85%    3MB   0.2MB/s  00:03 ETA
 88%    3MB   0.2MB/s  00:02 ETA
 90%    3MB   0.2MB/s  00:02 ETA
 93%    3MB   0.2MB/s  00:01 ETA
 94%    3MB   0.2MB/s  00:01 ETA
 96%    3MB   0.2MB/s  00:00 ETA
 98%    3MB   0.2MB/s  00:00 ETA
100%    3MB   0.2MB/s  00:22    
xsct% dow E:/temp/ZYBO/zybo_hello/zybo_hello.sdk/ZYNQ_Hello/Debug/ZYNQ_Hello.elf

Downloading Program -- E:/temp/ZYBO/zybo_hello/zybo_hello.sdk/ZYNQ_Hello/Debug/ZYNQ_Hello.elf
	section, .text: 0x00100000 - 0x00100bdb
	section, .init: 0x00100bdc - 0x00100bf3
	section, .fini: 0x00100bf4 - 0x00100c0b
	section, .rodata: 0x00100c0c - 0x00100c3b
	section, .data: 0x00100c40 - 0x001010af
	section, .eh_frame: 0x001010b0 - 0x001010b3
	section, .mmu_tbl: 0x00104000 - 0x00107fff
	section, .init_array: 0x00108000 - 0x00108003
	section, .fini_array: 0x00108004 - 0x00108007
	section, .bss: 0x00108008 - 0x0010802f
	section, .heap: 0x00108030 - 0x0010a02f
	section, .stack: 0x0010a030 - 0x0010d82f

  0%    0MB   0.0MB/s  ??:?? ETAMemory write error at 0x100000. Cannot access DDR: the controller is held in reset


aborting, 2 pending requests... 
aborting, 1 pending requests... 
Failed to download E:/temp/ZYBO/zybo_hello/zybo_hello.sdk/ZYNQ_Hello/Debug/ZYNQ_Hello.elf
xsct% Info: ARM Cortex-A9 MPCore #0 (target 2) Stopped at 0xffffff28 (Suspended)
xsct% 

IAny idea how to fix it ?

0 Kudos
1 Solution

Accepted Solutions
ritakur
Xilinx Employee
Xilinx Employee
2,371 Views
Registered: ‎09-01-2014
According to your log, I just see you source the ps7_init.tcl, I didn't see you run it.

View solution in original post

0 Kudos
2 Replies
ritakur
Xilinx Employee
Xilinx Employee
2,372 Views
Registered: ‎09-01-2014
According to your log, I just see you source the ps7_init.tcl, I didn't see you run it.

View solution in original post

0 Kudos
Anonymous
Not applicable
2,354 Views

Hi, 

Now it works with the following. 

source E:/temp/ZYBO/zybo_lwip_echo_server/zybo_lwip_echo_server.sdk/design_1_wrapper_hw_platform_0/ps7_init.tcl
ps7_init
ps7_post_config
0 Kudos