11.07.2015 Views

IAR PowerPac RTOS User Guide

IAR PowerPac RTOS User Guide

IAR PowerPac RTOS User Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

List of error codesValue Define Description120 OS_ERR_STACK Stack overflow or invalid stack.128 OS_ERR_INV_TASK Task control block invalid, not initialized or overwritten.129 OS_ERR_INV_TIMER Timer control block invalid, not initialized or overwritten.130 OS_ERR_INV_MAILBOX Mailbox control block invalid, not initialized or overwritten.132 OS_ERR_INV_CSEMA Control block for counting semaphore invalid, notinitialized or overwritten.133 OS_ERR_INV_RSEMA Control block for resource semaphore invalid, notinitialized or overwritten.135 OS_ERR_MAILBOX_NOT1 One of the following 1-byte mailbox functions has beenused on a multi- byte mailbox:OS_PutMail1()OS_PutMailCond1()OS_GetMail1()OS_GetMailCond1().136 OS_ERR_MAILBOX_DELETE OS_DeleteMB() was called on a mailbox with waitingtasks.137 OS_ERR_CSEMA_DELETE OS_DeleteCSema() was called on a countingsemaphore with waiting tasks.138 OS_ERR_RSEMA_DELETE OS_DeleteRSema() was called on a resourcesemaphore which is claimed by a task.140 OS_ERR_MAILBOX_NOT_IN_LIST The mailbox is not in the list of mailboxes as expected.Possible reasons may be that one mailbox data structurewas overwritten.142 OS_ERR_TASKLIST_CORRUPT The OS internal tasklist is destroyed.150 OS_ERR_UNUSE_BEFORE_USE OS_Unuse() has been called before OS_Use().151 OS_ERR_LEAVEREGION_BEFORE_ENTERREGIONOS_LeaveRegion() has been called beforeOS_EnterRegion().152 OS_ERR_LEAVEINT Error in OS_LeaveInterrupt().153 OS_ERR_DICNT The interrupt disable counter (OS_DICnt) is out of range(0-15). The counter is affected by the following API calls:OS_IncDI()OS_DecRI()OS_EnterInterrupt()OS_LeaveInterrupt()154 OS_ERR_INTERRUPT_DISABLED OS_Delay() or OS_DelayUntil() called from insidea critical region with interrupts disabled.160 OS_ERR_ILLEGAL_IN_ISR Illegal function call in an interrupt service routine:A routinethat may not be called from within an ISR has been calledfrom within an ISR.161 OS_ERR_ILLEGAL_IN_TIMER Illegal function call in an interrupt service routine:A routinethat may not be called from within a software timer hasbeen called from within a timer.170 OS_ERR_2USE_TASK Task control block has been initialized by calling a createfunction twice.171 OS_ERR_2USE_TIMER Timer control block has been initialized by calling a createfunction twice.172 OS_ERR_2USE_MAILBOX Mailbox control block has been initialized by calling acreate function twice.173 OS_ERR_2USE_BSEMA Binary semaphore has been initialized by calling a createfunction twice.Table 128: Error code list124<strong>IAR</strong> <strong>PowerPac</strong> <strong>RTOS</strong>for ARM CoresPP<strong>RTOS</strong>-2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!