Eeezg 512

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 11

Birla Institute of Technology and Science, Pilani

Work-Integrated Learning Programmes Division


Second Semester 2013-2014

Course Handout

Course Number : EEE ZG512

Course Title : EMBEDDED SYSTEM DESIGN

Instructor : Meetha. V. Shenoy

Course Description

Introduction to embedded systems; embedded architectures; Architectures and programming of


microcontrollers and DSPs; Embedded applications and technologies; power issues in system design;
introduction to software and hardware co-design.

Scope and Objective of the course

The course covers the design issues involved in embedded systems and system-on-chip technologies. The
course also deals with the applications and programming languages used for embedded systems.

Prescribed Text Books


T1. Wolf, Wayne, Computers as Components: Principles of Embedded Computing Systems Design,
Elsevier, 2000.

Reference Books:
R1. James.K.Peckol, Embedded System Design – A Contemporary Design Tool, Wiley Student Edition,
2010

R1. Jonathan W. Valvano, Introduction to Embedded Microcomputer Systems, Motorola 6811 and 6812
Simulation, (International Student Edition), Thomson Learning, 2003.

R2. Steven F. Barrett, Daniel J. Pack, Embedded Systems Design and Applications with the 68HC12 and
HCS12, Pearson Education, 2005.

R3. Sriram V Iyer, Pankaj Gupta, Embedded Realtime Systems Programming, TMH, 2004.

R4. James.K.Peckol, Embedded System Design – A Contemporary Design Tool, Wiley Student Edition,
2010

R5. 8051 Microcontroller- Hardware Manual


R6. 8051ED2 Reference Manual
R7. Atmel ATMega 128 Reference Manual
R8. Motorola HCS12 Reference Manual
R9. ARM CPU Reference Manual
R10. LPC 23xx Reference Manual
R11. TI DSP 64xx Manual
R12. TI DSP 67xx Manual
EEE ZG512 (Course Handout) Second Semester 2013-2014 Page 2

Lecture Plan
S.No. Topics References to Text books References to Study
Materials for further
reading / Additional
Remarks
1 Cache Organization – Problems Related T1 On-Line material &
to Cache Organisation lecture videos available

2 Different Design Flows in Embedded T1, R1 On-Line material &


Systems lecture videos available

3 System Design Example -1 using 8051 On-Line Course On-Line material &
ED2 Material lecture videos available

4 System Design Example -2 using 8051 On-Line Course On-Line material &
ED2 Material lecture videos available

5 ARM Instruction Set – Arithmetic, ARM Manual On-Line material &


Logic , Program Control Instruction lecture videos available

6 Programming Using ARM – ALP ARM Manual On-Line material &


Examples lecture videos available

7 Examples for Timer using Interrupt LPC 2378 Manual On-Line material &
Capture, Output Compare lecture videos available

8 Programming of USB Device & Host LPC 2378 Manual On-Line material &
Controller of LPC23xx lecture videos available

9 Review

Syllabus for Mid-Semester Test (Closed Book): Topics covered in S. No. 1 to 9


10 Instruction set of TMS 60000 TI DSP 64xx Manual On-Line material &
lecture videos available
11 Programming using TMS 6000 TI DSP 64xx Manual On-Line material &
lecture videos available
12 System Design Example – Distributed On-Line Course On-Line material &
System Material lecture videos available

13 System Design Example – Distributed On-Line Course On-Line material &


System –Contd Material lecture videos available

14 UML Diagrams & Examples R2 On-Line material &


lecture videos available
15 Implementation of Semaphores, R2 On-Line material &
Mutexes, Locks, Pipes, Mail Boxes lecture videos available

16 Fault Tolerant Design - Redundancy R2


methods

17,18 Review
Syllabus for Comprehensive Exam (Open Book): All topics given in the Plan of Self Study.
EEE ZG512 (Course Handout) Second Semester 2013-2014 Page 3

Plan of Self study


