Difference between revisions of "Configure instruction trace in Embedded Studio"
(→Result) |
|||
Line 16: | Line 16: | ||
Once the debug session has been started, the most recent executed instructions will be shown in the instruction back trace window. The window can be opened at:<br> |
Once the debug session has been started, the most recent executed instructions will be shown in the instruction back trace window. The window can be opened at:<br> |
||
''Debug'' > ''Other windows'' > ''Execution Trace'' |
''Debug'' > ''Other windows'' > ''Execution Trace'' |
||
− | [[File: |
+ | [[File:ES_ExecutionTrace_ETM.png | thumb | none | 600px | Example instruction trace output]] |
= Sample projects = |
= Sample projects = |
Revision as of 16:38, 28 May 2020
This article explains how to enable instruction trace in Embedded Studio.
MTB/ETB/ETF/TMC
In general, to get ETB/MTB/.. up and running, just make sure to configure ETB as Trace Interface Type in the Embedded Studio project settings:
Debugger > Target Trace Options > Trace Interface Type > ETB
Pin trace (ETM/PTM)
In general, to get ETM/PTM up and running, just make sure to configure ETB as Trace Interface Type in the Embedded Studio project settings:
Debugger > Target Trace Options > Trace Interface Type > ETM
Result
Once the debug session has been started, the most recent executed instructions will be shown in the instruction back trace window. The window can be opened at:
Debug > Other windows > Execution Trace
Sample projects
A constantly updated list of tested sample project can be found on the SEGGER homepage.
All projects come with an Embedded Studio and Ozone project, working out-of-the-box.