140 likes | 251 Views
Embedded Operating System Jason Porter. What is Embedded. From Wikipedia: “An embedded system is a computer system with a dedicated function within a larger mechanical or electrical system, often with real-time computing constraints.”. Examples. Arduino Raspberry Pi PLC
E N D
Embedded Operating System Jason Porter
What is Embedded • From Wikipedia: “An embedded system is a computer system with a dedicated function within a larger mechanical or electrical system, often with real-time computing constraints.”
Examples • Arduino • Raspberry Pi • PLC • Automotive Computers
Arduino Vs TinyOS • TinyOS is a full fledged operating system • TinyOS and APIs are designed for low power applications • Arduino focuses on I/O • TinyOS focuses on wireless networking
Hardware MicaZ IRIS
Hardware (cont.) NXTMOTE TelsoB
Software • Stack • Split-phase • APIs • nesC
Stack • One Stack • Singular • Longer Life Span
Split-phase • First phase: • Start • Second phase: • Callback
APIs • Rigorously tested • All split-phase • Bidirectional
nesC • Dialect of C • Explicitly define interfaces • Bidirectional • Requires two files • Configuration • Module
nesC - Configuration • Defines interfaces • Used • Provided • Is used to generate executed
nesC - Module • Lists interfaces • Provides implementation • Major Operation • APIs
Conclusion • TinyOS is used for • Wireless embedded projects • Has APIs • Non-blocking • Bidirectional