2.1 Overview
The task analyzer tool can be used to verify analysis information (the state of processing program execution, the state of real-time OS resource usage, the CPU usage status, etc.) that dynamically changes according to the state of execution of the processing program.
The task analyzer tool requires the following operating procedure:
From the Windows [Start] menu, launch CS+.
Remark For details on "Start CS+", see the "CS+ Project Operation".
Read the project to be analyzed.
Remark For details on "Read a project", see the "CS+ Project Operation".
Select the type of debug tool to be used for the analysis of the execution status of the processing program.
Remark For details on "debug tool", see the "CS+ RX Debug Tool".
(4) Verify the trace mode
Verify that the settings in the [Selection of trace mode] on the [Task Analyzer] tab on the Property panel match the settings that were specified when the load module was generated.
Remarks 1. For details on the "[Task Analyzer] tab", see the "RI600V4 Coding".
2. When generating a load module, CS+ references the content of the [Selection of trace mode] settings and generates a load module that is optimal for the trace mode.
(5) Download the load module
Download the load module to be analyzed to the debug tool.
Remarks 1. For details on "Download the load module," see the "CS+ RX Debug Tool".
2. The task analyzer tool performs various types of analysis using the symbol information that is embedded in the load module. Therefore, downloading the load module to be analyzed requires that "Yes" is set in [Download] >> [Download files] >> [[0]] >> [Download symbol information] on the [Download File Settings] tab on the Property panel.
Open the
Realtime OS Task Analyzer panel that displays analysis information (the state of processing program execution, the state of real-time OS resource usage, the CPU usage status, etc.).
When opening this panel, make sure the mark located at the right edge of the
Status bar is set to
.
Remark If the
Status bar mark is
, it is an indication that the task analyzer tool is in a condition where it cannot perform various types of analysis.
The reason that the mark is set to
can be checked from the tool tip which is displayed when the mouse cursor is placed on the mark.
Set breakpoints on the starting and ending positions of a trace interval to be analyzed for the load module.
Remark For details on "Set breakpoints", see the "CS+ RX Debug Tool".
Execute the load module to the trace starting position.
Remark For details on "Execute the load module", see the "CS+ RX Debug Tool".
When the execution of the load module is started, set a trace start event by which CS+ acquires trace data.
Execute the load module to the trace ending position.
Remark For details on "Execute the load module", see the [CS+ RX Debug Tool].
(11) Verify analysis information
From the content of the display, verify items such as the state of processing program execution, the state of realtime OS resource usage, the CPU usage status, etc.
|
Updates the analysis information which is displayed in the Child-panel display area when the execution of the load module stops or when this item is selected.
|
|
Does not update the analysis information which is displayed in the Child-panel display area when the execution of the load module stops.
|