Atmospheric Data Measuring Rocket Software Design & Description Matt Buonadonna ADaM Code Presentation.

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

GPSCOMM Critical Design Report Taylor Hughes Andy Merritt Adrian Migacz Adam Preeo.
Mark Schaumburg.  Dash Module for Formula Car  Sample pulse from engine for RPM  Display Information  Control gui  Can network interface  Request.
Mars Rover TEAM CPNE Crossen Davis Peter Ramer Nancy Robinson Eric Rodriguez.
2 Way FM Car Starter Dan Owens April 12, 2005 Instructor: Dr. Pao-Lo Liu Department of Electrical Engineering University at Buffalo Course Requirement.
Super IO Ross Glashan James Wnorowski : The Handyboard ● Created by Fred Martin (Media Lab) in 1995 ● 2MHz 68HC K RAM ● 6 Motors, 6 Servos.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Real-Time Operating Systems Suzanne Rivoire November 20, 2002
TextWand Programmable LED Display Carlos Vila-Virella and Andy Campanella.
ATMEL AVR 8 bit RISC MICROCONTROLLERS
Basic Input Output System
BlueECG System Software Design Western Washington University By: Corey Williamson.
1-1 Embedded Network Interface (ENI) API Concepts Shared RAM vs. FIFO modes ENI API’s.
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.
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.
Automatic Pressure Canning System System Software Design By: Michael Drysdale.
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.
GSM 1308 MODEM CONTROL USING PIC-16F877A MICROCONTROLLER.
1 Ian Bacon Zach Dicklin Amy Ritter Eric Yee Software Overview.
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.
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.
Conserve-A-Watt System Software Design Justin Rapozo.
SMS Based Industrial Automation Using ARM Controller Under the guidance of : Smt Jayanthi.K.Murthy Assistant Professor, PG Studies, Dept of E&C, BMSCE,
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.
System Software Design Presentation Western Washington University Taylor Reijm.
Wireless Optical USB Mouse
Wireless Heart Rate Monitor
Mobile Operating System
System Software Design by Chan-Chia (James) Chang
By: Justin E. Klumpp & Leo L.S. Wan
RAILWAY TRACK SNAP NOTIFICATION
LPC2148 ARM7 myKernel Details
System Software Design
Presentation transcript:

Atmospheric Data Measuring Rocket Software Design & Description Matt Buonadonna ADaM Code Presentation

Microcontrollers Freescale 9S12DP256 for the HTP Freescale 9S12DP256 for the HTP 16MHz bus frequency 16MHz bus frequency 265k bytes flash 265k bytes flash 12k bytes ram 12k bytes ram 4k bytes EEPROM 4k bytes EEPROM

Microcontrollers Freescale 9S12C32 for the ADaM E Freescale 9S12C32 for the ADaM E 8MHz bus frequency 8MHz bus frequency 32k bytes flash 32k bytes flash 2k bytes RAM 2k bytes RAM

Kernel Freescale 9S12DP256 for the HTP Freescale 9S12DP256 for the HTP MicroC/OS-II real time kernel MicroC/OS-II real time kernel Chosen based on familiarity and processing flexibility Chosen based on familiarity and processing flexibility Task control & communication done through semaphores, and mutex Task control & communication done through semaphores, and mutex

Kernel Freescale 9S12C32 for the ADaM E Freescale 9S12C32 for the ADaM E MicroC/OS-II real time kernel MicroC/OS-II real time kernel Chosen based on familiarity and processing flexibility Chosen based on familiarity and processing flexibility Task control & communication done through semaphores, and mutex Task control & communication done through semaphores, and mutex

HTP Task and ISR list TaskDescriptionPeriodPriority StartInitializes all HTP tasks and necessary data portsOnce4 KeyTaskReads the keypad and updates KeyBufferPeriodic5 MenuOpsControls all HTP operations, Button UI and LCDPeriodic6 XmitControls the XC09 RF digital modem through the SCI Continuous7 MsgMemStores received messages into the EEPROMSporadic8

