The Embedded Experts

Release notes for embOS V5.02a for Cortex-M and IAR compiler V8.x

Tool chain used for build

Compiler: IAR ANSI C/C++ Compiler V8.11.1.13263/W32 for ARM
Assembler: IAR Assembler V8.11.1.13263/W32 for ARM
Linker: IAR ELF Linker V8.11.1.13263/W32 for ARM
Librarian: IAR Archive Tool V10.1.4.185
Workbench: IAR Embedded Workbench for ARM 8.11.1.13272

Version 5.02a [25. Jul 2018]

New Features

  1. Update to latest embOS generic sources V5.02a.

Version 5.00a [22. May 2018]

New Features

  1. Update to latest embOS generic sources V5.00a.
  2. Board support packages added for:
    NXP FRDM-KV31F
    NXP MIMXRT1050 EVK
    ST STM32H743ZI Nucleo

Version 4.40 [04. Jan 2018]

New Features

  1. Update to latest embOS generic sources V4.40.

Version 4.38 [28. Sep 2017]

New Features

  1. Update to latest embOS generic sources V4.38.
  2. Board support package for the Silicon Labs (Energy Micro) Giant Gecko Series 1 Starter Kit added.
  3. Board support package for the Segger Cortex-M Trace Reference Board added.

Version 4.36 [21. Jul 2017]

New Features

  1. Update to latest embOS generic sources V4.36.

Version 4.34.1 [13. Apr 2017]

New Features

  1. Update to IAR Embedded Workbench for ARM V8.11.

Version 4.34 [27. Mar 2017]

New Features

  1. Update to latest embOS generic sources V4.34.
  2. Update to IAR Embedded Workbench for ARM V8.10.

Version 4.30 [13. Dec 2016]

New Features

  1. Update to latest embOS generic sources V4.30.
  2. Board support package for the NordicSemi nRF52 Preview Development Kit added.
  3. Board support package for the TI MSP432P401R LaunchPad Development Kit added.

Version 4.26.1 [17. Nov 2016]

Improvements

  1. Ensured suitability of SEGGER SystemView and SEGGER HardFault Handler for C++ compilers.

Version 4.26 [27. Oct 2016]

New Features

  1. Update to latest embOS generic sources V4.26.
  2. Board support package for the NXP LPC1549 Xpresso v2 eval board added.
  3. Board support package for the SiliconLabs EZR32 Leopard Gecko added.
  4. Board support package for the STMicro STM32F767 added.

Improvements

  1. Modified workaround for Cortex-M7 r0p1 (Erratum 837070, ARM-EPM-064408) to be user-configurable at compile time.

Program corrections

  1. Corrected automatic state preservation during OS_Idle() with Cortex M4F/M7.
    Under certain circumstances, automatic state preservation and restoration could erroneously be enabled during OS_Idle(). The problem existed in version 4.22 of embOS for Cortex-M and IAR and is fixed with version 4.26.

Version 4.22 [31. May 2016]

New Features

  1. Update to latest embOS generic sources V4.22.
  2. VFP register handling is now automatically performed by embOS.
    embOS API functions OS_ExtendTaskContext_VFP(), OS_VFP_Save(), OS_VFP_Restore(), and OS_ExtendTaskContext_TLS_VFP() are deprecated.
    Compatibility with older embOS versions is ensured through macro definitions.
  3. Board support package for the Atmel SAM4E-EK eval board added.
  4. Board support package for the STMicro STM32L152C Discovery board added.

Improvements

  1. Additional debug check added to detect tasks that end without termination.

Program corrections

  1. Applied workaround for interrupt handling with Cortex-M7 r0p1.
    Erratum 837070, ARM-EPM-064408: Increasing priority using a write to BASEPRI does not take effect immediately. An appropriate workaround was applied.
    The problem, which is exclusive for Cortex-M7 r0p1, existed on all previous versions of embOS for Cortex-M and IAR and is fixed with version 4.22.

Version 4.16 [24. Mar 2016]

