1 prepare the measurement, Set the information of realtime os – Renesas Emulator Debugger M16C PC4701 User Manual

Page 246

Advertising
background image


7.18.2 Refer the Execution History of Task(Taskxx Window)

You can reference the task execution history in the Task Trace window.
You can reference the execution history statistical processing result in the Task Analyze window.
These windows are also available for a target program using an OS other than our real time OS
(MRxx).

7.18.2.1 Prepare the Measurement

To measure the task execution history of the program using the real time OS, you must select the
trace range in the Task Trace window and then execute the target program.

7.18.2.1.1. Set the Information of Realtime OS.

To use the Task Trace window, you must set the following information concerning the real time OS
(the target real time OS) which are used by the downloaded program.

Label name (address value) of the execution task ID storage area and its size

Task start address expression


Open the Task Trace window. Select Menu - [View] -> [RTOS] -> [Task Trace].
When you select this menu at first time after starting PDxx, the RTOS Information dialog is opened
before the Task Trace window is opened.


When using our real time OS (MRxx)

1.

Click the "default" button. The MRxx information is set.

2.

Click the OK button. The Task Trace window is opened.


When using a real time OS other than MRxx

1. Specify the label (address is also available) of the execution task ID storage area in the PID

Address field ; specify the size of the execution task ID storage area in the Size list box.
If this information is not set correctly, you cannot use the Task Trace window.

2.

Specify the task start address expression in the Task Entry field.
Describe the expression in the format in accordance with the description rules.
Use a macro variable [% TaskID] in the address where the task ID number is supposed to assign.
If this information is not set correctly, the task name is not displayed in the Task Trace window.

3.

Click the OK button. The Task Trace window is opened.


On debuger for 740, simply by clicking the default button, the OSEK OS information is set.
Once the real time OS information is set in this dialog, the information becomes effective from the
next time.
To change the setting data, select [RTOS...] from popup menu by right-clicking on the window. The
RTOS Information dialog is re-opened.

232

Advertising