[Task] tab

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

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 RI600V4.

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

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) is shown in the format below.

Type of WAITING state (Object ID) Attribute of WAITING state

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

Waiting state for a mailbox

MTX

Waiting state for a mutex

SMBF

Sending waiting state for a message buffer

RMBF

Receiving waiting state for a message

buffer

MPF

Waiting state for a fixed-sized memory pool

MPL

Waiting state for a variable-sized memory pool

[Attribute of WAITING state]

ANDW

AND waiting condition for a eventflag

ORW

OR waiting condition for a eventflag

TMO

Waiting for timeout

FIFO

Waiting for FIFO order

PRI

Waiting for task priority order

Wait Data

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

Note that if the task's current state 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 is shown. A unit of the time is millisecond. But the unit is a basic clock count when a denominator of base clock interval time (tic_deno) is 1.

If the task is in the WAITING state forever, "TMO_FEVR" appears.

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

Interrupt

"Enable" is shown.

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 (the task's initial activation state and initial interrupt state) are shown in the following format.

Initial activation state Initial interrupt state

[Initial activation state of task]

TA_ACT

READY state

Nothing displayed

DORMANT state

[Initial interrupt state of task]

TA_ENAINT

All interrupts are enabled at task activation.

Extended Information

The extended information of the task is shown.



(b) Second layer

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 Stack SP, Task Stack Area, Initial Priority, Suspend Count, Wakeup Count, Activate Count, Attribute, Extended Information

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 Stack SP, Task Stack Area, Initial Priority, Suspend Count, Wakeup Count, Activate Count, Extended Information

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.

Reset Display Item

Resets the item displayed to initial state.