New Features

  1. Update to latest embOS generic sources V4.16.
  2. Board support package for the NXP (Freescale) FRDM_K22F board added.
  3. Board support package for the Olimex STM32-P407 evalboard added.
  4. Board support package for the Segger emPower evalboard added.
  5. Board support package for the STMicro STM32L476 Discovery board added.
  6. Board support package for the TI TMS470M Development Kit added.

Improvements

  1. Further improved Hardfault Handler for all projects.

Program corrections

  1. Big-endian libraries fixed.
    Big-endian libraries contained little-endian code by mistake.
    The problem existed on all previous versions of embOS for Cortex-M and IAR and is fixed with version 4.16.
  2. Task switch fixed.
    The task switch fix introduced in V4.04a2 could fail under unlikely circumstances on Cortex-M3/M4 targets.
    A task which was suspended by a cooperative task switch was not activated at once, but with the next system tick at the latest.

Version 4.14 [22. Dec 2015]

New Features

  1. Update to latest embOS generic sources V4.14.
  2. Added Segger Real-Time Transfer (RTT) to all projects.
    Additional information on Segger RTT is available at www.segger.com.
  3. Added Segger SystemView to all projects.
    The Segger SystemView User Guide is available at www.segger.com.
  4. Board support package for the Freescale Kinetis K26 added.
  5. Board support package for the STMicro STM32F746G Discovery board added.

Improvements

  1. Improved HardFault Handler added to all projects.

Version 4.12a [17. Sep 2015]

New Features

  1. Update to latest embOS generic sources V4.12a.
  2. Board support package for the STMicro STM32F401xC Discovery board added.

Version 4.10 [04. May 2015]

New Features

  1. Update to latest embOS generic sources V4.10.

Version 4.06b [31. Mar 2015]

New Features

  1. Update to latest embOS generic sources V4.06b.

Version 4.06a [18. Mar 2015]

New Features

  1. Update to latest embOS generic sources V4.06a.
  2. Board support package for the Freescale TWR-VF6 added.

Program corrections

  1. OS_EnterRegion() fixed.
    Under specific circumstances IAR could remove OS_EnterRegion() when compiling with high optimization.
    This could cause that the preemptive task switch was not disabled even when OS_EnterRegion() was called.
    The problem existed on all previous versions of embOS for Cortex-M and IAR and is fixed with version 4.06a.

Version 4.04a2 [04. Mar 2015]

New Features

  1. Board support package for the Atmel SAMV71 XPlainedUltra added.

Program corrections

  1. Task switch fixed.
    A problem with the task switch could cause that a task was not activated at once when it was triggered by an interrupt.
    The problem existed on all previous versions of embOS for Cortex-M and IAR and is fixed with version 4.04a2.

Version 4.04a1 [03. Feb 2015]

New Features

  1. Board support package for the STMicro STM32F756G-Eval board added.

Program corrections

  1. embOS libraries fixed.
    The embOS libraries were built with a 256 kByte code size limitation by mistake.
    The problem existed since V4.04a of embOS for Cortex-M and IAR and is fixed with version 4.04a1.

Version 4.04a [09. Jan 2015]

New Features

  1. Update to latest embOS generic sources V4.04a.

Version 4.02a [18. Sep 2014]

New Features

  1. Update to latest embOS generic sources V4.02a.

Version 4.02.1 [15. Sep 2014]

Program corrections

  1. OS_LeaveNestableInterrupt() fixed.
    A problem with OS_LeaveNestableInterrupt() could cause that a task switch was not executed when triggered by an interrupt routine which interrupted another interrupt routine.
    The problem existed on all previous versions of embOS for Cortex-M and IAR and is fixed with version 4.02.1.

Version 4.02 [19. Aug 2014]

New Features

  1. Update to latest embOS generic sources V4.02.

Version 4.00 [13. Jun 2014]

New Features

  1. Update to latest embOS generic sources V4.00.
  2. Board support package for the STMicro STM32F072 added.

Version 3.90.1 [24. Mar 2014]

New Features

  1. Board support package for the Atmel SAMG53 added.
  2. Board support package for the Atmel SAMG54 added.