S.No. Topics References to Study
Materials for further
reading / Additional
Remarks
1
Introduction to Embedded System Design
Characteristics & Embodiments of Embedded Systems, Classification
of Embedded Systems. Hardware & Software Components in an RL1.1
Embedded System

Hardware Components in an Embedded System – Processor


Architectures, Memory Types &Organisation, Cache Organization, RL1.2
Interrupts, Timers ,ADC/DAC
2 Software Components of an Embedded System – RTOS & Tasks. RL1.3
System on Chip. The Embedded System Design Process

Study of 8051/8051 ED2 Architecture Material Link

3,4 Embedded System Problem Specifications RL2.1

System Block Diagram Development, Selection of Hardware RL2.2


Components

Final System Design RL2.3

Study of Atmel ATMega 128 Architecture Material Link


5,6 Introduction to ARM CPU Architecture RL3.1

Programmers Model for ARM CPU, Operating Modes , Instruction RL3.2


set

ARM Exception Handling , Pipelining RL3.3

Comparative Study of ARM cores – ARMv4 to ARM Cortex Material Link

7 Introduction to LPC 23xx – AMBA Bus, Normal & Fast GPIO, RL4.1
Timer, Watchdog

LPC 23xx – Interrupts, ADC DAC, Communication Interfaces- SPI, RL4.2


I2C, I2S, SSP
8 Communication Interfaces- CAN, USB LPC23xx - DMAC RL4.3
9,10,11 Introduction to VLIW & DSP Architectures – Fixed Point & Floating RL5.1
Point DSP Processors Data Path

TMS 6000 series CPU Architecture – Programmers Model &VelocTI RL5.2


Architecture, Instruction Types & Addressing modes

DSP 64xx Peripherals – Interrupts, Timers, McBSP RL5.3

Architecture of 6710 – Floating Point DSP Processor Material Link

12,13 Introduction Multiprocessor, Distributed, and Networked Embedded RL6.1


System
Distributed System Design Example – Problem Specifications RL6.2

Design of the System Specifications of which are given in RL6.2 RL6.3

HC12 Microcontroller Architecture Material Link

14,15 System RL7.1


Modelling – Modelling using UML, Various UML Diagrams

Embedded System Design Process – Starting with modelling, RL7.2


Hardware Software Partioning

Compiler, Assemblers, Debuggers for Embedded Systems RL7.3

Different models using for Hardware Software portioning – relevant Material Link
papers will be provided
16 Tasks & Task Management, Context Switching RL8.1

IPC, Resource Sharing – Semaphores, Locks, Murexes RL8.2

RTS & RTOS – Basic Scheduling Strategies and Introduction to RL8.3


RTOS for Embedded Systems

Real Time Scheduling Algorithms Material Link

17 Fault Tolerant System Design, Safety Critical Embedded System RL9.1


Design

Hardware Software CoDesign, SoC Design Concepts RL9.2

Introduction to advanced areas of study & research in Embedded RL9.3


Systems

Performance Analysis, Testing and Debugging of Embedded Systems Material Link

Plan of LabWork
S. No. Topics References to Study
Materials for further
reading / Additional
Remarks
1 Study of Development Tools for Embedded System Design – LE1.1
Introduction to Keil for 8051

Home work Question will be announced later Home-Work

2 Lab Session – Development & Simulation of Software modules for LE2.1


the System Design covered in the recorded lectures

Home work Question will be announced later Home work

3 Introduction to Keil ARM LE3.1

ALP & Embedded C Program Exercises for ARMv4T HomeWork

4 Lab Session – Programming & Simulation of LPC 23xx based – LE4.1


Timers, ADC,DAC, RTC and USB

Home work Question will be announced later HomeWork

5. Introduction to CC Studio & Programming using TI DSP – Linear LE5.1


Convolution, Filter Design

Programming using 6455 Homework/Practice


6 Implementation of select software Modules of system designed in LE6.1
Recorded Lectures

