Senior DesignSoftware-1Seattle Pacific University High-level Software Design Context Diagram Connections between major components Synchronization with.

Slides:



Advertisements
Similar presentations
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
Advertisements

Chapter 10 Input/Output Organization. Connections between a CPU and an I/O device Types of bus (Figure 10.1) –Address bus –Data bus –Control bus.
Processor System Architecture
Chapter 7 Structuring System Process Requirements
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
Architectural Support for Operating Systems. Announcements Most office hours are finalized Assignments up every Wednesday, due next week CS 415 section.
Group 4 Rotationally Refreshed Display Patrick Boyd Daniel Hill.
OS Spring’03 Introduction Operating Systems Spring 2003.
ECE200 – Computer Organization Chapter 8 – Interfacing Processors and Peripherals.
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
Coordinate Based Tracking System
1 Project supervised by: Dr Michael Gandelsman Project performed by: Roman Paleria, Avi Yona 26/4/2004 Multi-channel Data Acquisition System Final_A Presentation.
Chapter 5 Input/Output I/O Hardware I/O Software Software Layers Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights.
Midterm Wednesday 11/19 Overview: 25% First Midterm material - Number/character representation and conversion, number arithmetic - DeMorgan’s Law, Combinational.
Microcontroller based system design
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
Lesson 7 Guide for Software Design Description (SDD)
COMP201 Computer Systems Exceptions and Interrupts.
SunGuide SM Software Development Project Ramp Meter Firmware Discussions August 8, 2006.
Input/Output mechanisms
Input and Output Computer Organization and Assembly Language: Module 9.
Event Driven Programming
1 SERIAL PORT INTERFACE FOR MICROCONTROLLER EMBEDDED INTO INTEGRATED POWER METER Mr. Borisav Jovanović, Prof.dr Predrag Petković, Prof.dr. Milunka Damnjanović,
MICROPROCESSOR INPUT/OUTPUT
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
2007 Oct 18SYSC2001* - Dept. Systems and Computer Engineering, Carleton University Fall SYSC2001-Ch7.ppt 1 Chapter 7 Input/Output 7.1 External Devices.
Computer Architecture Lecture10: Input/output devices Piotr Bilski.
MICROPROCESSOR AND MICRO CONTROLLER
2 nd Year - 1 st Semester Asst. Lect. Mohammed Salim Computer Architecture I 1.
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
CH10 Input/Output DDDData Transfer EEEExternal Devices IIII/O Modules PPPProgrammed I/O IIIInterrupt-Driven I/O DDDDirect Memory.
L/O/G/O Input Output Chapter 4 CS.216 Computer Architecture and Organization.
Chapter 5 Input/Output 5.1 Principles of I/O hardware
Interrupts Microprocessor and Interfacing
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
Input Output Techniques Programmed Interrupt driven Direct Memory Access (DMA)
1.The following diagram illustrates the relationship among various hardware components. The arrows indicate the directions of data flow. Activity 1 Relationship.
بسم الله الرحمن الرحيم MEMORY AND I/O.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
8255:Programmable Peripheral Interface
Interrupts and Exception Handling. Execution We are quite aware of the Fetch, Execute process of the control unit of the CPU –Fetch and instruction as.
11/3/2000cmd_soh1 SOH and CMD Current Status. 11/3/2000cmd_soh2 ISUAL Flight Software 0.0 SOH Telemetry CMD Input Debug I/O.
By.  The main aim of this project is to get information about the condition of the baby, which is in ICU through blue tooth medium.  In earlier days,
DEPARTMENT OF ELECTRONICS ENGINEERING V-SEMESTER MICROPROCESSOR & MICROCONTROLLER 1 CHAPTER NO microcontroller & programming.
Computer Architecture. Top level of Computer A top level of computer consists of CPU, memory, an I/O components, with one or more modules of each type.
Types of format of data transfer
Business System Development
Microcontrollers & GPIO
Microprocessor Systems Design I
UNIT – Microcontroller.
Chapter 10 Input/Output Organization
Operating Systems (CS 340 D)
CS 286 Computer Organization and Architecture
Introduction to Microprocessors and Microcontrollers
Computer Fundamentals
Programmable Peripheral Interface
Programmable Peripheral Interface
Wireless Embedded Systems
Chapter 13: I/O Systems.
Chapter 13: I/O Systems “The two main jobs of a computer are I/O and [CPU] processing. In many cases, the main job is I/O, and the [CPU] processing is.
Presentation transcript:

Senior DesignSoftware-1Seattle Pacific University High-level Software Design Context Diagram Connections between major components Synchronization with external events Polling or interrupts Major software structures Device drivers Bridge between HW and SW

Senior DesignSoftware-2Seattle Pacific University Context Diagram Show software connections between components Indicate which drivers are needed Indicate where interrupt handlers are needed RTC Buttons EEROM LCD A/D RS232 Example for logging meter (Interrupt Driven) MCU Read Data Change Mode Store Data Set Clock Send Data to PC Display Data Driver I/H Driver I/H Data Control Main Loop (Do nothing) Reset (To all Drivers)

Senior DesignSoftware-3Seattle Pacific University External Synchronization External events may be discovered in two ways Polling  Check for new data on a regular basis  Main program has to integrate polls into the main loop Interrupts  External events announce themselves  Must carefully write interrupt handlers  Main program doesn’t have to be aware of what is going on with interrupts Choices If your product is driven mostly by external events, use interrupt-driven If your produce systematically goes through processes, use polling

Senior DesignSoftware-4Seattle Pacific University Device Drivers Interface between hardware and software Provide a package of easy-to-use subroutines to control and transfer data to external device Main software never “touches” I/O ports – instead uses device driver subroutines Benefits If hardware changes, only the device driver changes, not the main software Programmers don’t have to understand the details of all of the hardware Consistent methods of accessing and controlling external devices

Senior DesignSoftware-5Seattle Pacific University Software Architecture Document Introduction Explain the role of software in your product Context diagram Draw a diagram showing how the major hardware components of your system are connected with software  Indicate where device drivers and interrupt handlers will be used Software structure overview Describe major control flow  Interrupt-driven, polling, hybrid, etc… Include rationale for your choice

Senior DesignSoftware-6Seattle Pacific University Software Architecture Document Main software routines Describe main software routines  Purpose, inputs, outputs and effects Include diagrams when useful Device drivers (separate document, due later) Describe software interface to each device driver  List all driver subroutines including parameters  Describe data structures needed Indicate which MCU port pins/busses will be used for each hardware component