ADaM E Task and ISR list TaskDescriptionPeriodPriority StartInitializes all HTP tasks and necessary data ports Once4 SysCtrlControls all HTP operations, Button UI and LCD Periodic5 GPSControls the Lassen IQ GPS through the SCI Periodic6 XmitControls the XC09 RF digital modem through the SCI Continuous7 SensorControls the XC09 RF digital modem through the SCI Periodic8 SysTestRuns a system wide check of all the sensors, the transmitter and GPS unit. Sporadic9

Task Description Start Task (HTP)  Priority 4  Runs once  Initializes System  Creates all other HTP tasks  Execution time ~ 1s

Task Description Key Task (HTP)  Priority 5  10ms  Reads the keypad and updates KeyBuffer  Execution time ~ 2.2us

Task Description MenuOps (HTP)  Priority 6  10ms  Displays menu options on the LCD  Controls keypad entries  Calls other HTP tasks  Execution time 1ms

Task Description Xmit (Both HTP & ADaM E)  Priority 7  10ms  Uses the SCI to communicate with the XC09  Controls messages sent to and received from the ADaM E  Execution time ~50us

Task Description MsgMem (HTP)  Priority 8  10ms  Uses EEPROM to store received messages from the ADaM E  Execution time ~100us

Task Description Start Task (ADaM E)  Priority 4  Runs once  Initializes System  Creates all other ADaM E tasks  Execution time ~1s

Task Description System Control (ADaM E)  Priority 5  10ms  Controls the ADaM E and its peripherals  Execution time 1ms

Task Description GPS (ADaM E)  Priority 6  1s  Controls the Lassen IQ GPS through the SCI  Execution time 50us

Task Description Sensor (ADaM E)  Priority 8  1s  Controls the ADaM E sensors  Execution time 10ms

Task Description SysTest (ADaM E)  Priority 9  1s  Polls the sensor, GPS, and Xmit tasks  Warms up the GPS  Execution time 60ms

Overall CPU load HTP  L max = 1ms/10ms + 100us/10ms + 50us/10ms + 2.2us/10ms =.115 ADaM E  L max = 50us/1s + 1ms/ ms/1s + 60ms/1s + 50us/10ms =.175 CPU loads are well in tolerance HTP  L max = 1ms/10ms + 100us/10ms + 50us/10ms + 2.2us/10ms =.115 ADaM E  L max = 50us/1s + 1ms/ ms/1s + 60ms/1s + 50us/10ms =.175 CPU loads are well in tolerance

HTP Modules ModuleTaskPublic Functions & Data HTPctrl.c Start Task Menu Ops Task Message Store Task LcdDisplay() KeyPend() ConfigECLKDIV() EESectModify() EESectErase() EEWordWrite() Xmit.c Transmit TaskReadSCIInit() ReadSCIPend() UcosKey.c Key TaskKeyInit()

ADaM E Modules ModuleTaskPublic Functions & Data ADaMEctrl.c Start Task System Control Task Sensors Task System Test Task InitSPI() WriteSPI() ReadSPI() InitAD() ReadAD0() ReadAD1() Xmit.c Transmit TaskReadSCIInit() ReadSCIPend() GPS.c GPS TaskReadSCIInit() ReadSCIPend()

Keypad Module KeyTask() Key Code Table  KeyFlag Key Keypad I/OKeypad Driver ModuleApplication KeyInit() KeyPend()

HTP Data Flow Menu Ops Msg Memory Xmit task HTPctrl.cUcosKey.cXmit.c  TX SCI  RX SCI KeyPend() LCD Display  Msg Save  Msg Retrv  Msg Delete Data Xmit Data Rcv

ADaM E Data Flow SystemCtrl Sensor Xmit task HTPctrl.cXmit.c  TX SCI  RX SCI GPS.c GPS Task  RX SCI  TX SCI Poll TempPoll Press  Sensor  Test Test Task Data Xmit Data Rcv