27
Language For Embedded system Language For Embedded system V.Ranjeeth M.Ranjitha N.V.Ramanarayanan F.B.Shalini Presented By 1

Language for embedded system

Embed Size (px)

Citation preview

Page 1: Language for embedded system

1

Language For Embedded systemLanguage For Embedded system

V.Ranjeeth M.Ranjitha

N.V.Ramanarayanan F.B.Shalini

Presented By

Page 2: Language for embedded system

2What is Embedded System?

An Embedded system is a combination of computer hardware and software. As with any electronic system, this system requires a hardware platform and that is built with a microprocessor or microcontroller.

The Embedded system hardware includes elements like user interface, Input/output interfaces, display and memory, etc.

Page 3: Language for embedded system

3

Embedded System

Embedded programming languages

On an embedded system, resources -- memory and CPU power -- are limited. By comparison, with desktop systems, it is commonly assumed that they have no limits.

Embedded systems are commonly real-time. The number of operating systems in use on desktop computers

is quite small. There are numerous options for embedded systems, including "bare metal" (i.e., no operating system at all).

To the first approximation, the hardware of all PCs is identical. By comparison, every embedded system is different, so programming close to the hardware is more common.

In many ways, programming an embedded system is not too dissimilar to coding for a desktop computer, but there are some key differences:

Page 4: Language for embedded system

4

Embedded systems can be classified into different types based on performance, functional requirements and performance of the microcontroller.

Types of Embedded System

Page 5: Language for embedded system

5

This type of embedded system may be component of large system in which it is embedded, such a component called embedded system.

The connection can be any wired or wireless. This type of embedded system is the fastest growing area in embedded

system applications. The embedded web server is a type of system wherein all embedded

devices are connected to a web server and accessed and controlled by a web browser.

Example: Auto mobiles, vehicle model and controller design.

Real Time Embedded Systems

Page 6: Language for embedded system

6Real-time Programming Languages

Components of large systems Assembly languages Sequential systems implementation languages — e.g. RTL/2, Coral 66,

Jovial, C. Normally require operating system support. High-level concurrent languages. Impetus from the software crisis. e.g.

Ada, Chill, Modula-2, Mesa, Java.

We will consider: Java/Real-Time Java C and Real-Time POSIX Ada 95 Also Modula-1 for device driving

Page 7: Language for embedded system

7Real-Time Languages and OS’s

Hardware

Operating

System

User Programs

Hardware

Including Operating

System Components

User Program

Typical Embedded ConfigurationTypical OS Configuration

Page 8: Language for embedded system

8

Stand alone embedded systems do not require a host system like a

computer, it works by itself.  It takes the input from the input ports either analog or digital and

processes, calculates and converts the data and gives the resulting data through the connected device-Which either controls, drives and displays the connected devices.

Examples for the stand alone embedded systems are mp3 players, digital cameras, video game consoles, microwave ovens and temperature measurement systems.

Stand Alone Embedded Systems

Page 9: Language for embedded system

9

Languages used in:Java :

It provides a technique known as “native methods", where c/c++ or assembly code can be called directly from java to manipulate the hardware registers and memory directly using pointers.

This can sometimes be useful in embedded systems.

Stand Alone Embedded Systems

Page 10: Language for embedded system

10

These types of embedded systems are related to a network to access the resources.

The connected network can be LAN, WAN or the internet. The connection can be any wired or wireless. This type of embedded system is the fastest growing area in

embedded system applications. Example for the LAN networked embedded system is a home

security system wherein all sensors are connected and run on the protocol TCP/IP 

Networked Embedded System

Page 11: Language for embedded system

11

Languages used in:nesC Networked embedded system is a sensor network, which consists of

(potentially) thousands of tiny, low-power 'motes,' each of which execute concurrent, reactive programs that must operate with severe memory and power constraints.

Networked Embedded System

Page 12: Language for embedded system

12

Mobile embedded systems are used in portable embedded devices like cell phones, mobiles, digital cameras, mp3 players and personal digital assistants, etc.

