To configure the launch configuration for the ColdFire V1 target:
The Debug Configurations dialog box appears.
To configure the launch configuration for measurement of data:
The table below describes the various Trace and Profile options.
| Group | Options | Descriptions |
|---|---|---|
| User Options | Enable Logging | Creates a log file that keeps details of the actions that took place in the application. For example, when the debug session terminated, when the target execution resumed or stopped. |
| Configuration Set in User Code | When checked, lets you configure trace registers from the application without using the Trace and Profile page. In this scenario, you can write the appropriate registers in the source code to configure the trace mode and triggers. To understand how to configure trace registers in the application for the ColdFire V1 target, refer Configuring Trace Registers in Source Code. |
|
| Select Trace Mode | Continuous | When selected, collects the trace data continuously. It produces best possible trace and profile results because it captures all executed instructions. However, it is slow and intrusive as it stops the target in the background every about 500 cycles. |
| Automatic (One-buffer) | When selected, captures only the last instructions executed before the target gets suspended. It is totally unintrusive. | |
| Halt the Target when Trace Buffer Gets Full | Appears only when the Automatic (One-Buffer) option is selected. It acts as a breakpoint for stopping the application. If selected, stops the application automatically when trace buffer gets full. | |
| Profile-Only. Sample PC every cycles | When selected, captures the PC address every N cycles, where N is 128/256/512.......16384. Trace is mostly irrelevant in this mode, but Profile Statistics will be fairly accurate for a long cyclic run. This method is a bit intrusive because it stops the target in the background every about 8*N cycles. | |
| Expert | When selected, enables the Configure Expert Settings button and lets you configure the ColdFire V1 trace and debug registers directly. To configure expert settings, download the processor specific manual from http://www.freescale.com/. | |
| Trace Start/Stop Conditions | Includes various conditions of triggers, A, B, and C, for starting and stopping trace. For more information, refer Conditions for Starting/Stopping Triggers. |
|
| Target PC Address | 2 Bytes | Select this option to save 5-30% trace-buffer space if your PC addresses never exceed 16-bits (64K). This results in less intrusiveness, or more instructions traced, depending on the trace mode you use. This feature is not supported for the Expert trace mode. |
| 3 Bytes | Select this default and recommended option if the PC address length in your program exceeds 16-bits (64K). This feature is not supported for the Expert trace mode. |
|
| Trace data values | Read Data | Traces the values of data operands being read from the memory. This feature is not supported for the Profile-Only and Expert trace modes. |
| Write Data | Traces the values of data operands being written to the memory. This feature is not supported for the Profile-Only and Expert trace modes. |