Sie sind auf Seite 1von 3

EXPERIMENT NO: 10

AIM: TO STUDY C/OS-II OPERATING SYSTEMS.

INTRODUCTION :
In high end applications, sometimes devices may malfunction or totally fail due to long duration
of usage or any technical problem which give fatal result. An embedded monitoring system is
always necessary for continuously collecting data from onsite and later analyzing that and
eventually taking proper measures to solve the problem. The system which is used today use non
real time operating systems based on mono-task mechanism that hardly satisfies the current
requirements. This paper is focused on porting of C/OS II in ARM7 controller that performs
multitasking and time scheduling. The C / OS II features porting to ARM7 are discussed.
Finally it provides an overview for design of embedded monitoring system using C/OS II as
application software that helps in building the total application.
C/OS-II is a completely portable, ROMable, scalable, preemptive, real-time, multitasking
kernel. C/OS-II is written in ANSI C and contains a small portion of assembly language code to
adapt it to different processor architectures. To date, C/OS-II has been ported to over 40
different processor architectures ranging from 8- to 64-bit CPUs.
C/OS-II is based on C/OS, The Real-Time Kernel that was first published in 1992. Thousands
of people around the world are using C/OS and C/OS-II in all kinds of applications, such as
cameras, avionics, high-end audio equipment, medical instruments, musical instruments, engine
controls, network adapters, highway telephone call boxes, ATM machines, industrial robots, and
more. Numerous colleges and universities have also used C/OS and C/OS-II to teach students
about real-time systems.
The following list shows a few examples of embedded systems.

30

Process Control

Communication

Food processing
Chemical plants
Automotive
Engine controls
Anti-lock braking systems

Switches
Routers
Robots
Aerospace
Flight management systems
Weapons systems Jet engine controls

Office Automation
FAX machines
Copiers

Domestic

Computer Peripherals
Printers
Terminals
Scanners
Modems

Microwave ovens
Dishwashers
Washing machines
Thermostats

C/OS-II Hardware/Software Architecture


A processor can run C/OS-II if it satisfies the following general requirements:
1.

The processor has a C compiler that generates reentrant code.

2.

Interrupts can be disabled and enabled from C.

3.

The processor supports interrupts and can provide an interrupt that occurs at regular
intervals (typically between 10 and 100Hz).

4.

The processor supports a hardware stack that can accommodate a fair amount of data
(possibly many kilobytes).

5.

The processor has instructions to load and store the stack pointer and other CPU registers,
either on the stack or in memory.

30

C/OS-II hardware/software architecture.


RESULT : C/OS-II operating systems has been studied.

30

Das könnte Ihnen auch gefallen