WikiStart

Version 91 (Anthony Rowe, 10/16/2008 07:15 pm)

1 89 Anthony Rowe
2 89 Anthony Rowe
[[TracNav(TOC)]]
3 89 Anthony Rowe
4 10 Anthony Rowe
5 76 Anthony Rowe
= Nano-RK: A Wireless Sensor Networking Real-Time Operating System  =
6 76 Anthony Rowe
Nano-RK is a fully preemptive reservation-based real-time operating system (RTOS) from [http://www.cmu.edu Carnegie Mellon University] with multi-hop networking support for use in wireless sensor networks. Nano-RK currently runs on the FireFly Sensor Networking Platform as well as the [wiki:MicaZ] motes. It includes a light-weight embedded resource kernel (RK) with rich functionality and timing support using less than 2KB of RAM and 18KB of ROM. Nano-RK supports fixed-priority preemptive multitasking for ensuring that task deadlines are met, along with support for CPU, network, as well as, sensor and actuator reservations. Tasks can specify their resource demands and the operating system provides
7 34 Anthony Rowe
timely, guaranteed and controlled access to CPU cycles and network packets. Together these resources form virtual energy reservations that allows the OS to enforce system and task level energy budgets. 
8 5 Anthony Rowe
9 75 Anthony Rowe
== News ==
10 91 Anthony Rowe
 * 10/16/2008 Updated SAMPL protocol for quickly building a sensor network
11 87 Anthony Rowe
 * 2/12/2008 New [wiki:releases release] fixes kernel memory bug and adds Windows Support.
12 87 Anthony Rowe
 * 2/7/2008 gcc 4.2.2 with avr-libc 1.6.1 fix multiple minor bugs. Install new toolchain from [wiki:Downloads] page.  
13 84 Anthony Rowe
 * 12/29/2007 [http://www.embedded.com/design/networking/204800543?pgno=1 Embedded.com Article] discusses Nano-RK
14 84 Anthony Rowe
 * 10/6/2007 Public Subversion Read Access for pre-beta [wiki:releases release]
15 32 Anthony Rowe
16 74 Anthony Rowe
== Features ==
17 74 Anthony Rowe
18 32 Anthony Rowe
 * C GNU tool-chain
19 32 Anthony Rowe
 * Classical Preemptive Operating System Multitasking Abstractions
20 32 Anthony Rowe
 * Real-Time Priority Based Scheduling
21 33 Anthony Rowe
 * Built-in Fault Handling
22 35 Anthony Rowe
  * Task Timing Violations
23 35 Anthony Rowe
  * Stack Integrity
24 35 Anthony Rowe
  * Unexpected Node Restarts
25 35 Anthony Rowe
  * Resource Over-Use 
26 34 Anthony Rowe
  * Low Voltage Detection
27 67 Anthony Rowe
  * Watchdog Timer
28 43 Anthony Rowe
 * Energy Efficient Scheduling based on ''a-prior'' task-set knowledge
29 66 Anthony Rowe
 * Small Footprint (<2K RAM, 16K ROM, including link layer)
30 69 Anthony Rowe
 * [wiki:SLIPstream] (a simple gateway to IP network protocol and utility)
31 70 Anthony Rowe
 * [wiki:TimeScope] (a code execution time measurement utility built into the FireFly programmer boards)
32 78 Anthony Rowe
 * [wiki:avr-studio AVR Studio 4 Debugging]  (Simulating Nano-RK code on a single node using AVR Studio 4 is easy)
33 32 Anthony Rowe
34 54 Anthony Rowe
Nano-RK supports various wireless link layer protocols including:
35 36 Anthony Rowe
 * [wiki:RT-Link] for collision free Real-Time communication
36 53 Nuno -
 * [wiki:WiDom] a collision free priority based link layer
37 1
 * [wiki:b-mac] for low-power contention based communication
38 37 Anthony Rowe
39 73 Anthony Rowe
Nano-RK provides an extensible UDP style networking interface
40 46 Anthony Rowe
41 51 Anthony Rowe
[[Image(htdocs:images/nrk_arch.png)]]
42 48 Anthony Rowe
43 49 Anthony Rowe
Sample Nano-RK architecture figure showing user applications and [wiki:RT-Link].