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?

Solution

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

Associated Attachments

Name File Size 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

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
50863 Zynq-7000 AP SoC - Debug N/A N/A
52540 Zynq-7000 AP SoC - Frequently Asked Questions N/A N/A

Associated Answer Records

Answer Number Answer Title Version Found Version Resolved
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
Date Created 07/17/2012
Last Updated 06/13/2013
Status Active
Type General Article
Devices
  • Zynq-7000
Tools
  • EDK - 14.1
  • EDK - 14.2
Boards & Kits
  • Zynq-7000 All Programmable SoC ZC702 Evaluation Kit