Release notes for embOS Version 3.32o for National Semiconductor CR16C and IAR compiler
- Tool chain used for build
- New features
- Program corrections
- Known problems/limitations
- Release history
Tool chain used for build
The following tools have been used:
Compiler: IAR ICCCR16C V2.11a
Assembler: IAR ACR16C V2.11a
Librarian: IAR XAR V1.03L
Workbench: IAR IARIDE V4.6B
- OS_TimerEx, Extended timer implemented
Extended timers are software timers which call a user defined callback function when the timer expires.
In comparison to normal embOS timers, a parameter is passed to the timer callback function.
The parameter value is initialized during timer creation.
OS_EnterIntStack() and OS_LeaveIntStack are implemented to safe space on task stack.
First version. None.
- Automatic call of OS_INIT_SYS_LOCKS() removed.
During initialization of embOS, OS_INIT_SYS_LOCK() is not called automatically.
As most of the applications do not need thread safe system libraries, an automatic activation of syslocks causes unwanted overhead.
If supported and required, the user may call OS_INIT_SYS_LOCKS() from his own application after normal initialization of embOS.
- OS_Unuse() corrected
OS_Unuse() must not be called from a task that does not claim the resource semaphore.
According to the documentation, the debug build of embOS should generate a call to OS_Error() if this fault happens.
All previous versions of embOS did not call OS_Error().
Now, OS_Error() will be called in that situation with error code 156: OS_ERR_RESOURCE_OWNER().
- Enter-/LeaveIntStack corrected
A word access to a byte variable caused errors
- Stack switch corrected
Interrupts must be disabled while counter for default stack is changed and
stackpointer is set to default stack.
- OS_EVENT_Delete() corrected
OS_EVENT_Delete() did not work correctly. OS_LeaveRegion() was called inside the function without calling OS_EnterRegion() bfore.
In debug builds of embOS, the error handler OS_Error() was called with error 151 (OS_ERR_LEAVEREGION_BEFORE_ENTERREGION).
In release builds the system was blocked because the underflow of region count inhibts all further task switches, or system crashes, because incrementing the region count the next time allows task switches instead of blocking them.
The problem existed in all previous versions and is fixed with version 3.32l.
- Round-robin task switching corrected.
Round robin task switching did not work correctly in previous version. A task which was blocked for some reason could be activated. The system crashed during task switch.
The problem existed since version 3.32j and is fixed with version 3.32l.
- Handler function _OS_OnTx() for serial communication to embOSView corrected.
The transmission handler for communication with embOSView might have sent incorrect data to embOSView, because internal control state was updated after sending the data.
The problem occurred on a new embOS port for a specific CPU only and is fixed with version 3.32k.
||30. Apr 2007
||OS_Unuse() error handling improved.
||02. Apr 2007
||Stack switch corrected.
||28. Mar 2007
||Round robin switching corrected.
||01. Mar 2007
||First version with release history
This document was first released with version 3.32j of
Software released earlier is documented internally. This information is
available at request.
Copyright 2001-2007 SEGGER Microcontroller Systeme GmbH. All rights reserved.
For more information, please visit our website www.segger.com or contact us at firstname.lastname@example.org