Distributed System Design Problem Specifications will be given – Homework


students are expected to design using suitable processors & hardware

7 ArgoUML – system modelling using ArgoUML LE7.1

System Design Example- Using UML Practice


8 Use of the small RTOS available with Keil LE8.1

Home work Question will be announced later Homework


9 Case Study – Safety Critical Systems in Vehicular Automation LE9.1

Comparative study of commonly used Embedded System Homework


Development Tools & Platforms

Evaluation Scheme:

EC Evaluation Duration Weigh- Day, Date, Session,Time


No. Component & tage
Type of Examination
EC-1 Assignment/Quiz ** Details to be announced 15% ** Details to be announced
on LMS Taxila on LMS Taxila
website by website by
Instructor Instructor
EC-2 Mid-Semester Test 2 Hours 35% Saturday, 15/02/2014 (FN)*
(Closed Book)* 10 AM – 12 Noon
EC-3 Comprehensive Exam 3 Hours 50% Saturday, 05/04/2014 (FN)*
(Open Book)* 9 AM – 12 Noon

** Please check the details by January 10, 2014 on LMS Taxila web site.

AN: AfterNoon Session; FN: ForeNoon Session

Closed Book Test: No reference material of any kind will be permitted inside the exam hall.
Open Book Exam: Use of any printed / written reference material (books and notebooks) will be permitted inside the
exam hall. Loose sheets of paper will not be permitted. Computers of any kind will not be allowed inside the exam hall.
Use of calculators will be allowed in all exams. No exchange of any material will be allowed.
Note:
It shall be the responsibility of the individual student to be regular in maintaining the self study schedule as
given in the course handout, attend the online/on demand lectures as per details that would be put up in the
BITS LMS Taxila website www.taxila.bits-pilani.ac.in and take all the prescribed components of the
evaluation such as Assignment (Course Page on LMS Taxila), Mid Semester Test and Comprehensive
Examination according to the Evaluation Scheme given in the respective Course Handout. If the student is
unable to appear for the Regular Test/Examination due to genuine exigencies, the student must refer to the
procedure for applying for Make-up Test/Examination, which will be available through the Important
Information link on the BITS LMS Taxila website www.taxila.bits-pilani.ac.in on the date of the Regular
Test/Examination. The Make-up Tests/Exams will be conducted only at selected exam centres on the dates to
be announced later.
Instructor-in-Charge
BITS Pilani
Courseware Development Project

Courseware Development Plan

Course Title
Embedded System Design

Course Description
The course intends to cover the design issues involved in embedded systems and system-on-chip
technologies. The course also deals with the applications, programming languages and processor
architectures used for embedded systems. This course introduces the students to standard
Embedded System Development tools and gives a hands-on experience in developing various
embedded applications.

Courseware Development Team


Name email mobile
Lead Faculty K.R.Anupama [email protected] 9921860939
Name pilani.ac.in
Faculty Name Meetha.V.Shenoy [email protected] 9552536648
pilani.ac.in
Course
Development
Assistant
External Expert

Text Books
No Author(s), Title, Edition, Publishing House
T1 Wolf, Wayne, Computers as Components – Principles of Embedded Computing System
Design, Second Edition, Morgan-Kaufmann, 2010.

Reference Books
No Author(s), Title, Edition, Publishing House
R1 James.K.Peckol, Embedded System Design – A Contemporary Design Tool, Wiley Student
Edition, 2010
R2 Reference Manuals
(a) 8051 Microcontroller- Hardware Manual
(b) 8051RE2 Reference Manual
(c) Atmel ATMega 128 Reference Manual
(d) Motorola HCS12 Reference Manual
(e) ARM CPU Reference Manual
(f) LPC 23xx Reference Manual
(g) TI DSP 64xx Manual
(h) TI DSP 67xx Manual
R3
Legend
The following short names are primarily intended for the studio staff to organize the courseware for
storage and subsequent organization in the LMS.

