Chapter 4 Debug Configurations
Table 4-20. Trace and Profile Tab Options (QDS Hardware Target) (continued)
Triad Settings
Option
Trace Control Settings
Automatically (when debug session starts)
Manually (using debug toolbar trace buttons)
Description
_TRACE_BUFFER_start variables that allow you to change the start address and size. File mmu_attr.l3k contains
_ENABLE_TB variable that allows to enable and disable settings for trace buffer from linker's files.
Allows you to specify trace configuration settings.
The trace collection process is started automatically when the debug session is launched.
This is the default behavior. This option is used when you want to manually control the trace collection. The trace collection process will not be started automatically on debug session launch, but the trace configuration options are applied, when you click on the Start
Trace Collection button.
Advanced Tab
Triad A
Triad B
In the Advanced tab, you need to configure triad settings if you have selected Profile trace checkbox in
Customize Trace Scenario. After selecting Profile trace checkbox, the default profiling events are mapped on
Triad A - L1 Icache Access Sorting and
Triad B - Program L1 L2 Cacheable
Access Sorting.
NOTE
For more details about the Trace and Profile tab options, see the CodeWarrior Development Studio for StarCore SC3900FP
DSP Architectures Tracing and Analysis Tools User Guide
.
4.2 Customizing Debug Configurations
When you use the CodeWarrior wizard to create a new project, the wizard sets the project's launch configurations to default values.
You can change the default values of your project's launch configurations, according to your program's requirements.
To modify the launch configurations:
CodeWarrior Development Studio for StarCore 3900FP DSP Architectures Targeting Manual, Rev. 10.9.0,
11/2015
Freescale Semiconductor, Inc.
129
Customizing Debug Configurations
1. Start the CodeWarrior IDE.
2. From the main menu bar of the IDE, select Run > Debug Configurations.
The Debug Configurations dialog box appears. The left side of this dialog box has a list of debug configurations that apply to the current application.
3. Expand the CodeWarrior configuration.
4. From the expanded list, select the debug configuration that you want to modify.
The follwoing figure shows the Debug Configurations dialog box with the settings for the debug configuration you selected.
Figure 4-14. Debug Configurations Dialog Box
5. In the group of tabs in the upper-right side of the dialog box, click a tab.
6. Change the settings on the debug configuration page as per your requirements. See
Using Debug Configurations Dialog Box
for details on the various settings of this page.
7. Click Apply to save the new settings.
When you finish, you can click Debug to start a new debugging session, or click Close to save your changes and close the Debug Configurations dialog box.
CodeWarrior Development Studio for StarCore 3900FP DSP Architectures Targeting Manual, Rev. 10.9.0,
11/2015
130 Freescale Semiconductor, Inc.