2.4 Configuring trace for bare-metal or Linux kernel targets
You can configure trace for bare-metal or Linux kernel targets using the DTSL options that DS-5 Debugger provides.
After configuring trace for your target, you can connect to your target and
capture trace data.
In DS-5 Debugger, select
Select Debug Configurations launcher
to open the
Select the DS-5 Debugger debug configuration for your target in the
If you want to create a new debug configuration for your target, then select
DS-5 Debugger from the left-hand
pane and then click the New button.
Then select your bare-metal or Linux kernel target from the Connection tab.
Figure 2-4 Select the debug configuration
In the Connection tab, after you
have selected your target, click the DTSL Options Edit button. This shows the DTSL
Configuration Editor dialog box where you can configure
Depending on your target platform, the DTSL Configuration
Editor provides different options to configure trace. Use the
various tabs to configure trace.
Figure 2-5 Select Trace capture method
For Trace capture method select
the trace buffer you want to use to capture trace.
The DTSL Configuration Editor shows the processors
on the target that are capable of trace. Click the processor tab you
want and then select the option to enable trace for the individual
processors you want to capture trace.
NoteThe options to enable trace might be nested. In this example, you
must select Enable Cortex-A15 core trace, to
enable the other options. Then you must select Enable
Cortex-A15 0 trace to enable trace on core 0 of the
Cortex-A15 processor cluster.
Figure 2-6 Select the processors you want to trace
Select any other trace related options you require in the DTSL
Click Apply and
then click OK. This configures
the debug configuration for trace capture.
Use the other tabs in the Debug Configurations
Editor to configure the other aspects of your debug
Click Apply to save your debug configuration. When you
use this debug configuration to connect, run, and stop your target, you can see
the trace data in the Trace view.