M = Module, RL = Recorded Lecture, CS = Contact Session, LE = Lab Exercises, SS = Self Study,


HW = Home Work Problems

RL2.1 = Recorded Lecture 1 in module 2.


A recorded lecture will consist of a sequence of topic recordings (typically less 15 minutes each).

RL2.2.3 = Third topic recording in recorded lecture RL2.1

Modular Structure

Module Summary
No Title of the Module No of No of
Recorded Contact
Lectures Sessions
M1 Introduction To Embedded System Design 3(10) 2
M2 Small Scale Embedded System Design Example 3(8) 2
M3 Embedded Architectures- 1 RISC Architecture - ARM 3(10) 2
M4 Embedded Architectures -2 ARM based LPC 23xx 3(15) 2
M5 Embedded Architectures 3 – DSP Processors 3(15) 2
M6 Distributed & Multiprocessor Embedded System Design 3(15) 1
M7 Embedded Software Design - Modeling 3(8) 1
M8 Embedded Software: Tasks, Task Management & RTS 3(15) 1
M9 Advanced Embedded System Design Concepts 3(8) 1
Total: 27 14

Detailed Structure

M1: Introduction to Embedded System Design


Type Description/Plan/Reference
RL1.1 Characteristics & Embodiments of Embedded Systems, Classification of Embedded
Systems. Hardware & Software Components in an Embedded System
RL1.2 Hardware Components in an Embedded System – Processor Architectures, Memory
Types & Organisation, Cache Organization, Interrupts, Timers ,ADC/DAC
RL1.3 Software Components of an Embedded System – RTOS & Tasks. System on Chip. The
Embedded System Design Process
CS1.1 Cache Organization – Problems Related to Cache Organisation
CS1.2 Different Design Flows in Embedded Systems
LE1.1 Development Tools for Embedded System Design – Introduction to Keil for 8051
SS1.1 Study of 8051/8051 RE2 Architecture
HW1.1 Real Time Clock Generation using 8051RE2
PWM Generation using 8051RE2
M2: Small Scale Embedded System Design Example
Type Description/Plan/Reference
RL2.1 Embedded System Problem Specifications
RL2.2 System Block Diagram Development, Selection of Hardware Components
RL2.3 Final System Design
CS2.1 System Design Example -1 using 8051 ED2
CS2.2 System Design Example -2 using 8051 ED2
LE2.1 Lab Session – Development & Simulation of Software modules for the System Design
covered in the recorded lectures
SS2.1 Study of Atmel ATMega 128 Architecture
HW2.1 Redesign of system covered in Recorded Lecture using Atmel ATMega 128

M3: Embedded Architectures- 1 RISC Architecture - ARM


Type Description/Plan/Reference
RL3.1 Introduction to ARM CPU Architecture
RL3.2 Programmers Model for ARM CPU, Operating Modes , Instruction set
RL3.3 ARM Exception Handling , Pipelining
CS3.1 ARM Instruction Set – Arithmetic, Logic , Program Control Instruction
CS3.2 Programming Using ARM – ALP Examples
LE3.1 Lab Session – Introduction to Keil ARM
SS3.1 Comparative Study of ARM cores – ARMv4 to ARM Cortex
HW3.1 ALP & Embedded C Program Exercises for ARMv4T

M4: Embedded Architectures -2 ARM based LPC 23xx


Type Description/Plan/Reference
RL4.1 Introduction to LPC 23xx – AMBA Bus, Normal & Fast GPIO, Timer, Watchdog
RL4.2 LPC 23xx – Interrupts, ADC DAC, Communication Interfaces- SPI, I2C, I2S, SSP
RL4.3 Communication Interfaces- CAN, USB LPC23xx - DMAC
CS4.1 Examples for Timer using Interrupt Capture, Output Compare
CS4.2 Programming of USB Device & Host Controller of LPC23xx
LE4.1 Lab Session – Programming & Simulation of LPC 23xx based – Timers, ADC,DAC,
RTC and USB
SS2.1 Selected Peripherals of LPC 23xx – SCI, PWM and Ethernet Interfaces
HW2.1 Ethernet Controlled Radio using LPC 23xx

