This example design uses the FMC1 connector on the ZC702 board to attach the XILINX HW_FMC-105-DEBUG board.
The TRACE port gets routed via EMIO to the mictor connector on the FMC-105.
Implementation Details
Design Type: PS and FPGA
Software Type: Standalone
PS Features: TRACE
PL Cores: ---
Boards/Tools: ZC702
Software Tools/Version: EDK 14.7
Other details:
Single core CPU @ 720MHz,FCLK (EMIOTRACECLK ) @ 200MHz, TRACECLK_pin @ 100MHz
Files Provided
Archived XPS project
ps7_init.tcl
In the design, FCLK_CLK0 is used to feed the EMIO port EMIOTRACECLK, and a divided by two version of FCLK_CLK0 is used to feed the external port TRACECLK_pin.
This is because ARM defines two separate clocks, TRACECLKIN and TRACECLK, where TRACECLK = TRACECLKIN/2.
TRACECLKIN is the input clock to the CoreSight components, and TRACECLK is the output clock that goes to the Lauterbach debugger.
On EMIO, the EMIOTRACECLK port is actually TRACECLKIN. You will need to generate your own divide-by-2 version of this clock in the PL, and output it to the TRACECLK_pin.
Make sure that the EMIO TRACECLK is selected as the source clock for trace in the DBG_CLK_CTRL register; bit 6 of 0xF8000164 should be set to 1.
Step-by-step Instructions
Note3: The Zynq-7 Processing Wizard 5.5 (2014.4) gives the TRACE_CLK_OUT signal as an output from the TPUI interface.
This TPUI, TRACE_CLK_OUT output signal can be a user selectable source of a clock output.
This TRACE_CLOCK_OUT clock can be used for TRACE_X port interface.
Expected Results
The TRACE port is functional.
Name | File Size | File Type |
---|---|---|
zc702_etm_147.zip | 2 MB | ZIP |
zc702_etm_2014_1.zip | 54 KB | ZIP |
Answer Number | Answer Title | Version Found | Version Resolved |
---|---|---|---|
50863 | Zynq-7000 SoC - Debug | N/A | N/A |
Answer Number | Answer Title | Version Found | Version Resolved |
---|---|---|---|
60901 | 2014.1 IPI, Zynq - How to select different data width for EMIO trace output | N/A | N/A |
60755 | Zynq-7000 SoC – 2014.1 Boot failed when EMIO TPIU is enabled | N/A | N/A |
AR# 46915 | |
---|---|
Date | 11/13/2017 |
Status | Active |
Type | General Article |
Devices | |
Tools | |
Boards & Kits |