CSE 474 – Introduction To Embedded Systems

3y ago
4.52 MB
16 Pages
Last View : 5d ago
Last Download : 4m ago
Upload by : Azalea Piercy

CSE 474 – Introduction to Embedded SystemsnInstructor:qBruce HemingwaynnnqqCSE 464, Office Hours: 11:00-12:00 p.m., Tuesday, Thursdayor whenever the door is openbruceh@cs.washington.eduTeaching Assistants:Cody Ohlsen, Kendall Lowrey and Ying-Chao (Tony) TungCSE 474Introduction1CSE 474 – Software for Embedded SystemsnClass Meeting Times and Location:qqnLectures: EEB 037, TTh 2:30-4:20Labs: EEB 345, 24/7 accessExamsqqCSE 474Midterm: Tuesday, Feb. 7, EEB 037, 2:30-4:20Final: Tuesday, March 14, 2017, 430-620 pm, EEB 037Introduction21

CSE 474 – Software for Embedded SystemsnGrading PolicyqqnThere will be two exams, as shown on the class schedule.Lab reports: Demo usually required, sometimes questionsRatios:qqqLab: 40%Exams total: 40%Class Participation: 20%CSE 474Introduction3Recommended Textbook (not required):The Definitive Guide to ARM Cortex -M3 and Cortex -M4Processors, Third EditionBy Joseph YiuNewnes; 3 edition (November 1,2013)U Bookstore doesn’t have it.CSE 474Introduction42

Other Textbook (not required):nEmbedded Systems: AContemporary Design ToolPaperback – 2009nby James K PeckolU Bookstore has used hardback.CSE 474Introduction5Introduction6Embedded systemsCSE 4743

Embedded systemsCSE 474Introduction7What are Embedded Systems?Anything that uses a microprocessor but isn't a general-purpose computer– Smartphones– Set-top boxes– Televisions– Video Games– Refrigerators– Cars– Planes– Elevators– Remote Controls– Alarm Systemsn The user “sees” a smart (special-purpose) system as opposed to the computer inside thesystem “how does it do that?” “it has a computer inside it!” “oh! BTW, it does not or cannot run Windows or MacOS!”– the end-user typically does not or cannot modify or upgrade the internalsCSE 474Introduction84

What Are You Going to Learn? Hardware– I/O, memory, busses, devices, control logic, interfacing hardwareto software Software– Lots of C and assembly, device drivers, low levelreal-time issues, scheduling,– Concurrency: interrupts Software/Hardware interactions– Where is the best place to put functionality hardwareor software?– What are the costs: performance, memory requirements (RAM and/or FLASH ROM) Integration of hardware and software courses– Programming, logic design, architecture,– Algorithms, mathematics and common senseCSE 474Introduction9Where Could You End Up?Automotive systems– perhaps designing and developing “drive-by-wire” systems-- self-driving vehicles Telecommunications Consumer electronics– cellular phones, MP3 devices, integrated cellular/tablet/kitchen sink– Set-top boxes and HDTV– Home appliances– Internet appliances your washer will be on the internet more than you are! Defense and weapon systems Process control– gasoline processing, chemical refinement Automated manufacturing– Supervisory Control and Data Acquisition (SCADA) Space applications– Satellite communicationsnCSE 474Introduction105

Goals of the CourseHigh-Level Goals1. Understand the scientific principles and concepts behind embedded systems,and2. Obtain hands-on experience in programming embedded systems.By the end of the course, you should be able to Understand the "big ideas" in embedded systems Obtain direct hands-on experience on both hardware and software elementscommonly used in embedded system design. Understand the basics of embedded system application concepts such as signalprocessing and feedback control Understand, and be able to discuss and communicate intelligently about– embedded processor architecture and programming– I/O and device driver interfaces to embedded processors with networks,multimedia cards and disk drives– OS primitives for concurrency, timeouts, scheduling, communication andsynchronizationnCSE 474Introduction11The Big Ideas HW/SW Boundary Non processor centric view of architecture Bowels of the operating software– specifically, basic real-time operation with interrupts– Concurrency Real-world design– performance vs. cost tradeoffs Analyzability– how do you “know” that your drive-by-wire system will function correctly? Application-level techniques– signal processing, control theory– semaphores, locks, atomic sectionsCSE 474Introduction126

