Overview

Description

This product is a real-time operating system (real-time OS) that is an implementation of the μITRON4.0 specification. μITRON is the predominant real-time OS for embedded systems in Japan. An independent kernel runs on each core of V850E2M dual core, and on each kernel functionally distributed and loaded applications are controlled, allowing realization of an embedded system equipment with a high quality real-time multi-tasking environment.

In addition, its high degree of compatibility with the CS+ IDE and the configurator which automatically generates startup files will help you greatly reduce development times and get your products to market more quickly.

Features

  • Conformance with the µITRON4.0 Specification
    The design conforms with the µITRON4.0 Specification, which prescribes a representative OS architecture for embedded control.
  • Excellent portability
    To support its execution in various environments, the RI850V4 is separated into the target-dependent section for hardware-dependent processing and the parts for use in the user’s own code. Sample files of source code are provided. This enhances portability to various execution environments and facilitates customization.
  • ROM-based implementation
    Since the system is a real-time and multi-tasking OS designed on the assumption of usage in embedded execution environments, it was designed to be compact and ready for ROM-based implementation. A system can be configured with only those service calls that are actually used in the user’s application being linked (rather than all service calls provided by the RI850V4), so a real-time/multi-tasking OS which is optimally compact in terms of the user's needs can be configured.
  • Realization of memory savings
    The ability to disable preemption provided by the RI850V4 can reduce a system's memory requirements.。
  • Maximum number of PE (Processor Element) that this product supports is two[Learn More]
    The OS operates independently with both PEs. It is possible to issue service calls to kernel objects on another PE.
  • Interlinking with the CS+ IDE for CACX[Learn More]
    • Automatic settings for options required in building the OS
    • Displaying the states of OS control objects such as tasks, semaphores, etc. (Resource Information)
  • Interlinking with Green Hills Software, MULTI IDE from LLC[Learn More]
  • Supported compiler: CX Compiler Package, GHS
  • Learn More

Release Information

OS

Latest Ver.: V1.00.01
Released: Jul 1, 2011
Details of upgrade (See Tool News)
Operating Environment
Agreement Details

CS+ interface plug-ins (RTOS Common plug-in)

Latest Ver.: V3.00.00
Released: Oct 1, 2014

CS+ interface plug-ins (Plug-in for RI850MP)

Latest Ver.: V3.00.00
Released: Oct 1, 2014

Target Devices

Documentation

Design & Development

Sample Code

Additional Details

Device Function

The RI850MP kernel consists of the following modules. Each module is provided by functions (service calls) .

  • Task management functions
    Provided by the RI850MP include a function to reference task statuses such as priorities and detailed task information, in addition to a function to manipulate task statuses such as generation, activation and termination of tasks.
  • Task dependent synchronization functions
    Changes task status from other task, and synchronizes tasks.
  • Synchronization and communication functions
    The synchronization and communication functions of the RI850MP consist of Semaphores, Eventflags, Data Queues, and Mailboxes that are provided as means for realizing exclusive control, queuing, and communication among tasks.
    • Semaphores: In the RI850MP, non-negative number counting semaphores are provided as a means (exclusive control function) for preventing contention for limited resources (hardware devices, library function, etc.) arising from the required conditions of simultaneously running tasks.
    • Eventflags: Provides 32-bit eventflags as a queuing function for tasks.
    • Data Queues: Provides the data queues that have the data queue area in which data read/write is enabled for transferring the prescribed size of data.
    • Mailboxes: Provides a mailbox, as a communication function between tasks, that hands over the execution result of a given processing program to another processing program.
  • Extended synchronization and Communication functions
    Provides Mutexes as the extended synchronization and communication function for implementing exclusive control between tasks.
    • Mutexes: Provides a mutex, as a function to prevent contentions on using the resources.
  • Fixed-Sized Memory Pools
    When a dynamic memory manipulation request is issued from a processing program in the RI850MP, the fixed-sized memory pool is provided as a usable memory area.
  • Time management functions
    Provides methods to implement time-related processing (Timer Operations: Delayed task wakeup, Timeout, Cyclic handlers) by using base clock timer interrupts that occur at constant intervals, as well as a function to manipulate and reference the system time.
  • System state management functions
    Provides functions for referencing the system status such as the context type and CPU lock status, as well as functions for manipulating the system status such as ready queue rotation, scheduler activation, or the like.
  • Interrupt management functions
    The RI850MP provides as interrupt management functions related to the interrupt handlers activated when an interrupt (maskable interrupt, software interrupt, reset interrupt) is occurred.
  • SchedulerThe scheduling functions
    provided by the RI850MP consist of functions manage/decide the order in which tasks are executed by monitoring the transition states of dynamically changing tasks, so that the CPU use right is given to the optimum task.
  • Kernel object operations for another PE
    It is possible to issue service calls to kernel objects on another PE.
  • Domain
    With RI850MP organized kernel object will be defined as "domains". Multiple domains can exist for one PE, and kernel object (Task, Semaphore, etc.) belong to any domain. In the future, this will be an important concept to implement access lights and access protect function to kernel object.

Specifications

Target device V850 Family V850E2M Dual Core
Maximum number of tasks 1023
Number of priority levels 32
Service call number 67
Performance
(Time takes for a target task
to be executed after the wup_tas is issued.)
3.98 microseconds
(V850E2/MN4, 200MHz. embedded memory)
Kernel RAM usage per task data : 64 bytes
stack : 140 bytes

Components

Provided items Explanation Note
Kernel source program Kernel source program Provided only with mass- production licenses which include source code.
Kernel library Kernel library for system building
Standard header files ITRON specification common definition files
Kernel specification definition files
Other definition files
Header files are provided both in C languages
Command line configurator Outputs all types of definition files from the cfg file that describes the structure parameters in text.
Sample program A simple program using ITRON.
CS+ interface plug-ins
- RTOS Common plug-in
- Plug-in for RI850MP
Function for easy kernel embedding
Function for referencing the OS state during debug
Manual User's manual  

Processing Flow

Image
 ri850mp-flow-e