Version 3.90 [19. Jan 2014]

New Features

  1. Update to latest embOS generic sources V3.90.
  2. Start projects and assembly files updated for IAR Embedded Workbench for ARM V7.10.

Version 3.88g2 [12. Jan 2014]

New Features

  1. Board support package for the STMicro LIS331 added.
  2. Board support package for the TI TM4C129 added.

Program corrections

  1. Start projects for Cortex-M0 devices corrected.
    The start projects for Cortex M0 devices had code for variable vector tables and programming the VTOR register implemented.
    Cortex M0 devices don't support a variable vector table, the vector table has to be located at address 0x0.
    Code for programming the VTOR register is removed from the RTOSInit files now.
    This correction affects the start projects for the following CPUs:
    Freescale KL25
    Infineon UMF51x
    NXP LPC 1000
    NXP LPC 122x
    ST STM32F05
    The problem existed on all previous versions of embOS for Cortex-M and IAR and is fixed with version 3.88g2.

Version 3.88g1 [17. Dec 2013]

New Features

  1. Board support package for the IAR STM32F429_SK board added.
  2. Board support package for the STMicro STM32F429 discovery board added.

Version 3.88g [05. Nov 2013]

New Features

  1. Update to latest embOS generic sources V3.88g.

Version 3.88c [13. Aug 2013]

New Features

  1. Update to latest embOS generic sources V3.88c.

Program corrections

  1. OS_Start() fixed.
    A problem with OS_Start() could cause that embOS did not start.
    The problem existed on all previous versions of embOS Cortex M IAR and is fixed with version 3.88c.

Version 3.88b [29. May 2013]

New Features

  1. Update to latest embOS generic sources V3.88b.

Program corrections

  1. Scheduling fixed.
    A problem with the scheduler could cause that a task not in ready state was not suspended and continued running.
    Higher priority tasks were blocked even when they were ready to execute.
    The problem existed on all previous versions of embOS Cortex M IAR and is fixed with version 3.88b.

Version 3.86n [10. Dec 2012]

New Features

  1. Update to latest embOS generic sources V3.86n.
  2. Thread safe system library support with compiler 6.4 or newer described.
    Activation of thread safe system library support with IAR compiler 6.4 or newer requires additional linker options which are now described in the compiler and CPU specific manual.

Program corrections

  1. Thread safe system locking functions modified.
    A problem was reported which occurred when the application was ended without starting embOS.
    When thread safe system locks were initialized during main(), the destroy function of the system locks might have crashed when the application run to exit without starting embOS before.
    The modified destroy function of the embOS syslocks now is not called when embOS was not started before, because there is nor need to destroy the syslocks in this case.

Version 3.86l [26. Nov 2012]

New Features

  1. Update to latest embOS generic sources V3.86l.
  2. Board support package for the Atmel AT91SAM3X-EK added.
  3. Board support package for the Freescale TWR-KL25 added.
  4. Board support package for the IAR STM32F051R8-SK evalboard added.
  5. Board support package for the Infineon XMC4500 Hexagon Application Kit added.
  6. Board support package for the Infineon XMC4500 Relax Lite Kit added.
  7. Board support package for the Keil MCB4357 evalboard (NXP LPC4357) added.
  8. Board support package for the NXP LPC4088 Embedded Artists evalboard added.

Version 3.86g [06. Aug 2012]

New Features

  1. Update to latest embOS generic sources V3.86g.

Improvements

  1. Nested interrupt handling improved.
    Unnecessary enabling and disabling of interrupts removed from OS_EnterNestableInterrupt() and OS_LeaveNestableInterrupt().
    Thus, interrupt handling of nested interrupts runs faster.

Version 3.86f [26. Jul 2012]

New Features

  1. Update to latest embOS generic sources V3.86f.
  2. Task events are 32bits wide
    With embOS version 3.86f, the task events for 32bit CPUs are 32bit wide now, allowing more individual events sent to tasks.

Version 3.86e [08. Jun 2012]

New Features

  1. Update to latest embOS generic sources V3.86e.

