beautypg.com

6 display the semaphore status – Renesas Emulator Debugger M16C PC4701 User Manual

Page 210

background image


7.14.6 Display the Semaphore Status

In the MR window, select Popup Menu - [Mode] -> [Semaphore].

7.14.6.1 Display the Semaphore Status(When the realtime OS is MRxx conformed to uITRON
specifications V.3.0.)

All the SEMs defined in the configuration are listed in the order of ID number. The function of each
item is listed below. (When the realtime OS is MRxx conformed to uITRON specifications V.3.0.)

Item Contents
ID

ID No. of semaphore

Def_cnt

Default value of semaphore counter

Count Semaphore

count

semQ

Task ID Nos. and task names in the semaphore queue


When a task connected to the SEM queue is in the state of waiting with timeout enabled (waiting
in twai_sem), a string "[tmo]", which indicates a state of waiting with timeout enabled, is
appended to a string displayed in the semQ field.
When a task connected to the SEM queue is in the state of forced waiting (double waiting), a
string "[s]", which indicates double waiting, is appended to a string displayed in the semQ field.

Normal Display

26(_task26)

Display when in WAIT-SUSPEND

26(_task26)[s]

Display when in WAIT-SUSPEND with time out

26(_task26)[tmo][s]


Up to 8 characters can be displayed in the task name in the semQ field. If a task name exceeds 8
characters, the extra characters are omitted.

7.14.6.2 Display the Semaphore Status (When the realtime OS is MRxx conformed to uITRON
specifications V.4.0.)

All the SEMs defined in the configuration are listed in the order of ID number. The function of each
item is listed below. (When the realtime OS is MRxx conformed to uITRON specifications V.4.0.)

Item Contents
ID

ID No. of semaphore

Sematr

Attribute of each semaphore

Semcnt Semaphore

count

Semaphore Queue

Task ID Nos. and task names in the semaphore queue

196