System Software Design

Slides:



Advertisements
Similar presentations
System Software Design Frank Mirabelli. Motorola MC9S12DP512 Bus Frequency 24 MHz Available Memory 512K bytes Flash EEPROM, 4K bytes EEPROM, 14K bytes.
Advertisements

FatMax Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 LicenseCreative Commons Attribution-NonCommercial-ShareAlike 2.5.
Higher Computing Computer Systems S. McCrossan Higher Grade Computing Studies 7. Systems Software 1 System Software This software is used to provide the.
Real-time Systems Lab, Computer Science and Engineering, ASU Please Standby Galileo Tech Talk at ASU Will Begin Shortly.
Mark Schaumburg.  Dash Module for Formula Car  Sample pulse from engine for RPM  Display Information  Control gui  Can network interface  Request.
Architectural Support for Operating Systems. Announcements Most office hours are finalized Assignments up every Wednesday, due next week CS 415 section.
1 COMP541 VGA Character Terminal Montek Singh Mar 1, 2007.
Introduction to Computing Systems from bits & gates to C & beyond Chapter 8 Input/Output Basic organization Keyboard input Monitor output Interrupts DMA.
Chapter 8 Input/Output l I/O basics l Keyboard input l Monitor output l Interrupt driven I/O l DMA.
Basic Input Output System
SOC Consortium Course Material SoC Design Laboratory Lab 8 Real-time OS - 2 Speaker: Yung-Chih Chen Advisor: Prof. Chun-Yao Wang November 17, 2003 Department.
1 Lecture 20: I/O n I/O hardware n I/O structure n communication with controllers n device interrupts n device drivers n streams.
MicroC/OS-II S O T R.  MicroC/OS-II (commonly termed as µC/OS- II or uC/OS-II), is the acronym for Micro-Controller Operating Systems Version 2.  It.
System Software Design Review.  MCU: NXP LPC2378 ARM7 32-bit  512 KB Flash, 8KB EEPROM and SRAM  Bus Frequency: 20 MHz  Approximate Memory requirements:
 Home Security and Lighting System  Western Washington University  Jonathon Ross  28 April, 2009.
Turbine Flow Meter Kevin Hooks Senior Design Project.
System Software Design and Documentation Zach Hill Western Washington University.
Digital Handheld Communication and Navigation Device
Vinh Le.  MCU: Freescale Kinetis K60512 ARM Cortex M4  Bus Frequency: 50MHz  Available Memory: ◦ 512KB Flash ◦ 64KB SRAM  Memory Required: ◦ 10KB.
Ryan Hansgen. General System Design  MC9S08QE64CFT 24MHz Bus Frequency 64 K byte Flash EEPROM, 4.0 K byte RAM  Memory required 8 K bytes ROM 2 K bytes.
RFID Access Control System Lucius Knight. General System Design  Microcontroller  PSoC CY8C29466  24MHz Bus Frequency  Memory Available  32kB FLASH.
System Software Design Dane Kim May 4 th, 2009 EET 475, WWU.
BICYCLE SECURITY AND TRIP COMPUTER MATTHEW ROTHNIE WESTERN WASHINGTON UNIVERSITY 4/25/12.
By Jesse W. Spalding.  Microcontroller Choice  Motorola 9S12DP256B ◦ Set to 24 MHz for the Bus Frequency ◦ Memory  256K Bytes of ROM  12K Bytes of.
ATV INSTRUMENTATION DISPLAY System Design Ed Raezer Senior Project Western Washington University.
Multi-Access Lock Andrew Hall. General System Requirements MCU: MC9S12C128 Bus Frequency: 24MHz Memory Requirements: 11k bytes Flash EEPROM 3k bytes RAM.
System Software Design Engineer: Mac Gainor Western Washington University.
Machine Access System Software Design and Documentation Western Washington University By: Kevin Pogue.
Message Passing Akos Ledeczi EECE 6354, Fall 2015 Vanderbilt University.
LED CUBE Preliminary System Software Design Fernando J. Garcia May
Humidity Sensing Fan Controller Jason Huft 05/11/10.
System Software Design Dan Sweet May 6 th, 2008 Western Washington University Bicycle Power Meter.
Automatic Pressure Canning System System Software Design By: Michael Drysdale.
Atmospheric Data Measuring Rocket Software Design & Description Matt Buonadonna ADaM Code Presentation.
Software Design Review Andres Rodriguez. General System Design  MCU: STM32F405  MCU Bus Frequency: 84MHz  Memory Requirements  Flash: ~ 10Kb  RAM:
System Software Design GPS Training System Jason Corbridge May 8, 2008 Western Washington University.
LED CUBE Preliminary System Software Design Fernando J. Garcia May
WESTERN WASHINGTON UNIVERSITY KENT SYKES 2009 Audio Field Recorder System Software Design.
ATV INSTRUMENTATION DISPLAY System Software Design Ed Raezer.
Wireless Heart Rate Monitor. On-Person Unit MC13213 (HCS08)  16 MHz Bus Frequency  On Chip Resources 60K of Flash 4K of RAM  Require Resources 15K.
HOME CONTROL SYSTEM By: Justin E. Klumpp & Leo L.S. Wan Leo L.S. Wan.
Electronic Automotive Motor Control System Software Description Viking 32.
Voice Over IP – Software Western Washington University By: Jonathan R. Peterson.
Electronic Memory Game System Software Design Jack Sullivan May 08, 2007.
Embedded Real-Time Systems Processing interrupts Lecturer Department University.
Chapter 7: Semaphore Management Seulki Lee 1. Semaphore?  A protocol mechanism offered by most multitasking kernels  Control access to a shared resource.
The World Leader in High Performance Signal Processing Solutions Linux Industrial I/O Subsystem Open Platform Solutions Michael Hennerich.
Conserve-A-Watt System Software Design Justin Rapozo.
Chapter 1: Getting Started with μC/OS-II 1. kernel Introduction 2 LinuxμC/OS-II Task (process) kernel Device driver User mode (0-3G) (Kernel mode) 3G-4G.
Software Overview Walking Robot by Sharon Davis Kernel MicroC/OSII.
The Guardian: Refrigerator Contents Tracker Bryant Lampano Western Washington University Electronics Engineering Technology [Type the company name]
Automated Aquarium Controller System Software Design ETEC 474 Western Washington University By: Gregory Rose.
28 April 2005 Brushless DC Motor Controller Software Design Presentation Western Washington University Patrick Prendergast.
System Software Design Presentation Western Washington University Taylor Reijm.
Chip Config & Drivers – Required Drivers:
Chapter 1: Getting Started with μC/OS-II
Operating System Review
Wireless Optical USB Mouse
Lesson Objectives Aims Key Words Interrupt, Buffer, Priority, Stack
Wireless Heart Rate Monitor
Mobile Operating System
System Software Design by Chan-Chia (James) Chang
By: Justin E. Klumpp & Leo L.S. Wan
THE OPERATION SYSTEM The need for an operating system
Chapter 8 Input/Output I/O basics Keyboard input Monitor output
Operating System Review
Akos Ledeczi EECE 6354, Fall 2017 Vanderbilt University
Chapter 5: I/O Systems.
LINUX System : Lecture 7 Lecture notes acknowledgement : The design of UNIX Operating System.
Presentation transcript:

