[Task] tab

This tab displays the task information (e.g. Task Name and ID) of the RI850V4.

Figure A-4. [Task] Tab



The following items are explained here.

- [How to open]

- [Description of each area]

- [Context menu]

[How to open]

- From the [Debug] menu, select [Download].

- From the [View] menu, select [Realtime OS] >> [Resource Information].

[Description of each area]

(1) Information display area

(a) First layer

This layer displays the task information (e.g. Task Name and ID) of the RI850V4.

This layer consists of the following items.

Task Name

An icon indicating the current status of the task and the name of the task are shown in the following format.

Icon Name

Note that if the name of the task is undefined, the name will appear as "ID".

DORMANT state

READY state

RUNNING state

WAITING state

SUSPENDED state

WAITING-SUSPENDED state

ID

The ID of the task is shown.

Status

The current state of the task is shown.

Dormant

DORMANT state

Ready

READY state

Running

RUNNING state

Waiting

WAITING state

Suspended

SUSPENDED state

Waiting-Suspended

WAITING-SUSPENDED state

Wait Factor

The task wait factor (type of WAITING state, object ID and attribute of WAITING state) are shown in the following format.

Type (ID) Attribute

Note that if the current state of the task is other than WAITING state or WAITING-SUSPENDED state, "--" appears.

If the WAITING state type is sleeping state or delayed state, then "(Object ID)" is not shown.

[Type of WAITING state]

SLP

Sleeping state

DLY

Delayed state

SEM

WAITING state for a semaphore resource

FLG

WAITING state for an eventflag

SDTQ

Sending WAITING state for data queue

RDTQ

Receiving WAITING state for a data queue

MBX

Receiving WAITING state for a mailbox

MTX

WAITING state for a mutex

MPF

WAITING state for a fixed-sized memory block

MPL

WAITING state for a variable-sized memory block

[Attribute of WAITING state]

ANDW

AND waiting condition

ORW

OR waiting condition

TMO

Waiting for timeout

FIFO

FIFO order

PRI

Task priority order

Wait Data

The request conditions triggering the task's transition to WAITING state are shown.

Note that if the current state of the task is other than waiting state for an eventflag, sending waiting state for a data queue, or waiting state for a variable-sized memory block, "--" is shown.

Wait bit pattern

Waiting state for an eventflag

Data element to be sent to the data queue

Sending waiting state for a data queue

Memory block size to be acquired

Waiting state for a variable-sized memory block

Time Left

The time left until the delayed state is released (in milliseconds) is shown.

Note that if the task is waiting forever, "TMO_FEVR" appears.

If the current state of the task is other than WAITING state or WAITING-SUSPENDED state, "--" appears.

Interrupt

The current interrupt state of the task is shown.

Disable

All interrupts are disabled.

Enable

All interrupts are enabled.

Current Priority

The current priority of the task is shown.

Task Start Address

The start address of the task is shown.

Current PC

The current PC value of the task is shown.

Current Task SP

The current SP value of the task is shown.

Task Stack Area

The start address, end address, and size (in bytes) of the task stack are shown in the following format.

Start address - End address (Size)

Initial Priority

The initial priority of the task is shown.

Suspend Count

The suspension count of the task is shown.

Wakeup Count

The wakeup request count of the task is shown.

Activate Count

The activation request count of the task is shown.

Attribute

The attributes of the task (coding language of task, initial activation state of task, initial preemption state of task and initial interrupt state of task) are shown in the following format.

Coding language Initial activation state Initial preemption state Initial interrupt state

[Coding language of task]

TA_HLNG

C language

TA_ASM

Assembly language

[Initial activation state of task]

TA_ACT

READY state

Nothing displayed

DORMANT state

[Initial preemption state of task]

TA_DISPREEMPT

Preemption is disabled at task activation.

Nothing displayed

Preemption is enabled at task activation.

[Initial interrupt state of task]

TA_DISINT

All interrupts are disabled at task activation.

TA_ENAINT

All interrupts are enabled at task activation.

Extended Information

The extended information of the task is shown.

Tex Start Address

"--" is shown.

Tex Status

"--" is shown.

Tex Request Pattern

"--" is shown.

Tex Executing Pattern

"--" is shown.

Tex Attribute

"--" is shown.



Remarks 1. Double-clicking a task information cell (e.g., Object Name or ID) displays the source file of the task in the Editor panel and moves the caret to the relevant location.

2. Double-clicking the task information cell for Current Task Stack SP or Task Stack Area displays the contents of the task stack in the Memory panel and moves the caret to the relevant location.

(b) Second layer

This layer displays the locked mutex information (e.g., mutex name or ID) only when a task locks a mutex.

See the [Mutex] tab for details about locking mutex information.

Figure A-5. [Task] Tab (Locking Mutex Information)



[Context menu]

The context menu displayed in response to a right mouse click differs as follows depending on the area clicked.

(1) Header row

Display

Displays cascade menus for selecting the header items to display.

Selected item name

The following items are displayed for selection.

Task Name, ID, Status, Wait Factor, Wait Data, Time Left, Interrupt, Current Priority, Task Start Address, Current PC, Current Task SP, Task Stack Area, Initial Priority, Suspend Count, Wakeup Count, Activate Count, Attribute, Extended Information, Tex Start Address, Tex Status, Tex Request Pattern, Tex Executing Pattern, Tex Attribute

Checked

The item in question will be displayed.

Not checked

The item in question will not be displayed.

Notation

Displays cascade menus for selecting the display notation.

Selected item name

The following items are displayed for selection.

ID, Wait Factor, Wait Data, Time Left, Current Priority, Task Start Address, Current PC, Current Task SP, Task Stack Area, Initial Priority, Suspend Count, Wakeup Count, Activate Count, Extended Information, Tex Start Address, Tex Request Pattern, Tex Executing Pattern

DEC

Displays value in signed decimal number.

HEX

Displays value in hexadecimal number.



(2) Footer row

Jump to Source (Task Start Address)

Opens the Editor panel, and displays the source code of the task.

Jump to Disassemble (Task Start Address)

Opens the Disassemble panel, and displays the results of disassembling the task.

Jump to Source (Current PC)

Opens the Editor panel, and displays the contents of the Current PC.

Jump to Disassemble (Current PC)

Opens the Disassemble panel, and displays the contents of the Current PC.

Jump to Memory (Current Task SP)

Opens the Memory panel, and displays the contents of the Current Task SP.

Jump to Source (Tex Start Address)

Opens the Editor panel, and displays the source code of the task exception handling routine.

Jump to Disassemble (Tex Start Address)

Opens the Disassemble panel, and displays the results of disassembling the task exception handling routine.

Service Call

Displays the types of service calls that can be issued.

Note that if a service call is not embedded in (linked to) the downloaded program, or the necessary conditions for executing the service-call process are not met, then the service call will be grayed out.

rel_wai

Release task from waiting.

ter_tsk

Terminate task.

chg_pri

Change task priority.

sus_tsk

Suspend task.

rsm_tsk

Resume suspended task.

frsm_tsk

Forcibly resume suspended task.

wup_tsk

Wakeup task.

can_wup

Cancel task wakeup requests.

act_tsk

Activate task (queues an activation request).

can_act

Cancel task activation requests.

Reset Display Item

Resets the display item (e.g. whether or not to display header items, display notation, display order and display width).