To configure the launch configuration for the S12Z target:
The Debug Configurations dialog box appears.
To configure the launch configuration for the measurement of data:
The table below describes the various Trace and Profile options for S12Z architecture.
| Group | Option | Description |
|---|---|---|
| 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. |
| Target Configuration | Continuous trace collection | Allows you to collect continuous trace data when checked. That is, it stops the target in the background to read the trace every time the FIFO is almost full. |
| Enable Timsestamps | Enables time stamping when checked. | |
| Stop on buffer full | Suspends the target automatically and stops trace collection when buffer is full. | |
| Trace Mode | Allows you to select any one of the following trace modes:
|
|
| Trigger Mode | Allows you to select any one of the following triggers for the trigger set in the source code:
|
|
| Trace from: 0x | Specifies the address from which you want to collect trace data. | |
| to: 0x | Specifies the address till which you want to collect trace data. | |
| State 1, 2, 3 | Next State for Comp A/B/C/D | Specify the logic for starting the trace collection. The trace collection starts when the target enters the Final State . The drop-down lists for each state allows you to select the next state when the corresponding comparator is hit. For example, in the State 1 tab, you select Next State for Comp A as State 2 , that is when comparator A is hit you want to enter State 2 . Then in the State 2 tab, when comparator B is hit, you want to enter State 3 . Then in State 3 when comparator C is hit, you want to enter the Final State and begin collecting trace. NOTE: The comparators are the triggers A,B,C,D, which you can set in the source code, on variables, or in memory. To set triggers in the source code, select Trace Triggers > Toggle Trace Trigger A/B/C/D. |