Document number
205065
Version
Rev. N
Issue date
2019-02-04
Sirius OBC and TCM User Manual
Page
34
of
174
3:0
ERRMAN_MECRICNT
R/W
SDRAM EDAC multiple error
counter for critical errors
Return value
Description
0
Command executed
successfully
-1
See
errno
values
errno values
RTEMS_NOT_DEFINED
Invalid IOCTL
INVAL
Invalid value supplied to
IOCTL
5.3.3. Usage
5.3.3.1. RTEMS
The RTEMS driver must be opened before it can access the error manager device. Once
opened, all provided operations can be used as described in the RTEMS API defined in
subchapter 5.2.2. And, if desired, the access can be closed when not needed.
Figure 5-3 - RTEMS driver usage description
Interrupt message queue
The error manager RTEMS driver exposes a message queue service which can be
subscribed to. The name of the queue is “’E’, ‘M’, ‘G’, ‘R’”.
This queue emits messages upon power loss and single correctable errors.
A subscriber must inspect the message according to the following table to determine
whether to take action or not. Multiple subscribers are allowed and all subscribers will be
notified upon a message.
Message
Description
ERRMAN_IRQ_POWER_LOSS
A power loss has been detected
ERRMAN_IRQ_EDAC_MULTIPLE_ERR_OTHER Multiple EDAC errors that are not critical have been
detected