Everything

[Semaphore] tab

This tab displays the semaphore information (e.g. Semaphore Name and ID) of the RI78V4.
Figure A-5. [Semaphore] 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
(a) First layer
This layer displays the semaphore information (e.g. Semaphore Name and ID) of the RI78V4.
This layer consists of the following items.
Semaphore Name
An icon indicating the current status of the semaphore and the name of the semaphore are shown in the following format.
Icon Name
Note that if the name of the semaphore is undefined, the name will appear as "ID".
There are waiting tasks.
There are no waiting tasks.
ID
The ID of the semaphore is shown.
Queue Status
The current status of the semaphore is shown.
Waiting Tasks
There are waiting tasks.
Empty
There are no waiting tasks.
Current Count
The current resource count of the semaphore is shown.
Max Count
The maximum resource count "127" of the semaphore is shown.
Initial Count
The initial resource count of the semaphore is shown.
Attribute
The task queuing method "TA_TFIFO" is shown.
TA_TFIFO
FIFO order

(b) Second layer
The waiting task information (e.g. Task Name and ID) only appears if there are tasks queued in the semaphore's wait queue.
See the [Task] tab for details about waiting task information.
Figure A-6. [Semaphore] Tab (Waiting Task Information)
Remarks 1. If the waiting task information (Task Name, ID, Status, Wait Factor, Wait Data, Time Left, Interrupt, Current Priority, Task Start Address, Current PC) 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 waiting task information (Current Task SP) in the 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.
Semaphore Name, ID, Queue Status, Current Count, Max Count, Initial Count, 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, Current Count, Max Count, Initial Count
DEC
Displays value in signed decimal number.
HEX
Displays value in hexadecimal number.

(2) Footer row
Reset Display Item
Resets the display item (e.g. whether or not to display header items, display notation, display order and display width).