TinyOS

From Wikipedia, the free encyclopedia

TinyOS
Website http://www.tinyos.net
Company/
developer
TinyOS Alliance
Programmed in nesC
OS family Embedded operating systems
Source model Open source
Initial release 2000
Latest stable release 2.0.2 / July, 2007
Marketing target Wireless sensor networks
License BSD License
Working state Current

TinyOS is a free and open source component-based operating system and platform targeting wireless sensor networks (WSNs). TinyOS is an embedded operating system written in the nesC programming language as a set of cooperating tasks and processes. It is intended to be incorporated into smartdust. TinyOS started as a collaboration between the University of California, Berkeley in co-operation with Intel Research, and has since grown to a be an international consortium, the TinyOS Alliance.

Contents

[edit] Implementation

TinyOS applications are written in nesC, a dialect of the C programming language optimized for the memory limitations of sensor networks. Its supplemental tools come mainly in the form of Java and shell script front-ends. Associated libraries and tools, such as the NesC compiler and Atmel AVR binutils toolchains, are mostly written in C.

TinyOS programs are built out of software components, some of which present hardware abstractions. Components are connected to each other using interfaces. TinyOS provides interfaces and components for common abstractions such as packet communication, routing, sensing, actuation and storage.

TinyOS is completely non-blocking: it has a single stack. Therefore, all I/O operations that last longer than a few hundred microseconds are asynchronous and have a callback. To enable the native compiler to better optimize across call boundaries, TinyOS uses nesC's features to link these callbacks, called events, statically. While being non-blocking enables TinyOS to maintain high concurrency with a single stack, it forces programmers to write complex logic by stitching together many small event handlers. To support larger computations, TinyOS provides tasks, which are similar to a Deferred Procedure Call and interrupt handler bottom halves. A TinyOS component can post a task, which the OS will schedule to run later. Tasks are non-preemptive and run in FIFO order. This simple concurrency model is typically sufficient for I/O centric applications, but its difficulty with CPU-heavy applications has led to several proposals for incorporating threads into the OS.

TinyOS code is statically linked with program code, and compiled into a small binary, using a custom GNU toolchain. Associated utilities are provided to complete a development platform for working with TinyOS.

[edit] History

TinyOS began as a project at UC Berkeley as part of the DARPA NEST program. It has since grown to involve thousands of academic and commercial developers and users worldwide. (list in reverse order)

  • July 2007: TinyOS 2.0.2 released. Work on TinyOS 2.1, which involves slight changes to a few interfaces, begins.
  • April 2007: TinyOS 2.0.1 released at the 4th TinyOS Technology Exchange in Cambridge, MA.
  • November 2006: TinyOS 2.0 released at the SenSys conference in Boulder, CO.
  • July 2006: TinyOS 2.0 beta2 released.
  • February 2006: TinyOS 2.0 beta1 released at the 3rd TinyOS Technology Exchange in Stanford, CA.
  • December 2005: TinyOS 1.1.15, the last 1.1 version, is released.
  • July 2005: NEST project concludes.
  • June 2004: Working group forms on next steps for TinyOS, based on experiences porting to new platforms. Group agrees to start work on 2.0.
  • September 2003 - December 2005: TinyOS begins a periodic minor release process.
  • August 2003: TinyOS version 1.1 is released, which includes new nesC features including data race detection.
  • September 2002: TinyOS version 1.0, implemented in nesC, is released.
  • April 2002: Work on the nesC programming language begins as a collaboration between Intel Research and UC Berkeley.
  • February 2002: Berkeley distributes 1000 mica nodes to other participants in the NEST project.
  • 2001: Berkeley develops the mica platform and releases TinyOS version 0.6.
  • 2000: Berkeley designs the rene platform and partners with Crossbow, Inc., who mass produces the hardware. TinyOS version 0.43 is made available to the public via SourceForge. Pre-1.0 versions of TinyOS are a mix of C and Perl scripts.
  • 1999: First TinyOS platform (WeC) and OS implementations are developed at Berkeley.


[edit] Integrated Development Environments

[edit] See also

[edit] External links

Topics in Wireless Sensor Networks
Software Hardware Conferences/Journals Standards
Operating Systems Programming Languages Middleware Simulators
TinyOS, SOS, Contiki nesC TinyDB TOSSIM,NS-2 Sun SPOT Sensys, IPSN, EWSN,SECON, INSS ZigBee, 6LowPAN