M5: Embedded Architectures 3 – DSP Processors


Type Description/Plan/Reference
RL5.1 Introduction to VLIW & DSP Architectures – Fixed Point & Floating Point DSP
Processors Data Path
RL5.2 TMS 6000 series CPU Architecture – Programmers Model & VelocTI Architecture,
Instruction Types & Addressing modes
RL5.3 DSP 64xx Peripherals – Interrupts, Timers, McBSP
CS5.1 Instruction set of TMS 60000
CS5.2 Programming using TMS 6000
LE5.1 Introduction to CC Studio & Programming using TI DSP – Linear Convolution, Filter
Design
SS5.1 Architecture of 6710 – Floating Point DSP Processor
HW5.1 Programming using 6455

M6: Distributed & Multiprocessor Embedded System Design


Type Description/Plan/Reference
RL6.1 Introduction Multiprocessor, Distributed, and Networked Embedded System
RL6.2 Distributed System Design Example – Problem Specifications
RL6.3 Design of the System Specifications of which are given in RL6.2
CS6.1 System Design Example – Distributed System
CS6.2 System Design Example – Distributed System - Contd
LE6.1 Implementation of select software Modules of system designed in Recorded Lectures
SS6.1 HC12 Microcontroller Architecture
HW6.1 Distributed System Design Problem Specifications will be given – students are expected
to design using suitable processors & hardware

M7: Embedded Software Design - Modeling


Type Description/Plan/Reference
RL7.1 System Modelling – Modelling using UML, Various UML Diagrams
RL7.2 Embedded System Design Process – Starting with modelling, Hardware Software
Partioning
RL7.3 Compiler, Assemblers, Debuggers for Embedded Systems
CS7.1 UML Diagrams & Examples
LE7.1 ArgoUML – system modelling using ArgoUML
SS7.1 Different models using for Hardware Software portioning – relevant papers will be
provided
HW7.1 System Design Example- Using UML

M8: Embedded Software: Tasks, Task Management & RTS


Type Description/Plan/Reference
RL8.1 Tasks & Task Management, Context Switching
RL8.2 IPC, Resource Sharing – Semaphores, Locks, Murexes
RL8.3 RTS & RTOS – Basic Scheduling Strategies and Introduction to RTOS for Embedded
Systems
CS8.1 Implementation of Semaphores, Mutexes, Locks, Pipes, Mail Boxes
LE8.1 Use of the small RTOS available with Keil
SS8.1 Real Time Scheduling Algorithms
HW8.1 Ethernet Controlled Radio using LPC 23xx with RTOS
M9: Advanced Embedded System Design Concepts
Type Description/Plan/Reference
RL9.1 Fault Tolerant System Design, Safety Critical Embedded System Design
RL9.2 Hardware Software CoDesign, SoC Design Concepts
RL9.3 Introduction to advanced areas of study & research in Embedded Systems
CS9.1 Fault Tolerant Design - Redundancy methods
LE9.1 Case Study – Safety Critical Systems in Vehicular Automation
SS9.1 Performance Analysis, Testing and Debugging of Embedded Systems
HW9.1 Comparative study of commonly used Embedded System Development Tools &
Platforms

Key Areas of Responsibility:


Role Name Key areas of responsibilities within modules
Lead K.R.Anupama Course Module Design- Lectures, Design of
Faculty material for modules, Design of Lab
Components
Faculty Meetha.V.Shenoy Lectures, Design of material for modules,
Team Design of Lab Components
CDA
External
Expert

In addition to the responsibilities allocated to the CDA, the CDA shall play a role of interfacing
between the SME (lead, co and external experts) and the LMS support.

You might also like