Improvements

  1. Modified HardFault handler
    The HardFault handler was modified and is now included in the RTOSInit files.
    When semihosting for terminal outputs is activated in the project settings, printf outputs are controlled by break instructions in the code.
    If the CPU is started in normal mode without debugger, the break instruction will force a HardFault exception.
    The new HardFault handler in RTOSInit detects this state, resets the HardFault condition and continues execution of the application.
    The previuos implementation did not handle the HardFault correctly. The application or the calling task ran in an endless loop.

Version 3.86d [10. May 2012]

New Features

  1. Update to latest embOS generic sources V3.86d.

Improvements

  1. OS_EnterNestableInterrupt() improved
    A needless call of enable interrupt function removed. Execution speed improved.

Program corrections

  1. OS_ExtendTaskContext_TLS_VFP() corrected.
    The previous version of this function did not work correctly.
    Saving the task context desroyed the task stack.
    The problem existed on all previous versions of embOS for Cortex M4F and is fixed with version 3.86d of embOS.

Version 3.84d [30. Apr 2012]

New Features

  1. Update to latest embOS generic sources V3.84d.

Version 3.84c1 [03. Feb 2012]

Program corrections

  1. Scheduling for Cortex M4 with VFP corrected.
    The previous versions of embOS for Cortex M4 with VFP crashed when the VFP was activated and used by multiple tasks.
    Initialization for VFP and scheduling was modified to fix the problem.
    The problem existed on Cortex M4 applications with activated VFP only and is fixed with version 3.84c1 of embOS.

Version 3.84c [18. Jan 2012]

New Features

  1. Update to latest embOS generic sources V3.84c.
  2. Board support package for the Hitex NXP LPC1850 eval board added.
  3. Board support package for the IAR Fujitsu MB9BF618T SK eval board added.
  4. Board support package for the Freescale Tower K70 eval board added.
  5. Board support package for the Toshiba Topas TMPM369 eval board added.

Program corrections

  1. OS_Start() corrected.
    A hard fault exception could occur when an interrupt is executed after OS_Start() and before the scheduler runs for the first time.

Version 3.84.1 [04. Nov 2011]

New Features

  1. embOS plugin for CSpy supports Cortex M4F
    The new embOS IAR plugin version 6.0.6.7 delivered with embOS V3.84.1 now supports task sensitive call stack for Cortex M4 CPUs with floating point unit.
    Previous versions of the plugin can be used, but did not show the task sensitive call stack.

Improvements

  1. Fully interruptible stack layout for OS_Idle()
    The embOS stack management for Cortex M now uses the main stack as stack for OS_Idle which allows fully interruptible usage of the stack in OS_Idle(). The previous versions of embOS for Cortex M did not allow usage of the stack in OS_Idle().

Version 3.84 [27. Oct 2011]

New Features

  1. Update to latest embOS generic sources V3.84.
  2. Support for Cortex M4F with floating point unit added.
  3. Board support package for the Energy Micro EFM32-GG990-DK eval board added.
  4. Board support package for the IAR STM32F207-SK eval board added.
  5. Board support package for the NXP LPC1788_EA eval board added.
  6. Board support package for the NXP LPC1788_uEZGUI eval board added.
  7. Board support package for the NXP LPC1788-SK eval board added.
  8. Board support package for the STMicro STM32F457IG-Discovery eval board added.
  9. Board support package for the STMicro STM32F457IG-Eval eval board added.

Version 3.82u [05. Jul 2011]

New Features

  1. Update to latest embOS generic sources V3.82u.
  2. Board support package for the IAR STM32L152VB-SK eval board added.

Version 3.82s [23. Mar 2011]

New Features

  1. Update to latest embOS generic sources V3.82s.
  2. New library mode (DPL: debug and profiling with low optimization) added.
  3. Board support package for the Fujitsu MB9BF506 SK FM3 100PMC evalboard added.
  4. Board support packages for various EFM32 devices added.
  5. Board support packages for various STM32 devices added.

Version 3.82m [24. Nov 2010]

