System Software Design GPS Training System Jason Corbridge May 8, 2008 Western Washington University.

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

MUHAMMAD AHMED HUSSAIN
P3- Represent how data flows around a computer system
Programmable Interval Timer
Mark Schaumburg.  Dash Module for Formula Car  Sample pulse from engine for RPM  Display Information  Control gui  Can network interface  Request.
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
The 8051 Microcontroller Architecture
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Basic Input Output System
BlueECG System Software Design Western Washington University By: Corey Williamson.
Chapter 2 Introducing the PIC Mid-Range Family and the 16F84A The aims of this chapter are to introduce: The PIC mid-range family, in overview The overall.
COMPUTERS in the CLASSROOM
Identifying Hardware Components in a Computer (continued) Clock Speed (continued) The computer has a system clock that generates a regular electronic beat.
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.
System Software Design Colin Gatlin May 12, 2009 Western Washington University.
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.
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.
Lab 1 Summary.
Portable/Programable Location System – Software Design By: Mark Moerdyk.
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.
Yared Woldekiros Western Washington university WEB ENABLE HOME AUTOMATION.
System Software Design Dan Sweet May 6 th, 2008 Western Washington University Bicycle Power Meter.
SGDRS Software System Design Justin A. King WWU EET Senior project 2013.
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:
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.
Components of a typical full-featured microcontroller.
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.
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.
Arduino Based Industrial appliances control system by decoding dual tone multi frequency signals on GSM / CDMA network. Submitted by:
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 Board.
Arduino म्हणजे काय?.
Presentation transcript:

System Software Design GPS Training System Jason Corbridge May 8, 2008 Western Washington University

Microcontroller Motorola MC9S12DP512 Motorola MC9S12DP512 Bus Frequency 24 MHz Bus Frequency 24 MHz Available Memory Available Memory 512K bytes Flash EEPROM, 4K bytes EEPROM, 14K bytes RAM512K bytes Flash EEPROM, 4K bytes EEPROM, 14K bytes RAM Required Memory Required Memory 15K bytes ROM15K bytes ROM 4K bytes RAM4K bytes RAM MicroC/OS-II MicroC/OS-II Real-time preemptive multitasking kernelReal-time preemptive multitasking kernel 1 ms tick period1 ms tick period

Priority of Tasks Start TaskPriority: 4 Start TaskPriority: 4 Button TaskPriority: 5 Button TaskPriority: 5 Clock Task Priority: 6 Clock Task Priority: 6 GPS Task Priority: 7 GPS Task Priority: 7 User Interface TaskPriority: 8 User Interface TaskPriority: 8

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

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

Clock Task Keeps track of workout time Keeps track of workout time Displays workout time to LCD Displays workout time to LCD Priority: 6 Priority: 6 Period: 100 ms (Periodic) Period: 100 ms (Periodic) Execution Time: ~ 500 us (max) Execution Time: ~ 500 us (max) CPU Load: 0.5% CPU Load: 0.5%

GPS Task Receives and deciphers messages from the GPS Receives and deciphers messages from the GPS Converts speed and elevation data to be displayed Converts speed and elevation data to be displayed Calculates distance and average speed Calculates distance and average speed Displays speed, elevation, and distance Displays speed, elevation, and distance Priority: 7 Priority: 7 Period: 1 second Period: 1 second Execution Time: ~ 330 ms (max) Execution Time: ~ 330 ms (max) CPU Load: 33.0% CPU Load: 33.0%

User Interface Task Controls the functions of the buttons Controls the functions of the buttons Prepares data to be output to a computer Prepares data to be output to a computer Priority: 8 Priority: 8 Period: Sporadic Period: Sporadic Execution Time: ~ 100 us (max) Execution Time: ~ 100 us (max)

CPU Load L max = (500 us) + (330 ms) + (20 us) L max = (500 us) + (330 ms) + (20 us) (100 ms) (1 sec) (20 ms) (100 ms) (1 sec) (20 ms) L max = 33.6% L max = 33.6% L average = 20.2% L average = 20.2%

Module Description ModulesTasks Public Functions Public Data GPS.c Start Task, GPS Task PGRMI()PGRMC()PGRMC1()PGRMO()GPGGA()GPRMC()ElevationCurrentSpeedAverageSpeedDistance Button.c Button Task, User Interface Task LCD.c Code written by Todd Morton LcdInit()LcdClrLine()LcdDispChar()LcdDispByte()LcdDispStrg()LcdMoveCursor()LcdDispDecByte()LcdDispTime() SCI.c Code written by Justin Klumpp SCIInit()SCIRead()SCIWrite() Clock.c Clock Task Time

LCD Data Flow Diagram

Button Data Flow Diagram