CSE466 - Fall 2000- 1 What is an Embedded System  Its not a desktop system  Fixed or semi-fixed functionality (not user programmable)  Lacks some or.

Slides:



Advertisements
Similar presentations
7/23 CSE 325 Embedded Microprocessor System Design Fall 2010 Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang.
Advertisements

Introduction CSCI 444/544 Operating Systems Fall 2008.
CMSC 421: Principles of Operating Systems Section 0202 Instructor: Dipanjan Chakraborty Office: ITE 374
Chapter 1: Introduction
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
CSE Fall Introduction - 1 What is an Embedded Systems  Its not a desktop system  Fixed or semi-fixed functionality (not user programmable)
Grading Lab reports: 10pts each. Demo required Homeworks: 3 points each (will be scaled by difficulty) Ratios –Lab: 25% –Homework 25% –Quizzes total 25%
1/16/2008CSCI 315 Operating Systems Design1 Introduction Notice: The slides for this lecture have been largely based on those accompanying the textbook.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
ASPPRATECH.
Microcontroller 8051.
Microcontroller: Introduction
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
The 8051 Microcontroller architecture
NetBurner MOD 5282 Network Development Kit MCF 5282 Integrated ColdFire 32 bit Microcontoller 2 DB-9 connectors for serial I/O supports: RS-232, RS-485,
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Slides created by: Professor Ian G. Harris Test and Debugging  Controllability and observability are required Controllability Ability to control sources.
 H.M.BILAL Operating System Concepts.  What is an Operating System?  Mainframe Systems  Desktop Systems  Multiprocessor Systems  Distributed Systems.
