Display The Mailbox Status - Renesas Emulator Debugger M16C PC4701 User Manual

Emulator debugger v.1.03
Table of Contents

Advertisement

7.14.7 Display the Mailbox Status

In the MR window, select Popup Menu - [Mode] -> [Mailbox].
7.14.7.1 Display the Mailbox Status (When the realtime OS is MRxx conformed to uITRON
specifications V.3.0.)
All the mail boxes 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
ID
Msg_cnt
MAXmsg
Wait Queue(Message)
The WaitQueue (Message) field shows a string "Msg" when a message is stored (when Msg_cont
as described above is non-zero), and then displays the stored message.
When no message is stored (when Msg_cont is zero), the WaitQueue field displays a string "Task"
if a task waiting for a message exists, and then displays the ID number and name of the task
waiting for a message.
When a task connected to the mail box queue is in the state of waiting with timeout enabled
(waiting in trcv_msg), a string "[tmo]", which indicates the state of timeout enabled, is appended
to a string displayed in the WaitQueue (Message) field.
When a task connected to the mail box queue is in the state of forced waiting (Double waiting), a
string "[s]", which indicates the state of double waiting, is appended to a string displayed in the
WaitQueue (Message) field.
Normal Display
Display when in WAIT-SUSPEND
Display when in WAIT-SUSPEND with time out
Up to 8 characters can be displayed in the task name in the WaitQueue (Message) field. If a task
name exceeds 8 characters, the extra characters are omitted.
Contents
ID No. of mailbox
Number of messages in each mailbox
Maximum number of messages that can be contained in each mailbox
The messages stored in the mailbox or ID No. and task name of tasks
waiting for messages
26(_task26)
26(_task26)[s]
26(_task26)[tmo][s]
198

Advertisement

Table of Contents
loading

Table of Contents