Electronic Memory Game System Software Design Jack Sullivan May 08, 2007.

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

1 ECE 372 – Microcontroller Design Parallel IO Ports - Outputs Parallel IO Ports E.g. Port T, Port AD Used to interface with many devices Switches LEDs.
MM Player Supervised by: Dr. Luai Malhis. Prepared by: Mustafa Assaf & Mahmoud Musa.
Programmable Interval Timer
Mark Schaumburg.  Dash Module for Formula Car  Sample pulse from engine for RPM  Display Information  Control gui  Can network interface  Request.
Microcontroller: Introduction
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
TextWand Programmable LED Display Carlos Vila-Virella and Andy Campanella.
SudokuEHG Michelle Brown Matt Haggenmiller Thomas Troch CE Design Projects Design Review December 12, 2007.
Basic Input Output System
Today’s Agenda: Computer Basics Review Hardware: The physical components of a computer, any internal or external computer part that you can touch. Software:
BlueECG System Software Design Western Washington University By: Corey Williamson.
My great Computer TOMMY H. My Great Computer  Its main function of the is to play game, can show high equality picture  Can process the application.
Team Scribacious Rabble Design Constraint Analysis Paul Rosswurm Mitch Erdbruegger Ben Kobin William Hess.
Interrupts Microprocessor and Interfacing
Michael Nist. System Software Design  MCU (2): CY8CPLC20 8-bit  32 KB Flash, 2 KB SRAM  Bus Frequency: 24 MHz  Memory requirements:  Main Controller:
Treasure Chess ECE 477 Team 2 Parul Schroff Software Design Narrative.
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.
Department of Electronic & Electrical Engineering LCD character display (parallel interface). How to interface a LCD character display to a PIC.
Robocon 2007, Hong Kong University of Science & Technology Robocon 2007 Electronics Quickstart! Session 1 Hello! Microcontroller. Prepared by KI Chi Keung.
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.
Portable/Programable Location System – Software Design By: Mark Moerdyk.
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:
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.
Conserve-A-Watt System Software Design Justin Rapozo.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
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.
Wireless Optical USB Mouse
Wireless Heart Rate Monitor
System Software Design by Chan-Chia (James) Chang
By: Justin E. Klumpp & Leo L.S. Wan
Treasure Chess ECE 477 Team 2
System Software Design
Arduino Board.
Arduino म्हणजे काय?.
Presentation transcript:

Electronic Memory Game System Software Design Jack Sullivan May 08, 2007

System Design Microcontroller: MC9S12DP512 Bus Frequency: 24MHz Memory: 14k RAM, 4k EEPROM, 512k Flash More than enough for this project. Kernel: MicroC/OS-ll Used for priority of player buttons 1ms tick period

Tasks & Priority 4.Start Task 5.Key Task 1 6.Key Task 2 7.Key Task 3 (Possibly) 8.Control Task 9.Display Task

Start Task Priority: 4 Description: Initializes the system Creates the other three tasks Period: NA (Runs once at start up) Execution time: 5ms CPU Load: NA

Key Task 1 Priority: 5 Description: Scans the menu buttons for an input Stores value into a buffer Period: 10ms Execution time: 100us CPU Load: 100u/10m = 0.01

Key Task 2 Priority: 6 Description: Scans the 1 st player controller for an input Stores value into a buffer Period: 10ms Execution time: 100us CPU Load: 100u/10m = 0.01

Key Task 3 Priority: 7 Description: Scans the 2 nd player controller for an input Stores value into a buffer Possible to be combined with Key Task 2 Period: 10ms Execution time: 100us CPU Load: 100u/10m = 0.01

Control Task Priority: 8 Description: Determines the state the game is in Creates the games memory sequence Verifies player-inputted sequence Period: 10ms Execution time: 150us CPU Load: 150u/10m = 0.015

Display Task Priority: 9 Description: Refreshes the LCD screen Lights up LED sequences Period: 10ms Execution time: 2ms CPU Load: 2m/10m = 0.2

Total CPU Load L = 100u + 100u + 100u + 150u + 2m = m 10m 10m 10m 10m L Max = 24.5% L Ave = 14.5%

Module Description ModulesTasksPublic Functions/Data PWM.cPWMInit() CreateTone() MemoryGame.cStartTask ControlTask DisplayTask GameSequence GenerateSequence() CompareSequence() LED.cLEDInit() Disp_Sequence() Lcd.c Code by Todd Morton LcdInit() LcdClrDisp() LcdClrLine() LcdMoveCursor() LcdDispStrg() Key.c Original code by Todd Morton KeyTask1 KeyTask2 KeyTask3 KeyInit() ButtonPend()

KeyPad Data Flow Button1 Button1Flag Button2 Button2Flag Key KeyFlag KeyTask2() KeyTask3() KeyTask1() Button2Pend () KeyPend() Button1Pend() KeyInit() Application Button Driver Module Button I/O Controller 1 Controller 2 Menu

Lcd Data Flow DisplayTask() StartTask() LcdInit() ApplicationLcd ModuleLcd I/O LcdDispStrg() GameSequence

LED Data Flow DisplayTask() ApplicationLED ModuleLED I/O Disp_Sequence() GameSequence LEDInit() StartTask() Led Driver

PWM Data Flow ControlTask() ApplicationPWM ModulePWM I/O CreateTone() GameSequence PWMInit() StartTask() Speaker