This trace operation can be configured in the [Trace] category on the [Debug Tool Settings] tab of the Property panel.
This category appears only when the selected microcontroller incorporates the OCD trace function. |
Select whether to use trace function.
Select [Yes] to use the trace function (default: [No]).
Select the operation after the trace memory is full with the collected trace data, from the following drop-down list.
Continues overwriting the older trace data after the trace memory is full (default). |
|
When the trace memory is full, CS+ stops writing trace data (the program does not stop execution). |
The size of trace memory (i.e. the number of trace frames) is displayed.
You cannot change the value of this property.
The trace frame is a unit of trace data. One trace frame is used for each operation in fetch/write/read.
Operation specifications of the OCD trace function are as follows:
Branch origin instructions (internal ROM only) For a branch instruction with a condition, it will be traced only when the condition is met. Complement display of instructions between branch instructions cannot be performed. Note that, for the following instructions, an instruction of the next address of its correct position will be displayed. The following items are supported on the Trace panel. Instruction at address 0 when a reset occurs Instruction at the location indicated by the PC when tracing is stopped; however, the instruction is not executed because it will be the next to be executed. |
|