What is an Embedded System? Computer purchased as part of some other piece of equipment– Typically dedicated software (may be user customizable)– Often replaces previously electromechanical components– Often no “real” keyboard– Often limited display or no general purpose display device But, every system is unique there are always exceptionsCSE 474Introduction13CPU: An All-Too-Common View of Computing Measured by:– PerformanceCSE 474Introduction147

An Advanced Computer Engineer's View Measured by: Performance Compilers matter too.CSE 474Introduction15An Enlightened Computer Engineer's View Measured by: Performance, CostCompilers & OS mattersCSE 474Introduction168

An Embedded Computer Designer's View Measured by: Cost, I/O connections, Memory Size,PerformanceCSE 474Introduction17An Embedded Control System Designer's View Measured by:Cost, Time to market, Cost, Functionality, Cost & Cost.CSE 474Introduction189

A Customer View– Reduced Cost– Increased Functionality– Improved Performance– Increased Overall DependabilityCSE 474Introduction19Why Are Embedded Systems Different?Four General Categories of Embedded Systems General Computing– Applications similar to desktop computing, but in an embedded package– Video games, settop boxes, wearable computers, automatic tellers– Tablets, Phablets Control Systems– Closed loop feedback control of real time system– Vehicle engines, chemical processes, nuclear power, flight control Signal Processing– Computations involving large data streams– Radar, Sonar, video compression Communication & Networking– Switching and information transmission– Telephone system, Internet– Wireless everythingCSE 474Introduction2010

Typical Embedded System Constraints Small Size, Low Weight– Handheld electronics– Transportation applications weight costs money Low Power– Battery power for 8 hours (laptops often last only 2 hours)– Limited cooling may limit power even if AC power available Harsh environment– Heat, vibration, shock– Power fluctuations, RF interference, lightning– Water, corrosion, physical abuse Safety critical operation– Must function correctly– Must not function incorrectly Extreme cost sensitivity– .05 adds up over 1,000,000 unitsCSE 47421IntroductionEmbedded System Design World-ViewA complex set of tradeoffs: Optimize for more than just speed Consider more than just the computer Take into account more than just initial product designMulti-Discipline Electronic Hardware Software Mechanical Hardware Control Algorithms Humans Society/InstitutionsCSE 474xMultiPhase Requirements Design Manufacturing Deployment Logistics RetirementIntroductionxMultiObjective Dependability Affordability Safety Security Scalability Timeliness2211

Embedded System Designer Skill Set Appreciation for multidisciplinary nature of design– Both hardware & software skills– Understanding of engineering beyond digital logic– Ability to take a project from specification through production Communication & teamwork skills– Work with other disciplines, manufacturing, marketing– Work with customers to understand the real problem being solved– Make a good presentation; even better write trade rag'' articles And, by the way, technical skills too.– Low-level: Microcontrollers, FPGA/ASIC, assembly language, A/D,D/A– High-level: Object oriented Design, C/C , Real Time OperatingSystems– Meta-level: Creative solutions to highly constrained problems– Likely in the future: Unified Modeling Language, embeddednetworksCSE 474Introduction23Class logistics – see course /cse474/17wi/Class structureBusiness mattersGradingSyllabusWhat we’ll be doingCSE 474Introduction2412

Class structurenLectureqqnLabqqnWork leading to implementation of a final projectLab reports due by end of weekExamsqqnClosely linked to laboratory assignmentsCover main concepts, introduce laboratory problemsTwo, based on lecture, lab, and datasheet readingOpen datasheets, open notesFinal demoqDuring last class time – participation requiredCSE 474Introduction25Business MattersnLecture notes will be on line after class (links onCalendar page)nYou pick lab partner assignments, or we willnSign up for CSE474 mailing listCSE 474Introduction2613

