This document provides an overview of eCos, an open source real-time operating system for embedded applications. It discusses eCos' features such as real-time performance, low latency, small memory footprint, and deterministic behavior. The core components include a hardware abstraction layer, real-time kernel, ISO C and math libraries, device drivers, and GDB support. The kernel provides functionality like interrupt handling, scheduling, threads, and synchronization. Developing eCos applications involves installing Ubuntu in VirtualBox, installing the eCos package and configuration tool, modifying example programs, and running them.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0%(1)0% found this document useful (1 vote)
561 views22 pages
eCOS Operating System
This document provides an overview of eCos, an open source real-time operating system for embedded applications. It discusses eCos' features such as real-time performance, low latency, small memory footprint, and deterministic behavior. The core components include a hardware abstraction layer, real-time kernel, ISO C and math libraries, device drivers, and GDB support. The kernel provides functionality like interrupt handling, scheduling, threads, and synchronization. Developing eCos applications involves installing Ubuntu in VirtualBox, installing the eCos package and configuration tool, modifying example programs, and running them.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 22
Introduction
A Real time operating system
An operating system which is open source to develop embedded applications Real time scheduling Designed to avoid fragmentation
Features o Real-Time Performance o Low Interrupt Latency o Low Task Switching Latency o Small Memory Footprint o Deterministic Behaviour o Highly Configurable o Full Feature Set o Open Source Kernel o No Runtime Licensing, Fees or Royalties o Open Source GNU Development Tools Core components o Hardware Abstraction Layer o Real-time kernel. o ISO C and math libraries o Device drivers o GNU Debugger (GDB) support
Hardware Abstraction Layer (HAL)
o The HAL is a software layer.
o It provides a platform independent API for platform specific functionality.
o Enhances portability of code.
HAL contd.. Architecture HAL Abstracts the basic CPU and includes interrupt delivery, context switching , CPU startup and etc. Platform HAL Abstracts the properties of the current platform and includes startup, timer devised, I/O register access and interrupt controllers Implementation HAL Abstracts properties that lie between these two, such as architecture variants and on-chip devices
The Kernel
o The Kernel is the core to the eCos system.
o Provides standard functionality like o interrupt and exception handling o scheduling o threads o synchronization Kernel internals Scheduler options Bitmap scheduler Multi-level scheduler Experimental lottery scheduler (under development) Interrupt handling ISR DSR
Kernel internals Exception handling is configurable
Thread synchronization Available thread synchronization primitives Semaphores, Mutex, Condition variables, Flags ISO C and Math libraries o There are three aspects o ISO C library o Math library o environment in which applications run when they use the standard C library.
eCos API o eCos supports the following standard API o itron o POSIX o Embedded Linux API compatible with EL/IX. o Its own native API.
Steps in developing eCos applications PROCEDURE 1. Install VirtualBox 2. Install Ubuntu in VirtualBox 3. Install the eCos package 4. Install the eCos configuration tool 5. Modify the program in "examples" directory 6. Run the program
Install Virtual box Install Ubuntu in Virtual box Install eCos Package Extract the eCos configuration tool Install the eCos configuration tool Modify the program in "examples" directory