The basic limitation of these devices is the other resources and limitation of memory.

Mobile Embedded systems

Page 13: Language for embedded system

13Mobile Embedded systems

Smart-phones contain several embedded systems, like the modem core and the single-chip WiFi+BT+GPS solutions.

Smart phones usually have custom-purpose hardware and software for a specific task (i.e. making phone calls and accessing the cellular data network) which technically makes them embedded systems.

Page 14: Language for embedded system

14

These types of embedded systems are designed with a single 8 or 16 bit microcontroller, that  may even be activated by a battery.

For developing embedded software for small scale embedded systems, the main programming tools are an editor, assembler,  cross assembler and integrated development environment (IDE).

Small Scale Embedded System

Page 15: Language for embedded system

15

Language Used In Small- Scale Embedded Systems:

 µITRON 

ITRON is a Japanese open standard for a real-time operating system (RTOS).

This project aims to standardize the RTOS and related specifications for embedded systems, particularly small-scale embedded systems.

Small Scale Embedded System

Page 16: Language for embedded system

16

These types of embedded systems design with a single or 16 or 32 bit microcontroller, RISCs or DSPs.

These types of embedded systems have both hardware and software complexities.

For developing embedded software for medium scale embedded systems, the main programming tools are C, C++, JAVA, Visual C++, RTOS, debugger, source code engineering tool, simulator and IDE.

Median Scale Embedded Systems

Page 17: Language for embedded system

17Median Scale Embedded Systems

Examples: Computer networking systems for example : routers, front end

processor in a server ,etc. Entertainment systems such as video game and a music systems. Signal tracking systems such as automatic signal tracking and target

tracking. Communication systems such as mobile communication SIM card,

cellular phone, a cable TV terminal, etc. Image filtering, image processing, pattern recognizer, speech

processing and video processing.

Page 18: Language for embedded system

18

These types of embedded systems have enormous hardware and software complexities, that may need ASIPs, IPs, PLAs, scalable or configurable processors.

They are used for cutting-edge applications that need hardware and software Co-design and  components which have to assemble  in the final system.

Sophisticated Embedded Systems

Page 19: Language for embedded system

Sophisticated Embedded Systems

Examples: Multimedia processing systems. Wireless LAN and convergent technology devices. Interface and networking systems using high speed and ultra

high speed and large band width. System for space life boats(under development by NASA).

19

Page 20: Language for embedded system

20

Reliability: R(t) = probability of system working correctly provided that is was working at t=0

Maintainability: M(d) = probability of system working correctly d time units after error occurred.

Availability: probability of system working at time t Safety: no harm to be caused Security: confidential and authentic communication

Characteristics Of Embedded Systems (1)

Page 21: Language for embedded system

21

Efficiency: Energy efficient Code-size efficient (especially for systems on a chip) Run-time efficient Weight efficient Cost efficient

Characteristics Of Embedded Systems (2)

Page 22: Language for embedded system

22

Many ES must meet real-time constraints: A real-time system must react to stimuli from the controlled object

(or the operator) within the time interval dictated by the environment. For real-time systems, right answers arriving too late (or even too

early) are wrong. All other time-constraints are called soft. A guaranteed system response has to be explained without

statistical arguments.

Characteristics Of Embedded Systems (3)

Page 23: Language for embedded system

23Characteristics Of Embedded Systems (4)

Frequently connected to physical environment through sensors and actuators

Hybrid systems (analog + digital parts). Behavior depends on input and current state.

Page 24: Language for embedded system

24

Embedded systems are used in different applications like

automobiles telecommunicationssmart cards missilessatellites computer networking digital consumer electronics.

Applications of Embedded Systems

Page 25: Language for embedded system

25Conclusion

Embedded systems are application-specific computers that interact with the physical world.

Each has a diverse set of tasks to perform, and although a very flexible language might be able to handle all of them, instead a variety of problem-domain-specific languages have evolved that are easier to write, analyze, and compile.

Page 27: Language for embedded system

27

Thank you…