cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
247 Views
Registered: ‎02-12-2019

ZCU102 - Cortex-A53 #0 (target 9) Stopped at 0x0 (Cannot resume. Cannot read "pc'. Cannot read 'r0'. Instruction transfer timeout)

Jump to solution

I came across several threads with similar error messages but wasn't sure if they were the same problem. In this case, the zcu102 was working fine (same bitstream, same sdk build), and all of the sudden it hit this problem. I tried power cycling the board but the problem wouldn't go away.

 

xsct% hsi::open_hw_design: Time (s): cpu = 00:00:08 ; elapsed = 00:00:08 . Memory (MB): peak = 1252.438 ; gain = 7.000 ; free physical = 15751 ; free virtual = 22746
Info: Cortex-A53 #0 (target 9) Running (APU Reset)
xsct% Info: Cortex-A53 #0 (target 9) Stopped at 0xffff0000 (Reset Catch)

Downloading Program -- /tmp/dev/bram_lfsr_mmio_test/Debug/bram_lfsr_mmio_test.elf
	section, .text: 0x00000000 - 0x0000d3d7
	section, .init: 0x0000d400 - 0x0000d433
	section, .fini: 0x0000d440 - 0x0000d473
	section, .note.gnu.build-id: 0x0000d474 - 0x0000d497
	section, .rodata: 0x0000d498 - 0x0000da67
	section, .rodata1: 0x0000da68 - 0x0000da7f
	section, .sdata2: 0x0000da80 - 0x0000da7f
	section, .sbss2: 0x0000da80 - 0x0000da7f
	section, .data: 0x0000da80 - 0x0000ec8f
	section, .data1: 0x0000ec90 - 0x0000ecbf
	section, .ctors: 0x0000ecc0 - 0x0000ecbf
	section, .dtors: 0x0000ecc0 - 0x0000ecbf
	section, .eh_frame: 0x0000ecc0 - 0x0000ecc3
	section, .mmu_tbl0: 0x0000f000 - 0x0000f00f
	section, .mmu_tbl1: 0x00010000 - 0x00011fff
	section, .mmu_tbl2: 0x00012000 - 0x00015fff
	section, .preinit_array: 0x00016000 - 0x00015fff
	section, .init_array: 0x00016000 - 0x00016007
	section, .fini_array: 0x00016008 - 0x00016047
	section, .sdata: 0x00016048 - 0x0001607f
	section, .sbss: 0x00016080 - 0x0001607f
	section, .tdata: 0x00016080 - 0x0001607f
	section, .tbss: 0x00016080 - 0x0001607f
	section, .bss: 0x00016080 - 0x0001617f
	section, .heap: 0x00016180 - 0x0001817f
	section, .stack: 0x00018180 - 0x0001b17f

  0%    0MB   0.0MB/s  ??:?? ETA
 18%    0MB   0.0MB/s  ??:?? ETA
 36%    0MB   0.0MB/s  00:06 ETA
 54%    0MB   0.0MB/s  00:04 ETA
 72%    0MB   0.0MB/s  00:02 ETA
 90%    0MB   0.0MB/s  00:00 ETA
100%    0MB   0.0MB/s  00:10    
Setting PC to Program Start Address 0x00000000
Successfully downloaded /tmp/dev/bram_lfsr_mmio_test/Debug/bram_lfsr_mmio_test.elf
Info: Cortex-A53 #0 (target 9) Running
Info: Cortex-A53 #0 (target 9) Stopped at 0x0 (Cannot resume. Cannot read 'pc'. Cannot read 'r0'. Instruction transfer timeout)

Any insight anyone could shed is much appreciated. Thanks!

1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
165 Views
Registered: ‎03-25-2019

Re: ZCU102 - Cortex-A53 #0 (target 9) Stopped at 0x0 (Cannot resume. Cannot read "pc'. Cannot read 'r0'. Instruction transfer timeout)

Jump to solution

Hi @yeungt2,

Your elf is mapped to 0x0, to you DDR. So, it seems that there is an issue with your DDR.
Have you changed any settings in your DDR configuration?
Are you using the default HDF/XSA file?
Could you run the "Zynq MP DRAM diagnostics test" and check if your DDR is fine?

Best regards,
Abdallah
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution

View solution in original post

0 Kudos
3 Replies
Highlighted
Moderator
Moderator
166 Views
Registered: ‎03-25-2019

Re: ZCU102 - Cortex-A53 #0 (target 9) Stopped at 0x0 (Cannot resume. Cannot read "pc'. Cannot read 'r0'. Instruction transfer timeout)

Jump to solution

Hi @yeungt2,

Your elf is mapped to 0x0, to you DDR. So, it seems that there is an issue with your DDR.
Have you changed any settings in your DDR configuration?
Are you using the default HDF/XSA file?
Could you run the "Zynq MP DRAM diagnostics test" and check if your DDR is fine?

Best regards,
Abdallah
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution

View solution in original post

0 Kudos
Highlighted
Visitor
Visitor
128 Views
Registered: ‎02-12-2019

Re: ZCU102 - Cortex-A53 #0 (target 9) Stopped at 0x0 (Cannot resume. Cannot read "pc'. Cannot read 'r0'. Instruction transfer timeout)

Jump to solution

Hi Abdallah,

Thanks for the reply. So i was able to circumvent the problem by exporting the hardware definition and rebuild the SDK project. With the new build the elf is mapped to a different address. Although i'm still having some issue but the original issue is no longer exist. I'm trying to get something to work now to run the DDR diagnostic. I might open a new post if I can't get past the new issue.

Thanks!

Highlighted
Moderator
Moderator
121 Views
Registered: ‎03-25-2019

Re: ZCU102 - Cortex-A53 #0 (target 9) Stopped at 0x0 (Cannot resume. Cannot read "pc'. Cannot read 'r0'. Instruction transfer timeout)

Jump to solution

Hi @yeungt2,

Good that your issue has been solved.
To close the thread, please set the answer as an accepted solution.
Please feel free to create a new post when you need further help.

Best regards,
Abdallah
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution