Release notes for embOS Version 4.30 for Cortex-M and IAR compiler V6.x and V7.x

  1. Tool chain used for build
  2. New features
  3. Improvements
  4. Program corrections
  5. Known problems/limitations
  6. Release history
  7. Miscellaneous

Tool chain used for build

The following tools have been used:

Compiler:  IAR C/C++ Compiler for ARM 6.50.5.4819
Assembler: IAR Assembler for ARM 6.50.5.4819
Librarian: IAR Archive Tool 9.13.10.84
Workbench: IAR Embedded Workbench for ARM 6.50.5.4862

New features

Version 4.30

  1. Update to latest embOS generic sources V4.30.
  2. New start project for the NordicSemi nRF52 Preview Development Kit added.
  3. New start project for the TI MSP432P401R LaunchPad Development Kit added.

Version 4.26

  1. Update to latest embOS generic sources V4.26.
  2. New start project for the NXP LPC1549 Xpresso v2 eval board added.
  3. New start project for the SiliconLabs EZR32 Leopard Gecko added.
  4. New start project for the ST STM32F767 added.

Version 4.22

  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. New start project for the Atmel SAM4E-EK eval board added.
  4. New start project for the ST STM32L152C Discovery board added.

Version 4.16

  1. Update to latest embOS generic sources V4.16.
  2. New start project for the Freescale FRDM_K22F board added.
  3. New start project for the Olimex STM32-P407 evalboard added.
  4. New start project for the SEGGER emPower evalboard added.
  5. New start project for the ST STM32L476 Discovery board added.
  6. New start project for the TI TMS470M Development Kit added.

Version 4.14

  1. Update to latest embOS generic sources V4.14.
  2. New start project for Freescale Kinetis K26 added.
  3. New start project for ST STM32F746G-Discovery added.
  4. Added Segger SystemView to all projects.
    The Segger SystemView User Guide is available at www.segger.com.

Version 4.12a

  1. Update to latest embOS generic sources V4.12a.
  2. New start project for ST STM32F401xC-Discovery eval board added.

Version 4.10

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

Version 4.06b

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

Version 4.06a

  1. Update to latest embOS generic sources V4.06a.
  2. New start project for Freescale TWR-VF6 added.

Version 4.04a2

  1. New start project for Atmel SAMV71 XPlainedUltra evalboard added.

Version 4.04a1

  1. New start project for ST STM32F756G-Eval added.

Version 4.04a

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

Version 4.02a

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

Version 4.02

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

Version 4.00

  1. Update to latest embOS generic sources V4.00.
  2. New start project for ST STM32F072 added.

Version 3.90.1

  1. New project for Atmel SAMG53 added.
    embOS for Cortex M and IAR compiler now comes with a start project for Atmel SAMG53 CPU.
    The start project is prepared to run on the Atmel SAMG53 Xplained Pro starter board.
    The start project can be downloaded into the internal flash of the CPU using the on-board CMSIS-DAP and CSpy.
  2. New project for Atmel SAMG54 added.
    embOS for Cortex M and IAR compiler now comes with a start project for Atmel SAMG53 CPU.
    The start project is prepared to run on the Atmel SAMG53 Xplained Pro starter board.
    The start project can be downloaded into the internal flash of the CPU using the on-board CMSIS-DAP and CSpy.

Version 3.90

  1. Update to latest embOS generic sources V3.90.
    All new features and modifications of the new embOS version are described in the generic release notes and manual.
  2. Start projects and assembly files updated for EWARM 7.10
    Start projects and assembly files can now be used with the new EWARM version 7.10. without errors or warnings.
    All projects can still be used with the older IAR embedded workbench V6.

Version 3.88g2

  1. New project for ST LIS331 CPU.
    embOS for Cortex M and IAR compiler now comes with a start project for the ST LIS331 CPU.
    The start project is prepared to be downloaded into the internal flash of the CPU using J-link or ST-LINK.
    A support package for the IAR workbench is required. This can be received from ST on request.
  2. New project for TI TM4C129.
    embOS for Cortex M and IAR compiler now comes with a start project for the TI TM4C129 CPU.
    The start project was built for the TI TM4C129 development kit and is prepared to be downloaded into the internal flash of the CPU.

Version 3.88g1

  1. New project for ST STM32F429 discovery board added.
  2. New project for IAR STM32F429_SK board added.

Version 3.88g

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

Version 3.88c

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

Version 3.88b

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

Version 3.86n

  1. 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.
  2. New embOS sources V3.86n.
    All new features and modifications of the new embOS version are described in the generic release notes and manual.

Version 3.86l

  1. New embOS sources V3.86l.
    All new features and modifications of the new embOS version are described in the generic release notes and manual.
  2. New start project for Atmel AT91SAM3X-EK added.
  3. New start project for Freescale TWR-KL25 added.
  4. New start project for Infineon XMC4500 Hexagon Application Kit added.
  5. New start project for Infineon XMC4500 Relax Lite Kit added.
  6. New start project for NXP LPC4088 Embedded Artists evalboard added.
  7. New start project for Keil MCB4357 evalboard (NXP LPC4357) added.
  8. New start project for IAR STM32F051R8-SK evalboard added.

Version 3.86g

  1. New embOS sources V3.86g.
    All new features and modifications of the new embOS version are described in the generic release notes and manual.

Version 3.86f

  1. New embOS sources V3.86f.
    All new features and modifications of the new embOS version are described in the generic release notes and manual.
  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

  1. New embOS sources V3.86e.
    All new features and modifications of the new embOS version are described in the generic release notes and manual.

Version 3.86d

  1. New embOS sources V3.86d.
    All new features and modifications of the new embOS version are described in the generic release notes and manual.

Version 3.84c

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

Version 3.84.1

  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.

Version 3.84

  1. Support for Cortex M4F with floating point unit added.
  2. New start project for the Energy Micro EFM32-GG990-DK eval board.
  3. New start project for the NXP LPC1788_EA eval board.
  4. New start project for the NXP LPC1788_uEZGUI eval board.
  5. New start project for the NXP LPC1788-SK eval board.
  6. New start project for the IAR STM32F207-SK eval board.
  7. New start project for the ST STM32F457IG-Eval eval board.
  8. New start project for the ST STM32F457IG-Discovery eval board.
  9. Update to latest embOS generic sources V3.84.
    New generic features of the version 3.84 are described in the embOS generic release notes file Release_Generic.html

Version 3.82u

  1. New start project for the IAR STM32L152VB-SK eval board.
    The embOS version 3.82u for IAR compiler V6 and Cortex-M now comes with start projects for the IAR STM32L152VB-SK eval board.
    The sample project can be downloaded into the CPUs Flash using J-Link.
    The sample project was built with the latest IAR workbench V6.20 and uses CMSIS.
  2. Update to latest embOS generic sources V3.82u.
    New features of the version 3.82u are described in the embOS generic release notes file Release_Generic.html

Version 3.82s

  1. Update to latest embOS generic sources V3.82s.
  2. New library mode DPL added.
  3. New start projects for STM32 devices added.
    The embOS version 3.82s for IAR compiler V6 and Cortex-M now comes with start projects for STM32L cpu and STM32F100 cpu.
    The sample projects run on ST STM32 MB819 and ST STM32 Discovery evalboard and can be downloaded into the CPUs Flash using J-Link.
  4. New start projects for EFM32 devices added.
    The embOS version 3.82s for IAR compiler V6 and Cortex-M now comes with start projects for G2XX and G8XX cpu module for EnergyMicro EFM32-G2XX-DK evalboard.
  5. New start project for Fujitsu MB9BF506 SK FM3 100PMC evalboard.
    The embOS version 3.82s for IAR compiler V6 and Cortex-M now comes with start project for Fujitsu MB9BF506 SK FM3 100PMC evalboard.
    The sample projects can be downloaded into the CPUs Flash using J-Link.

Version 3.82m

  1. Support for Freescale Kinetis added.
    The embOS version 3.82m for IAR compiler V6 and Cortex-M now comes with start projects for the Freescale Kinetis K40 and K60 CPUs.
    The sample projects run on the Kinetis TWR starter kit boards and can be downloaded into the CPUs Flash using J-Link.
  2. Support for EnergyMicro CPU added.
    The embOS version 3.82m for IAR and Cortex-M now comes with a start project for the EnergyMicro EFM32 CPU.
    The sample project runs on the EFM32-G8XX-STK starter board and can be downloaded into the CPUs Flash using the onboard J-Link.
  3. Support for Cortex-M4 added.
    Previous versions of embOS for Cortex-M could not be compiled when a Cortex-M4 CPUs was selected.
    The embOS version 3.82m for IAR and Cortex-M now can be used with Cortex-M4 CPUs.
  4. Support for embOSView via J-Link for Cortex-M0 added.
    Previous versions of embOS for Cortex-M could not use J-Link with embOSview for Cortex-M0 CPUs. With embOS version 3.82m for IAR and Cortex-M J-Link can be used with embOSView on Cortex-M0 targets.

Version 3.82l

  1. Thread local storage supported.
    embOS for Cortex-M and IAR compiler now supports the thread local storage implementation of the new IAR dlib V6.
  2. Update to IAR Compiler / workbench V6

Version 3.82h1

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

Version 3.82h

  1. 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.
  2. 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.
  3. Generic CMSIS project template
    embOS for Cortex M3 now comes with a generic CMSIS compatible start project which runs on any Cortex M3 CPU.
    To run the project on a specific chip, the startup code and the vector table may be replaced by the chip vendor specific versions of these files.
    No modification on any embOS function or file is required. The vendor specific CMSIS files will guarantee that the embOS timer runs at expected rate of 1ms.

Version 3.82e2

  1. BSP for ATMEL AT91SAM3S added
    embOS now comes with a start project for the AT91SAM3S which is prepared to run on the SAM3S-EK eval board.
    The start project contains debug configurations for flash or RAM.
    Both UART connectors of the board may be used for embOSView.
    The project comes with new startup code and vector tables which are fully CMSIS compliant.
  2. 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.

Version 3.82e1

  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

  1. CMSIS compliant project for STM32/MB672 added.

Version 3.82c

  1. BSP for TMPM330 added
  2. Profiling support added to STM32 MB784 eval bord BSP.
  3. Update to latest embOS generic sources V3.82c
  4. All projects have now remarks enabled

Version 3.80g3

  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.

Version 3.80g1

  1. Support for ST STM32F107 added
    embOS version 3.80g1 comes with a ready to go start project for the ST32MF107 CPU.
    The start project is prepared to run on the ST MB 784 eval board and supports flash programming using C-Spy and J-Link.
  2. Support for IAR LPC1766-SK added
    embOS version 3.80g1 comes with a ready to go start project for the IAR LPC1766-SK eval board.
    The start project is prepared to run on the eval board and supports flash programming using C-Spy and J-Link.
    The project is built for the workbench / compiler version 5.30 which delivers the flash loader for the LPC 1766.

Version 3.80g

  1. 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.
  2. 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.
  3. Support for ATMEL AT91SAM3U
    embOS version 3.80g comes with a ready to go start project for the new ATMEL AT91SAM3U series.
    Debugging and flash programming using C-Spy and J-Link is supported.
    The latest version of J-Link software is required to allow programming of the AT91SAM3U.
  4. Support for NXP LPC176x series
    embOS version 3.80g comes with a ready to go start project for the new NXP LPC176x series.
    The start project is prepared to run on the KEIL eval board and supports flash programming using C-Spy and J-Link.
    The project is built for the workbench / compiler version 5.30 which delivers the flash loader for the LPC 1766.

Version 3.62

  1. Update to embOS sources 3.62
    embOS comes with new features which are explained in the generic release notes and manual.
  2. Update to new EWARM compiler version 5.20
    embOS version 3.62 was built with the IAR compiler V5.20 and the start projects were updated to be used with the new workbench.

Version 3.60d

  1. Update to embOS sources 3.60d
    embOS comes with several new features which are explained in the generic release notes and manual.
  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. BSP for IAR STM-SK Eval board renamed to STM32F103_STM_SK.
    BSP is now for IAR STM-SK only instead of IAR STM-SK and ST MB525.
  4. BSP for ST MB525 Eval board added.
    Start project and board support package for STM32F103 CPU and ST MB525 eval board added.
  5. BSP for ST MB672 Eval board added.
    Start project and board support package for STM32F103 CPU and ST MB672 eval board added.

Version 3.60a

  1. Update to embOS sources 3.60a
    embOS comes with several new features which are explained in the generic release notes and manual.

Version 3.60

  1. IAR Embedded Workbench for ARM V5.11 compatibility
    Source and project updates to be compatible with IAR Embedded Workbench for ARM V5.11.

Version 3.52c

  1. 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.

Version 3.52a

  1. Luminary Micro LM3S1968 CPU support
    Start project and board support package for LM3S1968 CPUs added.
  2. Luminary Micro LM3S8962 CPU support
    Start project and board support package for LM3S8962 CPUs added.
  3. 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.

Version 3.40c

  1. 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.
  2. UART and PLL added
    Uart and PLL initialization to BSP added.

Version 3.40a

  1. New BSP for STM32F10 added.
    embOS now comes with board support package for STM32F10.

Version 3.40

  1. 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.
  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.

Version 3.32j

  1. Initial version for Cortex M3

Improvements

Version 4.26.1

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

Version 4.26

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

Version 4.22

  1. Additional debug check for task termination added.

Version 4.16

  1. Advanced Hard Fault Handler added to all projects.

Version 3.86g

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

Version 3.86e

  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

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

Version 3.84.1

  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.80g2

  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

  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.60

  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.52e

  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.

Version 3.52a

  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.

Version 3.40b

  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

  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

  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().

Version 3.32j

  1. NONE, initial version for Cortex M3.

Program corrections

Version 4.26

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

Version 4.22

  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. Appropiate workaround was applied. The problem, which is exclusive for Cortex-M7 r0p1, existed on all previous versions of embOS Cortex M IAR and is fixed with version 4.22.

Version 4.16

  1. Big-endian libraries fixed.
    Big-endian libraries contained little-endian code by mistake.
    The problem existed on all previous versions of embOS Cortex M IAR and is fixed with version 4.16.
  2. Task switch fixed.
    The task switch fix introduced in V4.04a2 could fail under unsual 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.06a

  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 Cortex M IAR and is fixed with version 4.06a.

Version 4.04a2

  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 Cortex M IAR and is fixed with version 4.04a2.

Version 4.04a1

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

Version 4.02.1

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

Version 3.88g2

  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 Cortex M IAR and is fixed with version 3.88g2.

Version 3.88c

  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

  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

  1. Thread safe system locking functions modified.
    A problem was reported which occured 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.86d

  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.84c1

  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

  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.82m

  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.80h

  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

  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.52e1

  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

  1. Interrupt table in RAM corrected
    Variable interrupt table in RAM did not work correct.

Version 3.52b

  1. 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.52b.
  2. 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.52b.

Version 3.52a

  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.40

  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

  1. NONE, initial version for Cortex M3.

Known problems/limitations

Version 3.32j

  1. NONE.

Release history

Version Release date Short explanation
V4.30 13. Dec 2016 Update to latest embOS generic sources V4.30.
New start project for the NordicSemi nRF52 Preview Development Kit added.
New start project for the TI MSP432P401R LaunchPad Development Kit added.
V4.26.1 17. Nov 2016 Ensured suitability of SEGGER SystemView and SEGGER HardFault Handler for C++ compilers.
V4.26 27. Oct 2016 Update to latest embOS generic sources V4.26.
New start project for the NXP LPC1549 Xpresso v2 eval board added.
New start project for the SiliconLabs EZR32 Leopard Gecko added.
New start project for the ST STM32F767 added.
Modified workaround for Cortex-M7 r0p1 to be user-configurable at compile time.
Corrected automatic state preservation during OS_Idle() with Cortex M4F/M7.
V4.22 31. May 2016 Update to latest embOS generic sources V4.22.
VFP register handling is now automatically performed by embOS.
New start project for the Atmel SAM4E-EK eval board added.
New start project for the ST STM32L152C Discovery board added.
Applied workaround for interrupt handling with Cortex-M7 r0p1.
Additional debug check for task termination added.
V4.16 24. Mar 2016 Update to latest embOS generic sources V4.16.
New start project for the Freescale FRDM_K22F board added.
New start project for the Olimex STM32-P407 evalboard added.
New start project for the SEGGER emPower evalboard added.
New start project for the ST STM32L476 Discovery board added.
New start project for the TI TMS470M Development Kit added.
Advanced Hard Fault Handler added to all projects.
Task switch fixed.
Big-endian libraries fixed.
V4.14 22. Dec 2015 Update to latest embOS generic sources V4.14.
New start project for Freescale Kinetis K26 added.
New start project for ST STM32F746G-Discovery added.
Added Segger SystemView to all projects.
V4.12a 17. Sep 2015 Update to latest embOS generic sources V4.12a.
Start project for ST STM32F401xC-Discovery eval board added.
V4.10 04. May 2015 Update to latest embOS generic sources V4.10.
V4.06b 31. Mar 2015 Update to latest embOS generic sources V4.06b.
V4.06a 18. Mar 2015 Update to latest embOS generic sources V4.06a.
Sstart project for Freescale TWR-VF6 added.
OS_EnterRegion() fixed.
V4.04a2 04. Mar 2015 Task switch fixed.
Start project for Atmel SAMV71 XPlainedUltra added.
V4.04a1 03. Feb 2015 embOS library code size limitation fixed.
Start project for ST STM32F756G-Eval added.
V4.04a 09. Jan 2015 New embOS sources V4.04a.
V4.02a 18. Sep 2014 New embOS sources V4.02a.
V4.02.1 15. Sep 2014 OS_LeaveNestableInterrupt() fixed.
V4.02 19. Aug 2014 New embOS sources V4.02.
V4.00 13. Jun 2014 New embOS sources V4.00.
Start project for ST STM32F072 added.
V3.90.1 24. Mar 2014 New start project for Atmel SAMG53.
New start project for Atmel SAMG54.
V3.90 19. Jan 2014 New embOS sources V3.90.
V3.88g2 12. Jan 2014 New startproject for ST LIS331 device.
New start project for TI TM4C129.
RTOSInit for Cortex M0 corrected.
V3.88g1 17. Dec 2013 New startprojects for ST devices.
V3.88g 05. Nov 2013 New embOS sources V3.88g.
V3.88c 13. Aug 2013 New embOS sources V3.88c.
OS_Start() fixed.
V3.88b 29. May 2013 New embOS sources V3.88b.
Scheduling fixed.
V3.86n 10. Dec 2012 New embOS sources V3.86n.
embOS syslocks for IAR runtime environment modified.
V3.86l 26. Nov 2012 New embOS sources V3.86l.
V3.86g 06. Aug 2012 New embOS sources V3.86g.
Interrupt handling improved.
V3.86f 26. Jul 2012 New embOS sources V3.86f.
Task events are 32bit wide now.
V3.86e 08. Jun 2012 New embOS sources V3.86e.
HardFault_Handler() modified.
V3.86d 10. May 2012 OS_ExtendTaskContext_TLS_VFP() corrected.
OS_EnterNestableInterrupt() improved.
New embOS sources V3.86d.
V3.84d 30. Apr 2012 Queue management corrected.
V3.84c1 03. Feb 2012 Scheduling for Cortex M4 with VFP corrected.
V3.84c 18. Jan 2012 New start projects added.
Update to latest embOS generic sources V3.84c
OS_Start() corrected.
V3.84.1 04. Nov 2011 Stack management improved, OS_Idle() may use stack.
embOS plugin for Cortex M4 with VFP.
V3.84 27. Oct 2011 Support for Cortex M4F with floating point unit added.
New start projects for the EFM32 devices added.
New start projects for the NXP devices added.
New start projects for the STM32 devices added.
Update to latest embOS generic sources V3.84
V3.82u 05. July 2011 Update to latest embOS generic sources V3.82u
New start project for IAR STM32L152BV-SK board.
V3.82s 23. Mar 2011 Update to latest embOS generic sources V3.82s
New library mode DPL added.
New start projects for STM32 devices added.
New start projects for EFM32 devices added.
New start project for Fujitsu device added.
V3.82m 24. Nov 2010 Freescale Kinetis supported.
EnergyMicro supported.
Queue handling corrected.
V3.82l 25. Oct 2010 Update to IAR compiler V6.
V3.82h1 21. July 2010 embOS CM3 IAR now also supports Cortex M0.
V3.82h 31. Mai 2010 embOSView runs via J-Link.
Fully CMSIS compliant
V3.82e2 10. Feb 2010 CMSIS compliant BSP for AT91SAM3S added.
V3.82e1 29. Jan 2010 Projects for LPC176x updated.
V3.82e 28. Jan 2010 CMSIS compliant project for STM32/MB672 added.
V3.82c 10. Dec 2009 BSP for TMPM330 added.
Profiling support for MB784 added.
Update to latest embOS generic sources V3.82c Remarks enabled for all projects
V3.80h 06. Aug 2009 BSP for AT91SAM3U corrected.
V3.80g3 14. Jul 2009 Timer initialization modified.
V3.80g2 09. Jul 2009 Timer initialization modified.
V3.80g1 09. Jul 2009 ST STM32F107 supported.
IAR LPC1766-SK supported.
V3.80g 05. Jun 2009 New embOS plugin supported
New optimized embOS sources.
V3.62 01. Oct 2008 Update to new embOS sources 3.62.
Update to IAR compiler V5.20.
V3.60d 05. Jun 2008 Update to new embOS sources 3.60d.
OS_POWER module implemented.
BSP for IAR STM-SK split up into IAR STM-SK and ST MB525.
BSP for ST MB672 eval board added.
V3.60a 12. Mar 2008 Update to embOS version 3.60a.
V3.60 11. Jan 2008 Update to IAR compiler V5.11.
V3.52e1 21. Dec 2007 OS_TaskEx corrected.
V3.52e 29. Nov 2007 New generic embOS sources.
Interrupt table in RAM corrected.
V3.52a 17. Sep 2007 New BSPs for Luminary Micro LM3S1968 and LM3s8962 CPUs.
Scheduler optimized.
Task switch to OS_Idle() modified.
V3.40c 28. Jun 2007 OS_Yield() implemented.
Uart and PLL for BSP/STM32F10 added.
V3.40a 05. Jun 2007 Counting semaphores improvement.
BSP for STM32F10 added.
V3.40 24. May 2007 New start projects for LM3S6965 and LM3S6965. New embOS sources 3.40.
V3.32j 06. Jan 2007 Initial version for Cortex M3

Copyright 2001-2016 SEGGER Microcontroller GmbH & Co. KG. All rights reserved.
For more information, please visit our website www.segger.com or contact us at info@segger.com