List of Error Codes

Normal Completion Error Class (0)

Error code nameError CodesSummary description
E_OK 0 Normal completion

Normal completion Internal Error Class (5 to 8)

Error code nameError CodesSummary description
E_SYS ERCD(-5, 0) System error

An error of unknown cause affecting the system as a whole.

Error code nameError CodesSummary description
E_NOCOP ERCD(-6, 0) Unavailable co-processor

This error code is returned when the specified co-processor is not installed in the currently running hardware, or abnormal co-processor condition was detected.

Unsupported Error Class (9 to 16)

Error code nameError CodesSummary description
E_NOSPT ERCD(-9, 0) Unsupported function

When some system call functions are not supported and such a function is invoked, error code E_RSATR or E_NOSPT is returned. If E_RSATR does not apply, error code E_NOSPT is returned.

Error code nameError CodesSummary description
E_RSFN ERCD(-10, 0) Reserved function code number

This error code is returned when it is attempted to execute a system call specifying a reserved function code (undefined function code), and also when it is attempted to execute an undefined extended SVC handler (a positive function code).

Error code nameError CodesSummary description
E_RSATR ERCD(-11, 0) Reserved attribute

This error code is returned when an undefined or unsupported object attribute is specified.

Checking for this error may be omitted if system-dependent optimization is implemented.

Parameter Error Class (17 to 24)

Error code nameError CodesSummary description
E_PAR ERCD(-17, 0) Parameter error

Checking for this error may be omitted if system-dependent optimization is implemented.

Error code nameError CodesSummary description
E_ID ERCD(-18, 0) Invalid ID number

E_ID is an error that is returned only for objects having an ID number.

Error code E_PAR is returned when a static error is detected for such as reserved number or out of range in the case of interrupt number.

Call Context Error Class (25 to 32)

Error code nameError CodesSummary description
E_CTX ERCD(-25, 0) Context error

This error indicates that the specified system call cannot be issued in the current context (task portion/task-independent portion or handler RUNNING state).

This error must be returned whenever there is a semantic context error in issuing a system call, such as calling from a task-independent portion a system call that may put the invoking task in WAITING state. Due to implementation limitations, there may be other system calls that, when called from a given context (such as an interrupt handler), will cause this error to be returned.

Error code nameError CodesSummary description
E_MACV ERCD(-26, 0) Memory cannot be accessed; memory access privilege error

Error detection is implementation-dependent.

Error code nameError CodesSummary description
E_OACV ERCD(-27, 0) Object access privilege error

This error code is returned when a user task tries to manipulate a system object.

The definition of system objects and error detection are implementation-dependent.

Error code nameError CodesSummary description
E_ILUSE ERCD(-28, 0) System call illegal use

Resource Constraint Error Class (33 to 40)

Error code nameError CodesSummary description
E_NOMEM ERCD(-33, 0) Insufficient memory

This error code is returned when there is insufficient memory (no memory) for allocating an object control block space, user stack area, memory pool area, message buffer area or the like.

Error code nameError CodesSummary description
E_LIMIT ERCD(-34, 0) System limit exceeded

This error code is returned, for example, when it is attempted to create more object(s) than the system allows.

Object State Error Class (41 to 48)

Error code nameError CodesSummary description
E_OBJ ERCD(-41, 0) Invalid object state
E_NOEXS ERCD(-42, 0) Object does not exist
E_QOVR ERCD(-43, 0) Queuing or nesting overflow

Wait Error Class (49 to 56)

Error code nameError CodesSummary description
E_RLWAI ERCD(-49, 0) Waiting state was forcibly released
E_TMOUT ERCD(-50, 0) Polling failed or timeout
E_DLT ERCD(-51, 0) Waiting object was deleted
E_DISWAI ERCD(-52, 0) Wait released due to disabling of wait

Device Error Class (57 to 64) (μT-Kernel/SM)

Error code nameError CodesSummary description
E_IO ERCD(-57, 0) I/O error

※ Error information specific to individual devices may be defined in E_IO sub-codes.

Error code nameError CodesSummary description
E_NOMDA ERCD(-58, 0) No media

Status Error Class (65 to 72) (μT-Kernel/SM)

Error code nameError CodesSummary description
E_BUSY ERCD(-65, 0) Busy
E_ABORT ERCD(-66, 0) Processing was aborted
E_RONLY ERCD(-67, 0) Write protected