Sorry, you need to enable JavaScript to visit this website.

Zedboard Tools and Techniques SDK error

Zedboard forums is currently read-only while it under goes maintenance.

Solved
6 posts / 0 new
vajo
Junior(0)
Zedboard Tools and Techniques SDK error

XMD% connect arm hw

JTAG chain configuration
--------------------------------------------------
Device ID Code IR Length Part Name
1 4ba00477 4 Cortex-A9
2 03727093 6 XC7Z020

--------------------------------------------------
Enabling extended memory access checks for Zynq.
Writes to reserved memory are not permitted and reads return 0.
To disable this feature, run "debugconfig -memory_access_check disable".

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

CortexA9 Processor Configuration
-------------------------------------
Version.............................0x00000003
User ID.............................0x00000000
No of PC Breakpoints................6
No of Addr/Data Watchpoints.........4

Connected to "arm" target. id = 64
Starting GDB server for "arm" target (id = 64) at TCP port no 1234
XMD% source D:/planahead/uboot/uboot.sdk/SDK/SDK_Export/hw/ps7_init.tcl
XMD% D:/planahead/uboot/stub.tcl
couldn't execute "D:\planahead\uboot\stub.tcl": no such file or directory
XMD% source D:/planahead/uboot/stub.tcl

--------------------------------------------------
Enabling extended memory access checks for Zynq.
Writes to reserved memory are not permitted and reads return 0.
To disable this feature, run "debugconfig -memory_access_check disable".

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

CortexA9 Processor Configuration
-------------------------------------
Version.............................0x00000003
User ID.............................0x00000000
No of PC Breakpoints................6
No of Addr/Data Watchpoints.........4

Connected to "arm" target. id = 65
Starting GDB server for "arm" target (id = 65) at TCP port no 1235

RUNNING> XMD% target 64
------------------------------------------------
System(0 ) - Hardware System on FPGA(Device 1) Targets:
------------------------------------------------
Target(64) - Cortex-A9(1) Hardware Debug Target*
Target(65) - Cortex-A9(2) Hardware Debug Target
Target(352) - Cortex-A9 CoreSight Debug Target

XMD% dow D:/planahead/uboot/u-boot.elf
Processor started. Type "stop" to stop processor
Downloading Program -- D:/planahead/uboot/u-boot.elf
section, .text: 0x04000000-0x04020c0b
section, .rodata: 0x04020c0c-0x0402740d
section, .hash: 0x04027410-0x0402744f
section, .data: 0x04027450-0x04027fcb
section, .got.plt: 0x04027fcc-0x04027fd7
section, .u_boot_cmd: 0x04027fd8-0x04028487
section, .rel.dyn: 0x04028488-0x0402cd1f
section, .dynsym: 0x0402cd20-0x0402cdcf
section, .bss: 0x04028488-0x0406b167
Download Progress.ERROR: Failed to download ELF file

Cannot access DDR: the controller is held in reset

XMD% debugconfig -memory_access_check disable
XMD% dow D:/planahead/uboot/u-boot.elf
Downloading Program -- D:/planahead/uboot/u-boot.elf
section, .text: 0x04000000-0x04020c0b
section, .rodata: 0x04020c0c-0x0402740d
section, .hash: 0x04027410-0x0402744f
section, .data: 0x04027450-0x04027fcb
section, .got.plt: 0x04027fcc-0x04027fd7
section, .u_boot_cmd: 0x04027fd8-0x04028487
section, .rel.dyn: 0x04028488-0x0402cd1f
section, .dynsym: 0x0402cd20-0x0402cdcf
section, .bss: 0x04028488-0x0406b167
Download Progress.ERROR: Failed to download ELF file

Cannot access DDR: the controller is held in reset

XMD% con

RUNNING> XMD% stop
Processor stopped

XMD%
XMD% dow -data D:/planahead/uboot/zImage.elf
Usage: dow [<-data>] <filename> [<addr>]
XMD% dow -data D:/planahead/uboot/zImage.elf 0x8000
ERROR: Cannot OPEN File
- D:/planahead/uboot/zImage.elf

XMD% dow -data D:/planahead/uboot/zImage.elf 0x8000
ERROR: Cannot OPEN File
- D:/planahead/uboot/zImage.elf

XMD% dow -data D:/planahead/uboot/zImage.elf 0x8000
ERROR: Cannot OPEN File
- D:/planahead/uboot/zImage.elf

XMD% dow D:/planahead/uboot/u-boot.elf
Processor started. Type "stop" to stop processor
User Interrupt, Processor Stopped at 0xfffffe1c
Downloading Program -- D:/planahead/uboot/u-boot.elf
section, .text: 0x04000000-0x04020c0b
section, .rodata: 0x04020c0c-0x0402740d
section, .hash: 0x04027410-0x0402744f
section, .data: 0x04027450-0x04027fcb
section, .got.plt: 0x04027fcc-0x04027fd7
section, .u_boot_cmd: 0x04027fd8-0x04028487
section, .rel.dyn: 0x04028488-0x0402cd1f
section, .dynsym: 0x0402cd20-0x0402cdcf
section, .bss: 0x04028488-0x0406b167
Download Progress.ERROR: Failed to download ELF file

Cannot access DDR: the controller is held in reset

fletch
Moderator(23)
Did you make sure to match

Did you make sure to match the CTT version with your own tools' version?
Bryan

vajo
Junior(0)
CTT error

It took me a few days, I checked with the corresponding tool version, but I obtained the same result. I will try different Pc configuration. I have no explaneation about this error. I can not go trhu the tutorial because the dow command gives me error.
Witning for help.
Kind regards,
Jozsef

vajo
Junior(0)
Zedboard CTT

The problem is: I did not lunch the ps7_init command to initialize the Ps section.

vajo
Junior(0)
Zedboard CTT

The problem is: I did not lunch the ps7_init command to initialize the Ps section.

cwcheng
Junior(0)
Zedboard CTT

replace '/' by '//'
source D://planahead//uboot//uboot.sdk//SDK//SDK_Export//hw//ps7_init.tcl