Sogang University Advanced Computing System Chap 1. Computer Architecture Hyuk-Jun Lee, PhD Dept. of Computer Science and Engineering Sogang University.
PRESENTED BY :BIREN KUMAR SAMAL ADMISSION NO:22I&E/2000.
Other Chapters From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
1.1 Operating System Concepts Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
Hardware-software Interface Xiaofeng Fan
MICROPROCESSOR AND MICRO CONTROLLER
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Presented by Sadhish Prabhu
Slides created by: Professor Ian G. Harris Embedded Systems  Embedded systems are computer-based systems which are embedded inside another device (car,
Chapter Microcontroller
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
Embedded Real-Time Systems Introduction to embedded software development Lecturer Department University.
HJD Institute of Technical Education & Research- Kera(Kutch) The 8051 Microcontroller architecture PREPARED BY: RAYMA SOHIL( )
Embedded System Design and Development Introduction to Embedded System.
A Quick Start Guide to PIC16F877 microcontroller And Microchip Development Environment A Quick Start Guide to PIC16F877 microcontroller And Microchip Development.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
FOR MORE CLASSES VISIT   ECET 340 Week 1 HomeWork 1  ECET 340 Week 1 iLab 1  ECET 340 Week 2 HomeWork 2  ECET 340 Week 2 iLab.
WATER LEVEL INDICATOR AND AUTOMATIC MOTOR SWITCHING SYSTEM
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real.
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real.
Case Study #1 Microcontroller System. What is a microcontroller? A microcontroller can be considered a self-contained system with a processor, memory.
ENERGY METER TO INDICATE BILLING IN RUPEES FOR LOAD WISE OR DAY WISE
The 8051 Microcontroller architecture
Chapter 1: Introduction
PROPELLER DISPLAY OF MESSAGE BY VIRTUAL LEDS
Microcontrollers & GPIO
SOLID STATE RELAY WITH ZVS PROPERTIES ANALYZED ON CRO
SCADA for Remote Industrial Plant
PC Mouse operated Electrical Load Control Using VB Application
Chapter 1: Introduction
Chapter 1: Introduction
Technology Literacy Hardware.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
ECET 340 Competitive Success/snaptutorial.com
ECET 340 Education for Service-- snaptutorial.com.
ECET 340 Teaching Effectively-- snaptutorial.com.
Introduction to Microprocessors and Microcontrollers
Journey: Introduction to Embedded Systems
CS 501: Software Engineering Fall 1999
Chapter 1: Introduction
Language Processors Application Domain – ideas concerning the behavior of a software. Execution Domain – Ideas implemented in Computer System. Semantic.
Embedded System Development Lecture 1 1/10/2007
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Wireless Embedded Systems
Chapter 1: Introduction
Chapter 1: Introduction
Presentation transcript:

CSE466 - Fall What is an Embedded System  Its not a desktop system  Fixed or semi-fixed functionality (not user programmable)  Lacks some or all traditional human interfaces: screen, keyboard, pointing device, audio  May have stringent real-time requirements (Hard and Soft)  Usually has sensors and actuators for interface to physical world  Figures of Merit  Reliability – it can never crash  Safety – Involves things that move and can harm/kill a person  Power Consumption – may run on limited power supply. Want slowest possible clock, least amount of memory. You will always be resource constrained!  Cost – Engineering Cost, Mfg Cost, Schedule tradeoffs  Product life cycle issues: maintainability, upgradeability, serviceability  Performance

CSE466 - Fall Live without?  Live Without  User Interface  Dynamic Linking and Loading  Virtual Memory, Protection Modes  Disk  Processes  Instead we have  Real Time Kernel (very small OS)  Tasks (threads)  Task communication primitives  ADC  Timers  Event Capture  PWM

CSE466 - Fall An Example: Temp Controller w/ 8-Pin PIC MCU thermister TACH (pwm) SPEED (pwm) AN2 INT VREF GP0 GP4 PWM signal Task: Tachometer (external interrupt) now = getTime(); period = then - now; //overflow? then = now; return; Task: FanPWM (periodic, hard constraint) count++; if (count == 0) GP0 = 1; if (count > Thi) GP0 = 0; return; Task: TempControl (periodic, soft constraint) if (Temp > setpoint) Thi++; if (Temp < setpoint) Thi--; if (period max) GP4 = 1; Task: Main Thi = 0; setup timer for 1ms interrupt; setup timer for 100ms interrupt; while (1) ;

CSE466 - Fall Capacity  Assume:  4 MHz one instruction/cycle  Assume fan runs between 30Hz and 60Hz  Assume 256ms period on speed control PWM, with 1ms resolution.  What percent of the the available cycles are used for the temperature controller?  [total instruction in one second] / (4m I/sec)  How much RAM do you need?  How much ROM?

CSE466 - Fall Policies  Design  Part of lecture will be devoted to lab project design discussion and review  Take turns writing up design meeting notes.  Build it in the lab  Homeworks will be short but will precede lecture. Probably 2/week. Graded on an “effort” bases (1, 2, or 3 points). Must be turned in prior to start of class when due.  Lecture  See Syllabus and Schedule. Generally coordinated with design problems  Lab  Implementation of the design, as specified in class  Lab reports due prior to start of Wednesday lab section (2:30pm)  Quizzes  Probably 2. Based on lecture and lab  Final  Reading and Source Material

CSE466 - Fall Business Matters  Sign-up for CSE466 mailing list (majordomo)  I will generally distribute notes for lecture after using them  Establish a rotation for design meeting write-up – alphabetical?  Quizzes are open book  Go to the 466/schedule link for links to lecture notes, labs, etc.  If you have a home PC, get the tools!  The Documents  Instruction set  Architecture overview (8051 Standards)  Hardware Description – Applies to all Atmel 8051 Variants (89C55 is like the 89C52 but less flash program memory)  89C55 DataSheet, specifics for our part. Timer2, Electrical Specs, etc.  Online: Keil Getting Started Guide, C51 Manual, A51 Manual, BL51 Manual

CSE466 - Fall Grading  Lab reports: 10pts each. Demo required  Homeworks: 3 points each (will be scaled by difficulty)  Ratios  Lab: 25%  Homework 25%  Quizzes total 25%  Final 15%  Class Participation 10%

CSE466 - Fall CSE466 Syllabus  Introduction: What is an Embedded System.  Characteristics  Figures of Merit  An Example  Our Design Problem  Embedded Hardware  Digital Circuits  Microcontrollers  Memory and I/O (RS-232, UART) (memory mapping)  Physical World Interfaces (sensors and actuators)  The 8051 Architecture and the Keil Tools  Development Environment  Assembly Language  Simulation  Debugging  C for Microcontrollers  Monitors, ICE, Single Stepping, Breakpoints, etc.  Embedded Operating Systems (Real Time OS)  Scheduling  Synchronization and Communication  Response Time  Device Drivers  Embedded Networking  Safety, Ethics, and Societal Impact

CSE466 - Fall Projects  First Project – Streaming Music Synthesizer on an 8-bit micro-controller  Second Project – Embedded Web Server on the Intrinsic Board

CSE466 - Fall Lab MCU Atmel 89C55 +5V P2 Resistor Pack +5V Value on DIP switch controls LED frequency GND, VCC, XTAL, EA, Reset P1.1