New Features

  1. Update to latest embOS generic sources V3.82m.
  2. Support for Cortex-M4 added.
  3. Support for embOSView via J-Link for Cortex-M0 added.
  4. Board support packages for various Freescale Kinetis devices added.
  5. Board support packages for various EnergyMicro devices added.

Program corrections

  1. Queue management corrected.
    Queue management failed when the Q-buffer was filled up to the end. This might have happened, when messages are produced faster then they were consumed.
    The OS_Q_Purge() and OS_Q_Put() functions did not handle this case correctly and caused the queue to be corrupted.
    OS_Error() might have been called with error number 143, or OS_Q_GetPtr() might have returned with a wrong message size or a message zize of 0.
    The problem existed since version 3.82k of embOS and is fixed with version 3.82m.

Version 3.82l [25. Oct 2010]

New Features

  1. Update to latest embOS generic sources V3.82l.
  2. Update to IAR Embedded Workbench for ARM V6.x.
  3. Thread local storage supported.
    embOS for Cortex-M and IAR compiler now supports the thread local storage implementation of the new IAR dlib V6.

Version 3.82h1 [21. Jul 2010]

New Features

  1. embOS Cortex-M3 and embOS Cortex-M0 are merged to embOS Cortex-M.

Version 3.82h [31. May 2010]

New Features

  1. Update to latest embOS generic sources V3.82h.
  2. Profiling with embOSView via J-Link
    All embOS start projects and the embOS libraries were modified to allow communication with embOSView via J-Link.
    The new embOSView version 3.82g allows selection of a communication to a Cortex M3 using J-Link with JTAG or SWD interface.
    The communication to embOSView starts after the call of OS_Start() and can be used in parallel with a debugging session which uses J-Link as debugging probe.
  3. Fully CMSIS compliant projects
    All start projects of embOS for Cortex-M3 are now fully CMSIS compliant.
    The projects come with new startup code and vector tables which are fully CMSIS compliant.
    When CMSIS shall be used for the application, the chip specific CMSIS startup code and vector tables can be used.
    CMSIS libraries of the chip vendor are not required to run embOS, embOS can be used as is.
  4. Generic project for arbitrary Cortex-M devices using CMSIS added.

Version 3.82e2 [10. Feb 2010]

New Features

  1. CMSIS compliant scheduler call implemented
    The embOS scheduler function was renamed to be fully CMSIS compliant.
    Target CPU specific CMSIS libraries may be used together with embOS now.
    There is no need to modify the vector tables which come with the CMSIS libraries.
  2. Board support package for the ATMEL AT91SAM3S added.

Version 3.82e1 [09. Jan 2010]

New Features

  1. Projects for LPC176x updated.
    The debugger configuration settings of previous versions caused some trouble when the target should be accessed with J-Link.

Version 3.82e [28. Jan 2010]

New Features

  1. Update to latest embOS generic sources V3.82e.
  2. CMSIS compliant board support package for the STM32/MB672.

Version 3.82c [10. Dec 2009]

New Features

  1. Update to latest embOS generic sources V3.82c.
  2. Profiling support added to STM32 MB784 board support package.
  3. Board support package for the Toshiba TMPM330 added.
  4. All projects have now remarks enabled.

Version 3.80h [06. Aug 2009]

New Features

  1. Update to latest embOS generic sources V3.80h.

Program corrections

  1. BSP for AT91SAM3U corrected.
    The previous versions of the initialization code for the AT91SAM3U did not initialize the second Flash memory controller for devices with 256KB Flash.
    This resulted in Flash read errors when the Flash memory in the second Flash bank was accessed.

Version 3.80g3 [14. Jul 2009]

