11 introduction to_embedded_systems [compatibility mode]

227 views

Published on

Published in: Engineering, Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
227
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

11 introduction to_embedded_systems [compatibility mode]

  1. 1. 1 Introduction to Embedded Systems By: Walaa Mohamed Khalil
  2. 2. 2Copyright © 2011 Embedded Systems Committee Agenda • Embedded Systems Vs. General purpose Systems • Examples of Embedded Systems • What is a microcontroller? • Difference between Microprocessor and Microcontroller • Trade off between HW and SW • Software characteristics • Hardware characteristics • System on chip and system on board • Advanced Embedded System • Most Microcontroller Families used in ES • Difference between Emulator and Simulator • Languages used in embedded systems programming
  3. 3. 3Copyright © 2011 Embedded Systems Committee General Purpose Systems • Embedded system is a special -purpose system designed to perform one or a few dedicated functions. • It is usually Embedded as a part of a complete device including hardware and mechanical parts. • A general-purpose system can do many different tasks depending on programming. For ex.; microprocessors in PC’s.
  4. 4. 4Copyright © 2011 Embedded Systems Committee Example of Embedded Systems • Embedded systems control many of the common devices in use today o Digital watches o Traffic lights o Printers o Medical equipments o Robots o DSP processing: MP3 player Digital Camera o Communication: Routers Telephone switches o Automotive: Motor Engines Climate Control
  5. 5. 5Copyright © 2011 Embedded Systems Committee What is Microcontroller? • A microcontroller is a single chip devices or single chip computers in a small size that its resources are far more limited than those of a desktop personal computer • It is designed for standalone operation. • It is includes: o Processing Unit. o RAM and ROM. o I/O. o Buses. o Peripherals (SPI, PWM,..).
  6. 6. 6Copyright © 2011 Embedded Systems Committee Difference Between MC and MP Microprocessor Is a general purpose CPU Microcontroller Is a CPU with peripherals
  7. 7. 7Copyright © 2011 Embedded Systems Committee Tradeoff between HW & SW • For a certain application Which functional blocks should be performed in Hardware?? Which functional blocks should be performed in software??
  8. 8. 8Copyright © 2011 Embedded Systems Committee Software Characteristics • Highly configurable • Shorter development cycle • Easier in versions updates • Cheaper • Constrained with processor speed which may satisfy real time application and may not
  9. 9. 9Copyright © 2011 Embedded Systems Committee Hardware Characteristics • Longer development cycle • Customized for specific application • Better performance in high speed real time application
  10. 10. 10Copyright © 2011 Embedded Systems Committee System on Board CPU Actuator Sensors Customized Hardware Shared memory Board A/D
  11. 11. 11Copyright © 2011 Embedded Systems Committee System on Chip • System-on-a-chip (SOC): o Integrating all components of a computer or other electronic system into a single integrated circuit (chip). o It may contain digital, analog, mixed-signal, and often radio- frequency functions – all on one chip. o Typical application is in the area of embedded systems. • An application-specific integrated circuit (ASIC) is an integrated circuit (IC) customized for a particular use. For example, a chip designed solely to run a cell phone is an ASIC.
  12. 12. 12Copyright © 2011 Embedded Systems Committee System on Chip Keyboard controller LCD controller Customized hardware Memories USB interface CPU
  13. 13. 13Copyright © 2011 Embedded Systems Committee Advanced Embedded Systems • Multi-core system on chip Like mobile handset which has one chip contains: • DSP processor • Embedded processors like ARM • Custom hardware for GSM • Custom peripherals for board interface (keyboard, touch screen, memory card interface)
  14. 14. 14Copyright © 2011 Embedded Systems Committee Advanced Embedded systems • Network of embedded microcontrollers on board : • Many microcontrollers on one / many board(s) communicated together through specific bus protocol like LIN bus, CAN bus in automotive application.
  15. 15. 15 Most Microcontroller Families used in ES • 8051, AVR and Atmega • PIC o Very general purpose microcontroller that can come with many different options o Used in constructing clocks, very simple video games, robots, servo controllers. Copyright © 2011 Embedded Systems Committee
  16. 16. 16 Most Microcontroller Families used in ES • HC12 o Real time and Automotive applications • ARM o Used in electronic devices o Mobiles, Digital cameras DVD players, Robots and Automotive applications Copyright © 2011 Embedded Systems Committee
  17. 17. 17Copyright © 2011 Embedded Systems Committee Emulators & Simulators • An emulator duplicates the functions of one system using a different system, so that the second system behaves like (and appears to be) the first system. • This focus on exact reproduction of external behavior is in contrast to some other forms of computer simulation, which can concern an abstract model of the system being simulated.
  18. 18. 18Copyright © 2011 Embedded Systems Committee Emulators & Simulators • Simulation is the imitation of some real thing, state of affairs, or process. • The act of simulating something generally entails representing certain key characteristics or behaviors of a selected physical or abstract system.
  19. 19. 19Copyright © 2011 Embedded Systems Committee Languages used in ES • Assembly Language: o Lowest-level human-readable method for programming. o Platform specific o No need for compilation o Used by some compilers, such as GCC, to convert high-level languages (such as C) into platform-dependent assembly language before assembling into machine language.
  20. 20. 20Copyright © 2011 Embedded Systems Committee Languages used in ES • Assembly Disadvantages: o Platform Specific. o Operate by acting on specific instructions. o Can perform no other actions besides those specifically listed. o Instructions are highly atomic: each instruction performs a single, small instruction. o Too difficult to program large applications.
  21. 21. 21Copyright © 2011 Embedded Systems Committee Languages used in ES • C Language: o Source files 'linked' together o Ability to program in assembly right inside the C-code o Easy to write and portable. o Knowledge of C enables freedom.
  22. 22. 22Copyright © 2011 Embedded Systems Committee
  23. 23. 23 info@escommittee.net education@escommittee.net Copyright © 2011 Embedded Systems Committee

×