System Software Design Scrolling Message Display By: Derek Valleroy

Kernel Selection MicroC/OS-II Task Synchronization Message Passing with Semaphores and Buffers

Tasks and ISRs Main Task Startup Task User Interface Task LED Scroll Creates the startup task. Startup Task Initializes peripherals and creates message bitmaps. User Interface Task Allows users to change messages, sign intensity, speed, etc. Uses a PC with a terminal program. LED Scroll Continuously updates the Display to give a scrolling effect. Store String Stores messages in EEPROM. SCI Task Sends messages to the User Interface task. SCI ISR Queues data received from the keyboard.

Task/ISR Specs Task/ISR Priority Task Type Task Period Task Exec. Time CPU Load Average Peak Main -- 5us Startup 4 One time through User Interface 5 Sporadic 10ms 250ms (max) (avg.) 2ms .008 .2 LED Scroll 7 Periodic 20ms 72us .0036 Store String 8 100ms 18ms 5us (max) (avg.) .00005 .18 SCI task 6 (max) (avg.) 3us .000012 .0003 SCI ISR .5ms 250ms 2us .00006 .004 Total: .0122 .38

Module/Library Description MessDisp.c Contains the main source code and User Interface code. LEDWrite.c Provides LED drivers with the proper signals. BasicIO.s12 Used for terminal communication with SCI. ASCIItoMEM.c Contains the code for storing messages in EEPROM. SCI.c SCI task code and ISR.

Module/Library Description MessDisp.c The module that is most specific to this project. Functions: none Public Data: mssgpntr, speedpntr, intenspntr Tasks: main(), startup(), UItask()

Module/Library Description LEDWrite.c Communicates with the LED drivers over the SPI. Functions: SPIInit(), DriverInit(), LEDWrite() Data: none Tasks: LEDScroll()

Module/Library Description BasicIO.s12 Contains routines for SCI communication. (reused code) Source: Todd Morton. Functions: sci_open(), putstrng(), outcrlf(), getchar() Data: none Tasks: none

Module/Library Description ASCIItoMEM.c Stores messages in EEPROM. Also converts a string of ASCII characters into a bitmap. Functions: EEPROMInit(), Bitmap() –public Data: mssgpntr,speedpntr,intenspntr Tasks: StoreString()

Module/Library Description SCI.c Takes care of user inputs from a keyboard. An ISR signals an incoming character and the SCItask stores it in a buffer. Functions: SCIinit() Data: keychar –public Tasks: SCItask()

Intertask Communications messpntr speedpntr Store String intenspntr OSQpend() SCI ISR Ready Flag OSSemPend() OSSemPost() OSQpost() SCI Data Data Data Bitmap() Ring Buffer Message Bitmap SCI Task User Interface Task messpntr OSSemPost() OSSemPend() Ack Flag LED Scroll