New Features

  1. Project for AT91SAM3U runs with IAR flashloader
    The embOS start project for the AT91SAM3U CPU was modified to run with the Flasherloader which comes with the latest IAR workbench (EW-ARM 5.40.
    The flashloader can be used with any J-link version, but the project requires version 5.40 or later of the IAR workbench.
    EW-ARM 5.40 is the first version that supports the AT91SAM3U.

Program corrections

  1. Systick timer initialization corrected
    The previous version V3.80g2 of embOS for Cortex-M3 still affected the SYSTICK timer settings during a call of OS_InitKern().
    The Systick timer was disabled.
    Now the systick timer initialization is completely done during OS_InitHW() and can therefore be modified if required by the application.

Version 3.80g2 [09. Jul 2009]

New Features

  1. Board support package for the IAR LPC1766-SK added.
  2. Board support package for the STMicro STM32F107 added.

Improvements

  1. Systick timer initialization modified
    The SYSTICK timer is normally used as system timer for embOS. Previous versions of embOS for Cortex-M3 initialized the interrupt priority during the system initialization called from OS_InitKern().
    Now the systick timer initialization is completely done during OS_InitHW() and can therefore be modified if required by the application.
    By modification of OS_InitHW(), any peripheral timer may be used as system timer for embOS, leaving the systick timer untouched.

Version 3.80g1 [09. Jul 2009]

Improvements

  1. Code modified to avoid warnings
    Some compile time switches were not predefined in some projects and therefore produced a warning when remarks were enabled.
    This did not cause any problem, but might have been confusing.

Version 3.80g [05. Jun 2009]

New Features

  1. Update to latest embOS generic sources V3.80g.
  2. Scheduling optimized
    Update to new embOS version 3.80 with optimized internal data structures to speed up scheduling and task switches.
    The new embOS version requires the C-Spy plugin V3.80 or later. The plugin comes with embOS.
  3. New embOS plugin with task sensitivity
    embOS version 3.80g for Cortex M3 now comes with the new embOS IAR plugin V3.80.1 for C-Spy which supports task sensitivity for Cortex M3.
    Task sensitivity is supported since embOS version 3.62c.
    Previous versions of embOS for Cortex M3 can be used with the new plugin, but do not support the task sensitivity.
  4. Board support package for the ATMEL AT91SAM3U added.
  5. Board support package for the NXP LPC176x added.

Version 3.62 [01. Oct 2008]

New Features

  1. Update to latest embOS generic sources V3.62.
  2. Update to IAR Embedded Workbench for ARM V5.20.

Version 3.60d [05. Jun 2008]

New Features

  1. Update to latest embOS generic sources V3.60d.
  2. OS_POWER module implemented.
    The OS_POWER module may be used to control different power saving modes when entering idle state.
    Individual flags for different peripherals may be set whenever a peripheral needs power or clock, and may be reset, when power is not needed.
    The state of the power flags may be examined during OS_Idle by a call of OS_POWER_GetMask().
    This allows to switch off all of those peripherals which are not needed during idle times.
  3. Board support package for the STMicro MB525 Eval board added.
  4. Board support package for the STMicro MB672 Eval board added.
  5. Board support package for the IAR STM-SK Eval board renamed to STM32F103_STM_SK.

Version 3.60a [12. Mar 2008]

New Features

  1. Update to latest embOS generic sources V3.60a.

Version 3.60 [11. Jan 2008]

New Features

  1. Update to latest embOS generic sources V3.60.

Improvements

  1. IAR Embedded Workbench for ARM V5.11 compatibility
    embOS for CM3 for IAR V511 is now compatible with IAR Embedded Workbench for ARM V5.11.

Version 3.52e1 [21. Dec 2007]

Program corrections

  1. OS_TaskEx corrected
    Parameter passing to OS_TaskEx did not work. A task always received a NULL pointer. The problem existed in all previous embOS versions for CM3 and is fixed with version 3.52e1.

Version 3.52e [29. Nov 2007]

New Features

  1. Update to latest embOS generic sources V3.52e.
  2. OS_SetTaskName() introduced
    OS_SetTaskName() allows modification of task names on the fly.
    This may be useful if the functionality of a task changes during runtime and the new state should be shown using embOSView or an other task visualisation tool.

Improvements

  1. All embOS variables located in one module.
    All embOS variables are located in one module now. In previous versions of embOS, some module specific embOS variables were located in the module they were used for.

Program corrections

  1. Interrupt table in RAM corrected
    Variable interrupt table in RAM did not work correct.
  2. OS_SendString() corrected.
    When sending an empty string, the calling task was suspended forever.
    The problem existed in all previous embOS versions and is fixed with version 3.52e.
  3. embOSView corrected.
    When the update interval of embOSView was set to 200ms or a longer value, the reaction of user input or mouse events was blocked for the same time.
    The problem existed since version 3.32 of embOSView and is fixed with version 3.52e.

Version 3.52a [17. Sep 2007]

New Features

  1. Update to latest embOS generic sources V3.52a.
  2. Task switch time can be measured by application
    embOS now comes with sample applications which allow accurate measurement of task switch time in a running application.
  3. Board support package for the Luminary Micro LM3S1968 added.
  4. Board support package for the Luminary Micro LM3S8962 added.

Improvements

  1. Scheduler optimized
    The embOS scheduler was optimized to reduce task switching time and interrupt latencies.
  2. OS_Yield() now writes an entry into the trace buffer
    When using the debug library with trace capabilities, OS_Yield() writes an entry into the trace buffer which shows the function call and the calling task.
    embOSView version 3.40d is required to show this entry.
  3. Task switch to OS_Idle() modified.
    The call of OS_Idle() from OS_ChangeTask can be overwritten (inhibited) by defining the macro OS_IDLE() which is normally defined as OS_Idle().
    This allows task switching via an exception for specific CPU/compiler versions.
  4. Pointer comparison improved for fixed size memory pools (OS_MEMF module).
    Some compiler produced wrong pointer comparison code in far memory model.
    For specific CPU/compiler versions, the new OS_POINTER_TO_VALUE() function was introduced to deliver correct results in pointer comparison.

Program corrections

  1. OS_Suspend() corrected
    When using the debug library with trace capabilities, a call of OS_Suspend() wrote a wrong trace code into the trace buffer.
    Instead of writing the code for task suspension, the code for task termination was written.
    The function itself worked correctly, only the data written into the trace buffer was wrong.
    The problem existed in all previous embOS versions and is fixed with version 3.40d.

Version 3.40c [28. Jun 2007]

New Features

  1. Update to latest embOS generic sources V3.40c.
  2. OS_Yield() may suspend a task unconditionally
    When tasks are running on round robin with timeslice, the function OS_Yield() can be used to end the timeslice of the running task immediately and activate an other task with the same priority which is ready for execution. The function has no effect on tasks that are not running on round robin.
  3. UART and PLL added
    Uart and PLL initialization to BSP added.

Improvements

  1. Queue management improved.
    For some CPUs, the buffer start address for Queues has to be aligned. Now embOS automatically corrects the alignment, if required.

Version 3.40a [05. Jun 2007]

New Features

  1. Update to latest embOS generic sources V3.40a.
  2. Board support package for the STMicro STM32F10 added.

Improvements

  1. Counting semaphores improved.
    Counting semaphores are now int values and an overflow will be caught, so that embOS runs into OS_Error().

Version 3.40 [24. May 2007]

New Features

  1. Update to latest embOS generic sources V3.40.
  2. 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.
  3. 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.

Improvements

  1. Task switch time improved.
    Scheduling optimized to improve task switch time.
  2. Task switch time improved for task events.
    Task event handling modified to improve task switch time for tasks waiting on events.
  3. Interrupt latency improved.
    During task switch, the time period when interrupts are disabled is reduced.
  4. embOS timer tick handler improved.
    The standard timer tick handler run faster now. The embOS internal time variable is incremented by 1 on every timer tick.
    When different increments are required, the new timer tick handler OS_HandleTick_Ex(), OS_TickHandler_Ex() or OS_HandleTickDI_Ex() have to be used by application.
    Different increments may be configured by a call of OS_CONFIG().

Program corrections

  1. 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().
  2. 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 inhibits 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.
  3. 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.
  4. 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.

Version 3.32j [06. Jan 2007]

New Features

  1. Update to latest embOS generic sources V3.32j.