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

Slides:



Advertisements
Similar presentations
FatMax Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 LicenseCreative Commons Attribution-NonCommercial-ShareAlike 2.5.
Advertisements

McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Business Plug-In B3 Hardware and Software (on OLC)
How Much Do I Remember? Are you ready to play.....
سیستم آلارم دیجیتالی مجهز به ثبات خطا
Peripheral Storage Devices
Mehdi Naghavi Spring 1386 Operating Systems Mehdi Naghavi Spring 1386.
1 Overview Assignment 4: hints Memory management Assignment 3: solution.
Chapter 5 Computing Components.
Chapter 5 The System Unit.
P3- Represent how data flows around a computer system
Programmable Interval Timer
Digital Thermostat and Data Logger Brandon Wagner and David Southwick.
Mark Schaumburg.  Dash Module for Formula Car  Sample pulse from engine for RPM  Display Information  Control gui  Can network interface  Request.
Computer Basics. The Computer (Generic) Processor executes commands. Memory stores program and data. Input devices transfer information from outside world.
CS 0008 Day 2 1. Today Hardware and Software How computers store data How a program works Operators, types, input Print function Running the debugger.
Microcontroller: Introduction
TextWand Programmable LED Display Carlos Vila-Virella and Andy Campanella.
Operating Systems  By the end of this session, you will know: What an Operating System is. The functions it performs.
BlueECG System Software Design Western Washington University By: Corey Williamson.
Operating Systems Lesson Objective: Understanding the functions of an operating system. Learning Outcome: Answer some basic questions on operating systems.
ECGR-6185 µC/OS II Nayana Rao University of North Carolina at Charlotte.
Minds and Computers 2.1 The RCX l Hitachi H8/3297 series processor l 3 inputs/sensors (1, 2, 3) l 3 outputs/motors (A, B, C) l 32k RAM/ 16k ROM ä 12 kB.
Michael Nist. System Software Design  MCU (2): CY8CPLC20 8-bit  32 KB Flash, 2 KB SRAM  Bus Frequency: 24 MHz  Memory requirements:  Main Controller:
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.
SYSTEM SOFTWARE DESIGN JAMES ZUROSKE Pet Proximity Sensor.
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
Lost Item Pager System Design Russ Kinley 5/6/6008.
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.
Digitally Configurable Audio Routing Patchbay DCARP System Software Presentation Aaron Cramer Western Washington University 2009.
Operating Systems. Categories of Software System Software –Operating Systems (OS) –Language Translators –Utility Programs Application Software.
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.
GPS Enhanced PFD System Software Presentation Eric Grossmann.
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.
System Software Design Doorbell Jukebox Henry Arbicor and Arthur Bingcang.
Voice Over IP – Software Western Washington University By: Jonathan R. Peterson.
Electronic Memory Game System Software Design Jack Sullivan May 08, 2007.
Conserve-A-Watt System Software Design Justin Rapozo.
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.
System Software Design Presentation Western Washington University Taylor Reijm.
Wireless Optical USB Mouse
Wireless Heart Rate Monitor
System Software Design by Chan-Chia (James) Chang
By: Justin E. Klumpp & Leo L.S. Wan
System Software Design
Arduino म्हणजे काय?.
Presentation transcript:

System Software Design Frank Mirabelli

Motorola MC9S12DP512 Bus Frequency 24 MHz Available Memory 512K bytes Flash EEPROM, 4K bytes EEPROM, 14K bytes RAM Required Memory 10K bytes ROM 5K bytes RAM 256K bytes of Flash MicroC/OS-II Real-time preemptive multitasking kernel 1 ms tick period

Start TaskPriority: 4 Button TaskPriority: 5 WB TaskPriority: 6 Sensor TaskPriority: 7 Display TaskPriority: 8 Logger TaskPriority: 9 Clock TaskPriority: 10 Terminal TaskPriority: 11

Creates other tasks Initializes MicroC/OS, Clock, LED, and LCD Priority: 4 Period: Executes only once at startup Execution Time: ~ 200 ms (max)

Senses button presses Debounces buttons Priority 5 Period: 20 ms (periodic) Execution Time: 20 us (max) CPU Load: 0.1%

Controls the operation of the Wideband Sensor Heats and holds sensor in operating range Reads and stores A/F ratio reading Priority 6 Period 20ms (periodic) Execution Time: 1ms (max) CPU Load 5%

Reads and stores TPS, RPM, and EGT inputs Priority 7 Period 20ms (periodic) Execution Time: 100us (max) CPU Load 0.5%

Pulls data from sensor variables and output them to displays Controls communication to LCD, LED spectrum and 3 Digit displays Priority 8 Period 500ms (periodic) Execution Time: 10ms (max) CPU Load 2%

Pulls data from sensor variables and output them to stores in Flash Priority 9 Period 500ms (periodic – when running) Execution Time: 10ms (Logging) Execution Time: 50ms (Clearing) (max) CPU Load 10% (max)

Keeps track of Logger time Priority: 10 Period: 100 ms (Periodic) Execution Time: ~ 500 us (max) CPU Load: 0.5%

Outputs Logger data to Computer Priority 11 Period 20ms (periodic) Execution Time: 20us (normal operation) Execution Time: 20ms (Downloading) CPU Load 100% Note: Lowest priority task, will not block when downloading Note: downloads RARELY happen

L max = (20 us) + (1 ms) + (100 us) + (10ms) (20 ms) (20 ms) (20 ms) (500ms) + (500us) + (500us) + (20us) (100ms) (20ms) (100ms) L Max = 100% L Average = 17.5%

ModuleTasksFunctionsGlobal Variables Main.cStart Task Sensor Task WB Task Display Task Logger Task GetTime()EGTVal WBVal TPSVal RPMVal User.cTerminal Task Button Task UserInit() Getchar() Putstrng() Clock.cClock TaskEnableFlag() ClearFlag() SetTimeHrs() SetTimeMins() SetTimeSecs() LED.c Tod Morton (Modified) LEDInit() LEDDisp() LEDSpec() LCD.c Tod Morton All LCD Functions ProsEeprom.c Freescale/Tod Motron ConfigECLKDIV EEWordWrite EESectErase