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!

AR# 46988

Zynq-7000 Debug - How do you run ps7_init.tcl from Lauterbach?

Description

ps7_init.tcl initializes the Zynq-7000 platform through xmd. If you are using Lauterbach as a debugger, you cannot use the ps7_init.tcl the way it is.

How do you run ps7_init.tcl from Lauterbach?

解决方案

The initialization of the debugger is done using the Lauterbach script zynq_init_ps7_init.cmm. In this script, before downloading the .elf file, the ps7_init.cmm script is executed. This script takes the ps7_init.tcl specified and translates the xmd commands to Lauterbach commands.

At the end of ps7_init.cmm, the Zynq-7000 platform is initialized.

Note: From 14.5, the ps7init.tcl has a different structure and supports all revisions of silicon. The user has to modify the ps7_init.cmm to call the functions matching the silicon is targeting.

This is an example for 1.0 silicon:

"ps7_mio_init_data_1_0"
"ps7_pll_init_data_1_0"
"ps7_clock_init_data_1_0"
"ps7_ddr_init_data_1_0"
"ps7_peripherals_init_data_1_0"

Attachments

文件名 文件大小 File Type
zynq_init_ps7_init.cmm 1 KB CMM
ps7_init_14_1.cmm 1 KB CMM
ps7_init_14_2.cmm 1 KB CMM

链接问答记录

主要问答记录

Answer Number 问答标题 问题版本 已解决问题的版本
50863 Zynq-7000 AP SoC - Debug N/A N/A
52540 Zynq-7000 AP SoC - Frequently Asked Questions N/A N/A

相关答复记录

Answer Number 问答标题 问题版本 已解决问题的版本
47767 Zynq-7000 Debug - Lauterbach Startup Script for ZC702 N/A N/A
47002 Zynq-7000 Debug - How do you program a bitstream using Lauterbach? N/A N/A
AR# 46988
创建日期 07/17/2012
Last Updated 06/21/2013
状态 Active
Type 综合文章
器件
  • Zynq-7000
Tools
  • EDK - 14.1
  • EDK - 14.2
Boards & Kits
  • Zynq-7000 All Programmable SoC ZC702 Evaluation Kit