AR# 46988

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

描述

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"

附件

文件名 文件大小 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
ps7_init_14_5.cmm 1 KB CMM

链接问答记录

主要问答记录

Answer Number 问答标题 问题版本 已解决问题的版本
50863 Zynq-7000 SoC - 调试 N/A N/A
52540 Zynq-7000 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
日期 05/18/2018
状态 Active
Type 综合文章
器件
Tools
Boards & Kits