100 likes | 181 Views
- A.R.M.O.R. – Software System Overview. -Aldo Alania – Western Washington University 2008-2009. General System Design. Motorola MC9S12C128 w/ 16K Fixed Flash EEPROM, 4K Bytes RAM Memory Requirements for Project 8K ROM, 1K RAM.
E N D
- A.R.M.O.R. –Software System Overview -Aldo Alania – Western Washington University 2008-2009
General System Design • Motorola MC9S12C128 w/ 16K Fixed Flash EEPROM, 4K Bytes RAM • Memory Requirements for Project 8K ROM, 1K RAM
Kernel Selection • Time Slice kernel • Time slice Period of 10ms • Bus frequency of 24MHz • Estimated Memory Requirements :2K
Task Designation • 5) Switches and Shock Sensor Input task • 6) State Control task • 7) Pressure Sensor Input Task
Switches and Shock Sensor Input task • Description: Gets the input data from all switches and shock sensor. • Execution Time: 1.17us • Period: 10ms • CPU Load: .000117
State Control Task • Description: The system starts in the ARMED state. If the AlarmSignal variable was set from the switches and sensor task, it would go into the ALARM state • Execution Time: 1.54us • Period: 10 ms • CPU Load: .000154
Pressure Input Sensor Task • Description: Provides a high output signal and temperature compensation • Execution time: 10us • Period: 10ms • CPU Load: .001
Estimated CPU Load L = .000117+.000154+.001 = .00127 LMAX = .13%