Title: Embedded Operating Systems
1Embedded Operating Systems
- By
- Daniel Gomez, Zhenghui Cai
- Johns Hopkins University
- Montgomery Campus
- Foundations of Software Engineering
- 605.400.71
- Fall 2003
- Dr. Yan Yufik
2What do these devices have in common?
Embedded Linux Operating System
3The Operating System(A Modular Abstraction)
- Software Layers
- Embedded OS
- Simple Function
- Size
- Hardware
- Cost
4Real-Time Operating System(RTOS)
- Deadlines
- A soft real-time system can tolerate latency when
missing the ideal deadline. - A hard real-time systems are best described as
those when it absolutely positively has to be
done on time or the system crashes.
5Thread vs. Process
http//www.lynuxworks.com/products/posix/processes
.php3
6Thread vs. Process
http//www.lynuxworks.com/products/posix/processes
.php3
7Thread vs. Process
http//www.lynuxworks.com/products/posix/processes
.php3
8Scheduling Policy
- Cooperative
- Round-Robin
- Priority Based
http//www.lynuxworks.com/products/posix/processes
.php3
9Priority Inversion
Selecting the Right RTOS - A Comparative Study,
March 2002
10COMPARISONS
11Embedded Linux (1)
- Pros
- Rich Supported Hardware
- Security and Reliability
- Rich Software Library Support
- Diversified Tools
12Embedded Linux (2)
- Cons
- Open Source
- Size
- Development Tools
- Real Time
- Management
13Embedded Linux (3)
- Suitable Applications
- Relatively Small Non-time Sensitive Applications
- New Development
- Real Time Feature
- Compliant Kernel
- Dual Kernel
- Core Kernel
14Windows CE (1)
- Pros
- Rich Multimedia Features
- Mature Management And Long Time Development
- Rich Library
- Good Support
- Excellent Development Tools
- Hard Real Time Feature
15Windows CE (2)
Hard Real Time feature in Embedded Windows
16Windows CE (3)
- Cons
- Closed Source
- Hardware Support is limited
- Not been tested widely
- Royalty Fee
- At Least 3 Per Unit
17Windows CE (4)
- Suitable Applications
- Large Application
- Multimedia Requirement
- New Development
- Multimedia Support
- Memory Management
- Size
- Security protocol Support
18vxWorks (1)
- Pros
- Small Foot Print
- Protection Domains
- Wide Processor Support
- Good IDE Support (Tonado)
- Advanced Loader
19vxWorks (2)
- Cons
- Poor Graphic Interface
- Poor Multimedia Support
- Closed Source
- Suitable Applications
- Defense System
- Automotive System
- Telecommunication System
20Cross Comparison
21FUTURE TRENDS
22Market Trends
Data source Embedded Systems Developer Survey,
Volume 2, 2002 OSes targeted in current and next
embedded projects
23Open Source
- Share-Cropping vs. Ownership
- Open Platform ? Open Source
- Challenges Ahead
24Is Linux Ready for the Future?
- Kernel 2.6
- On-Time Arrival Deterministic
- No Delays Preemtible
- Just Say No No Keyboard, No Monitor, No Wires
25Most Common Mistakes with RTOS Software
Development
- Delays implemented as an empty loop
- Software engineers not participating in hardware
design - Generalizations based on a single
- architecture
- No memory analysis
- Improper use of Global variables
- Indiscriminate use of interrupts
- One Big Loop
- Too many inter-module and circular dependencies
- No measurements of execution time
26Future development and Prediction
- Expert system applied in IDE to minimize common
mistakes - Desktop system will be replaced by embedded
system - Desktop full-featured operating system will be
replaced by/ merged with embedded operating
system. - The Future is Open Source
27MERRY CHRISTMAS!!!