29
CS4101 嵌嵌嵌嵌嵌嵌嵌 Course Overview 嵌嵌嵌嵌嵌 嵌嵌嵌嵌嵌嵌嵌嵌嵌嵌嵌嵌

CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

Embed Size (px)

Citation preview

Page 1: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

CS4101 嵌入式系統概論

Course Overview

金仲達教授國立清華大學資訊工程學系

Page 2: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

2

Consider the Evolution of Watches

Page 3: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

3

How about Refrigerators?

Page 4: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

4

Picture Frames

Page 5: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

5

Cameras

Page 6: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

6

Glasses

Page 7: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

What is the trend?

Page 8: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

Physical Things Augmented with Computing/Communication

Computing/Communication “Embedded” into Physical Things

OR

Page 9: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

9

So, What Is Embedded System?

A computer, pretending not to be a computer

(Stephen A. Edwards)

Page 10: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

10

What Is Embedded System?

“ An embedded system is an application that contains at least one programmable computer ... and which is used by individuals who are unaware that the system is computer-based.”

-- Michael J. Pont, Embedded CProgrammable computers require programs

embedded software

Page 11: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

11

What Is an Embedded System?

Information processing systems embedded into a larger product [Peter Marwedel]Main reason for buying is not information

processing Any device that includes a programmable

processor but is not itself a general-purpose computer

Take advantage of application characteristics to optimize the design:Do not need all general-purpose bells and

whistles

Page 12: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

12

Same Basics Inside

CPU

mem

input

output analog

analog

embeddedcomputer

I/O and controlare most important

Page 13: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

13

Why Embedded Systems?

After all, we can still make phone calls with

Why embed a computer into a phone?

or

Page 14: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

14

Embedded vs Pure Hardware

Many electronic products are implemented in pure hardware (boards)Costly for specialized application-specific

integrated circuits (ASICs) (M$ range, technology-dependent)

Lack of flexibility (changing standards) Trend towards implementation in software

running on embedded processors (or possibly FPGAs)

(Peter Marwedel)

Page 15: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

15

Trends towards Software

Page 16: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

16

Some Concepts to Clarify

Embedded systems refer to not only small devices or gadgets

But also large, complex systems requiring strict reliability, real-time responses

Page 17: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

17

Some Concepts to Clarify

A product, e.g., video decoder, may be implemented using pure hardware or microprocessor + embedded softwareA chip may be implemented using pure logic

gates or a microprocessor + peripheral logic There must be some processors + software

An embedded system may or may not have OSSimple systems may be implemented by a single

program that runs continuouslySystems that need to control and respond to

many activities may require an OS for management

Page 18: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

18

Embedded = Smart

Computers embedded into objectsAugment objects with programmatic control,

communication, sensing, and actuation Let the world know you:

Make physical objects/phenomena accessible to digital world

Let you know the world:Give intelligence/life to physical objects

so that they can sense/reactPut a “robot” inside everything!

Page 19: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

19

Future Embedded Systems

Smart Grid Smart City

(Source: oncor.com, Prof. L.G. Chen)

Page 20: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

20

Future Embedded Systems

Smart GlassesUnmanned Cars

Retinal Implant

Page 21: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

21

Implications

Infinite opportunities and innovations

Integration: must know application domain, packaging, A/D, sensor/actuator, power, …

Innovation and execution

資工系的人有飯吃了 !資工系的人有飯吃了 !

Page 22: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

5/5/03 Mobisys Tutorial, San Francisco 22

A New Paradigm of Computing

year

log

(p

eo

ple

pe

r c

om

pu

ter)

Streaming informationto/from physical world

Number CrunchingData Storage

ProductivityInteractive

Mainframe

Minicomputer

Workstation

PC

Laptop

PDA

Page 23: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

23

About This Course

Principles behind the design of the course:Build the course around labs: Use labs to carry

out the course contents. Labs are to develop a simple embedded system, from I/O device to system

Cover basic concepts in embedded system development: interrupt, clocking, I/O, real-time system, OS service, development tools

Expose to assembly programming: MSP430 and ARM architecture and programming

Term project development: innovation, development process, communication and team work, learning-by-doing

Page 24: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

24

Lab Platforms

TI MSP430 LaunchPad

Freescale Kinetis Tower: TWR-K60D100M-KIT

Page 25: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

25

Labs (subject to change)

LaunchPad:Registers/addressing mode/IOStacksTimer and watchdogSerial communication interface, UART

Kinetis Tower Environment and cross-compilerBootloaderNon-OS embedded applicationReal-time OSDevice driver

Kinetis Tower integrated with LaunchPad

Page 26: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

26

Lectures

Discuss concepts related to the labsMay lack of a systematic discussion of

embedded systems and a comprehensive coverage of all important concepts

Page 27: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

27

What Will and Will Not Learn?

Will learn:Basic concepts of embedded systemsHands-on development of a system and know

what’s behindInnovation development, presentation, team

work

Will not learn (but important):Software engineering for embedded systemsSystem evaluation, optimization

Page 28: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

28

Course Information

教授 : 金仲達辦公室 : Delta 640 分機 : 42804email: [email protected]

助教 : 杜巧韻、陳志中、陳冠文辦公室: CSEE734 分機: 33553

上課時間 :週一 1:10–3:00週四 1:10–2:00

上課地點 : 台達 104 http://www.cs.nthu.edu.tw/~king/courses/

cs4101.html

Page 29: CS4101 嵌入式系統概論 Course Overview 金仲達教授 國立清華大學資訊工程學系

29

Expected Workload

Labs:Run on Monday in PC roomAt least 2 basic assignments to be completed

in class plus 1 advanced assignment for bonus Term project:

Proposal, progress report, final demonstration, project report

Grade breakdownAssignments and Labs 70%Term project 30%