Configure instruction trace in Embedded Studio

From SEGGER Wiki
Revision as of 17:19, 31 May 2019 by Johannes (talk | contribs) (Created page with "In general, to get ETB up and running, just make sure to configure ETB as ''Trace Interface Type'' in the Embedded Studio project settings: ''Debugger'' --> ''Target Trace Op...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In general, to get ETB 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

ES ProjectConfiguration ETB.png

Once the debug session has been started, the most recent executed instructions will be shown in the instruction backtrace window. The window can be opened at:

Debug --> Other windows --> Execution Trace

File:ES ExecutionTrace ETB.png

ETB trace on NXP TWR-K65F

ETB trace with the OpenSDA on-board which is on the NXP TWR-K65F board and for which SEGGER also provide a firmware. Further information regarding the J-Link OpenSDA firmware can be found on the SEGGER webpage: https://www.segger.com/opensda.html.

Below a sample project that is already prepared for ETB trace on the K65 is available for download.