GradingnLab reports:qqqqqnDemonstration(s) requiredBrief answers to questions embedded in assignmentSometimes hand-in codeDo with your partnerBoth build hardwareDistribution:qqqLabs: 40%Exams: 40%Class Participation: 20%CSE 474Introduction27CSE466 Lab ContentnArm Cortex M4 processorqqqnResourcesqqqqqqnBegin with basics and buildDo with your lab partnerYou can work off-siteFreescale Arm Processor320x240 Color LCD displaySwitch, potentiometerAccelerometer with gyroscopeTri-color LED, NeoPixels, Bluetooth BLELearn how to interface various devicesFinal projectqqqCSE 474Heart-rate monitor– a mini ECGLCD display of heart traceMeasure heart rate, basic arhythmia detectionIntroduction2814

Freescale MK20DX256VLH7 processorCSE 474Introduction29CSE 474Introduction3015

CSE466 LabsFinal Project – Using the Teensy 3.1Build a Heart Rate MonitornnCSE 474Introduction31Assignment for Thursday:Review the K20 Sub-Family Reference ManualMK20DX256 Manual (8.0M PDF), for Teensy 3.1 (This manualhas all the useful programing info)nqChapter 2: Introduction and Functional ModulesDownload 474/17wi/pdfs/K20P64M72SF1RM.pdf(link is on the Resources page.)CSE 474Introduction3216

1 CSE 474 Introduction 1 CSE 474 – Introduction to Embedded Systems n Instructor: q Bruce Hemingway n CSE 464, Office Hours: 11:00-12:00 p.m., Tuesday, Thursday n or whenever the door is open n bruceh@cs.washington.edu q Teaching Assistants: q Cody Ohlsen, Kendall Lowrey and Ying-Chao (Tony) Tung CSE 474 Introduction 2

Related Documents:

92 vipul sharma it 93 rishabh jain cse 94 manik arora cse 95 nishant bhardwaj cse . 96 rajit shrivastava it 97 shivansh gaur cse 98 harsh singh cse 99 shreyanshi raj cse 100 rahul bedi cse 101 pallavi anand cse 102 divya cse 103 nihal raj it 104 kanak

cse-148 kuriakose jijo george n t george cse-149 kusum joshi ramesh chandra joshi cse-150 m mithun bose n k mohandasan cse-151 madhuri yadav rajbir yadav cse-152 malini shukla r s sharma cse-153 manisha khattar sunil kumar khattar cse-154 m

CSE 440: Introduction to HCI CSE 441: Advanced HCI CSE 510: Advanced Topics in HCI CSEP 510: Human-Computer Interaction CSE 332: Data Structures. Who We Are You Computing. Who We Are Eunice Jun Prefer: Eunice / She / Her Background: BS,Cognitive Studies & Computer Science Vanderbilt, 2016

2. Embedded systems Vs General Computing system Page 4 Sec 1.2 ; 3. History of embedded systems , classification of embedded system Page 5,6 Sec 1.3 , Sec 1,4 . 4. Major application area of embedded sys Page 7 Sec 1.5 5. Purpose of embeded system Page 8 Sec 1.6 6. Typical Embedded sys: Core of embedded system Page 15 Chap 2 : 7. Memory Page 28

CSE Citation Style – Quick Guide 7th Edition 1 This guide outlines how to cite some of the more common information sources in the Council of Science Editor’s (CSE) Style Name-Year system. For a comprehensive listing, please consult: Scientific Style and Format: The CSE Manual for Authors, Editors, and Publishers, 7th edition

F14 CSE550 45 Combinatorial Algorithms and Intractability S14 CSE 555 46 Advanced Theory of Computation S14 CSE591/MAT591 40 Combinatorial Design Theory F13 CSE 355 82 Intro Theory of Computation F13 CSE 552 32 Randomized and Approximation Algorithms S13 CSE 555 30 Advanced Theory of Computation S1

PowerPoint presentation CSE Training Handbook Contains the WAC 296-809-100 Outlines what you must do CSE Training Resource Tools for setting up your CSE program Confined Space Entry Program Resources Four Major Sections: WAC 296-809 –Confined Spaces Identify and Control permit-requi

INTERNATIONAL GCSE Accounting . SPECIFICATION Pearson Edexcel International GCSE in Accounting (4AC1) For first teaching in September 2017 First examination June 2019