Everything

[Task] tab

This tab displays the task information (e.g. Task Name and ID) of the RI78V4.
Figure A-4. [Task] Tab
The following items are explained here.
[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
This area displays the task information (e.g. Task Name and ID) of the RI78V4.
This area 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 wait factor (type of WAITING state, object ID and attribute of WAITING state) of the task 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
DTQ
Waiting state for data
MBX
Receiving waiting state for a mailbox
MPF
Waiting state for a fixed-sized memory block
[Attribute of WAITING state]
ANDW
AND waiting condition
ORW
OR waiting condition
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, "-" is shown.
Wait bit pattern
Waiting state for an eventflag
Time Left
The time left until the delayed state is released (in tick) 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 and initial interrupt state of task) are shown in the following format.
Coding language Initial activation 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 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. If the task information (Task Name, ID, Status, Wait Factor, Wait Data, Time Left, Interrupt, Current Priority, Task Start Address, Current PC, Initial Priority, Suspend Count, Wakeup Count, Activate Count, Attribute, Extended Information, Tex Status, Tex Request Pattern, Tex Executing Pattern, Tex Attribute) in each cell is double clicked, then Editor panel displays the source file of the task, and the caret moves to the corresponding location.
2. If the task information (Current Task SP, Task Stack Area) in each cell is double clicked, then Memory panel displays the contents of the task stack, and the caret moves to the corresponding location.
[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)
This item will be grayed out.
Jump to Disassemble (Tex Start Address)
This item will be grayed out.
Reset Display Item
Resets the display item (e.g. whether or not to display header items, display notation, display order and display width).