Advanced Topics: Using Trace; First Step: Configuring The Intel Trace Hub - Aaeon UP Xtreme i11 Getting Started Manual

Hide thumbs Also See for UP Xtreme i11:
Table of Contents

Advertisement

Advanced Topics: Using Trace

Trace is by far one of the most useful debugging utilities for triaging the most difficult,
hard-to-reproduce bugs. Fortunately, the Tiger Lake CPU is equipped with all the latest-
and-greatest trace logic, and SourcePoint supports them all.
Let's look at a few of them, and how to configure their use in SourcePoint.

First Step: Configuring the Intel Trace Hub

Event tracing on the TGL platform is accomplished by the Intel Trace Hub (ITH).
Fortunately, using DCI, events supported by the ITH can be streamed directly out of
system reset. The one limitation that exists is that some events (like Port IN/OUT
tracing) happen so frequently at some points of the boot process that they overwhelm
the capacity of the USB 2.0 (DbC2) connection and event processing, and thus cause
buffer overflows – but these should be rare as long as the events collected are relatively
close to the debug point of interest.
The first thing to do is to configure the ITH. Reset the target and halt at the reset vector,
address FFFFFFF0:
The next step is to load in the ITH macros that enable the Trace Hub and hide it from
the OS. Fortunately, SourcePoint comes equipped with a couple of macro buttons built
©2023 ASSET InterTech, Inc.
25
SourcePoint Getting Started Guide – UP Xtreme i11

Advertisement

Table of Contents
loading

Table of Contents