publs.: mcgraw-hill education lesson 12 · publs.: mcgraw-hill education 1 lesson 12:...

28
2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 1 Lesson 12: Lesson 12: Classification and Development Classification and Development Skills Requirements for the Skills Requirements for the Embedded Systems Embedded Systems

Upload: buianh

Post on 19-Aug-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 1

Lesson 12:Lesson 12:Classification and Development Classification and Development

Skills Requirements for the Skills Requirements for the Embedded SystemsEmbedded Systems

Page 2: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 2

Small Scale Embedded SystemsSmall Scale Embedded Systems

Page 3: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 3

Small Scale Embedded SystemsSmall Scale Embedded Systems

� Designed with a single 8- or 16-bit microcontroller;

� Little hardware and software complexities and involve board-level design.

� Tools for development of embedded software – Editor, assembler and cross assembler, integrated development environment (ISE) specific to the microcontroller or processor used

Page 4: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 4

Small Scale Embedded Systems� C or Java used for developing� C program compilation is done into the

assembly, and executable codes are then appropriately located in the system memory.

� Software fits within the memory available and keep in view the need to limit power dissipation when system is running continuously

Page 5: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 5

Median Scale Embedded SystemsMedian Scale Embedded Systems

Page 6: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 6

Median Scale Embedded SystemsMedian Scale Embedded Systems� Designed with a single or few 16- or 32-

bit microcontrollers or DSPs or Reduced Instruction Set Computers (RISCs).

� Employs the readily available single purpose processors.

� Employ the readily available IPs for the various functions—for example, for the bus interfacing,

� Both hardware and software complexities

Page 7: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 7

Median Scale Embedded SystemsMedian Scale Embedded Systems� Programming tools: C/C++/Visual

C++/Java, RTOS, and Source code engineering tool, Simulator, Debugger and Integrated Development Environment (IDE). Software tools provide the solutions to the hardware complexities.

Page 8: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 8

Sophisticated Embedded SystemsSophisticated Embedded Systems

Page 9: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 9

Sophisticated Embedded SystemsSophisticated Embedded Systems� Enormous hardware and software

complexities and may need scalable processors or configurable processors and programmable logic arrays.

� Used for cutting edge applications that need hardware and software co-design and components integration in the final system

Page 10: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 10

Sophisticated Embedded SystemsSophisticated Embedded Systems� Constrained by the processing speeds

available in their hardware units. � Certain software functions such as

encryption and deciphering algorithms, discrete cosine transformation and inverse transformation algorithms, TCP/IP protocol stacking and network driver functions implemented in the hardware to obtain additional speeds by saving time

Page 11: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 11

Sophisticated Embedded SystemsSophisticated Embedded Systems� Software implements some of the

functions of the hardware resources in the system.

� Development tools for these systems may not be readily available at a reasonable cost or may not be available at all.

� In some cases, a compiler or retargetablecompiler might have to be developed for these. [A retargetable compiler is one that configures according to the given target configuration in a system

Page 12: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 12

Skill for Small Scale Embedded Skill for Small Scale Embedded SystemsSystems

Page 13: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 13

Skills for Small Scale SystemSkills for Small Scale System

� Full understanding of a microcontroller with a basic knowledge of computer architecture, digital electronic design, software engineering, data communication, control engineering, motors and actuators, sensors and measurements, analog electronic design and IC design and manufacture – Tim Wilmshurst

Page 14: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 14

Skills for Small Scale SystemSkills for Small Scale System

� Specific skills will be needed in specific situations. For example, control engineering knowledge will be needed for design of control systems and analog electronic design knowledge will be needed when designing the system interfaces.

Page 15: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 15

Skills for Small Scale SystemSkills for Small Scale System

� Computer architecture and organization.� Interfacing the memories. � Burning the executable machine codes in

PROM or ROM. � Use of decoders and demultiplexers. � Use of Direct memory accesses. � Use of Ports and device-drivers.

Page 16: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 16

Skills for Small Scale SystemSkills for Small Scale System� Device drivers in assembly. � Simple and sophisticated buses. � Timers. � Interrupt servicing mechanism. � C programming elements. � Memory optimization.� Selection of hardware and

microcontroller.

Page 17: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 17

Skills for Small Scale SystemSkills for Small Scale System

� Use of ICE (In-Circuit-Emulators), cross-assemblers and testing equipment.

� Debugging the software and hardware bugs by using test vectors.

� Basic knowledge in the other areas—software engineering, data communication, control engineering, motors and actuators, sensors and measurements, analog electronic design and IC design and manufacture

Page 18: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 18

May not needMay not need� All concepts of interrupt latencies and

deadlines and their handling the RTOS programming tools.

Page 19: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 19

Skills for Median Scale Embedded Skills for Median Scale Embedded SystemsSystems

Page 20: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 20

Skills for Median Scale Embedded Skills for Median Scale Embedded SystemsSystems

� 'C'/C++/Java programming and RTOS programming and program modeling skills

� Programming the Tasks or threads and their scheduling by RTOS.

� Programming priorities and Cooperative and preemptive scheduling.

Page 21: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 21

Skills for Median Scale Embedded Skills for Median Scale Embedded SystemsSystems

– Use of Inter processor communication functions.

– Use of shared data, and programming the critical sections and re-entrant functions.

– Use of semaphores, mailboxes, queues, sockets and pipes.

– Handling of interrupt-latencies and meeting task deadlines.

– Use of various RTOS functions. – Use of physical and virtual device drivers.

Page 22: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 22

Skills for Median Scale Embedded Skills for Median Scale Embedded SystemsSystems

– Designer must have access to an RTOS programming tool with Application Programming Interfaces (APIs) for the specific microcontroller to be used

Page 23: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 23

Skills for Sophisticated Scale Skills for Sophisticated Scale Embedded SystemsEmbedded Systems

Page 24: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 24

Skills for Sophisticated Scale Skills for Sophisticated Scale Embedded SystemsEmbedded Systems

� Team is needed to co-design and solve the high level complexities of the hardware and software design.

Page 25: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 25

Hardware engineer skills for sophisticated scale embedded systems

� An embedded system hardware engineer should have full skills in hardware units and basic knowledge of 'C'/C++ and Java, RTOS and other programming tools.

Page 26: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 26

Software engineer Skills for Sophisticated Scale Embedded Systems

� Software engineer should have basic knowledge in hardware and a thorough knowledge of 'C', RTOS and other programming tools. A final optimum design solution is then obtained by system integration.

Page 27: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 27

We learnt� Classification into three – small scale,

median scale and sophisticated systems� Skill requirements for three classes of

systems

Summary Summary

Page 28: Publs.: McGraw-Hill Education Lesson 12 · Publs.: McGraw-Hill Education 1 Lesson 12: Classification and Development ... In some cases, a compiler or retargetable

2008 Chapter-1L12: "Embedded Systems - " , Raj Kamal, Publs.: McGraw-Hill Education 28

End of Lesson 12End of Lesson 12