Skip to main content

Contiki








Contiki


From Wikipedia, the free encyclopedia

Jump to navigation
Jump to search





































Contiki

Contiki-ipv6-rpl-cooja-simulation.png
Screenshot of an Ubuntu system showing Contiki 2.6 running on 41 nodes forming an IPv6-RPL-6LoWPAN network in the Cooja Contiki network simulator.

Developer
Adam Dunkels
Working state
Current
Source model
Open source
Initial release
10 March 2003; 15 years ago (2003-03-10)
Latest release
3.0 / 26 August 2015; 3 years ago (2015-08-26)
License
BSD
Official website
www.contiki-os.org

Contiki is an operating system for networked, memory-constrained systems with a focus on low-power wireless Internet of Things devices. Extant uses for Contiki include systems for street lighting, sound monitoring for smart cities, radiation monitoring, and alarms.[1] It is open-source software released under a BSD license.


Contiki was created by Adam Dunkels in 2002[2] and has been further developed by a worldwide team of developers from Texas Instruments, Atmel, Cisco, ENEA, ETH Zurich, Redwire, RWTH Aachen University, Oxford University, SAP, Sensinode, Swedish Institute of Computer Science, ST Microelectronics, Zolertia, and many others.[3] Contiki gained popularity because of its built in TCP/IP stack and lightweight preemptive scheduling over event-driven kernel [4] which is a very motivating feature for IoT. The name Contiki comes from Thor Heyerdahl's famous Kon-Tiki raft.


Contiki provides multitasking and a built-in Internet Protocol Suite (TCP/IP stack), yet needs only about 10 kilobytes of random-access memory (RAM) and 30 kilobytes of read-only memory (ROM).[1] A full system, including a graphical user interface, needs about 30 kilobytes of RAM.[5]




Contents






  • 1 Hardware


  • 2 Networking


  • 3 Low-power operation


  • 4 Simulation


  • 5 Programming model


  • 6 Features


  • 7 Ports


    • 7.1 Microcontrollers


    • 7.2 Computers


    • 7.3 Game consoles




  • 8 See also


  • 9 Notes


  • 10 References


  • 11 External links





Hardware[edit]


Contiki is designed to run on types of hardware devices that are severely constrained in memory, power, processing power, and communication bandwidth. A typical Contiki system has memory on the order of kilobytes, a power budget on the order of milliwatts, processing speed measured in megaHertz, and communication bandwidth on the order of hundreds of kilobits/second. Such systems include many types of embedded systems, and old 8-bit computers.



Networking[edit]


Contiki provides three network mechanisms: the uIP TCP/IP stack,[6] which provides IPv4 networking, the uIPv6 stack,[7] which provides IPv6 networking, and the Rime stack, which is a set of custom lightweight networking protocols designed for low-power wireless networks. The IPv6 stack was contributed by Cisco and was, when released, the smallest IPv6 stack to receive the IPv6 Ready certification.[8] The IPv6 stack also contains the Routing Protocol for Low power and Lossy Networks (RPL) routing protocol for low-power lossy IPv6 networks and the 6LoWPAN header compression and adaptation layer for IEEE 802.15.4 links.


Rime is an alternative network stack, for use when the overhead of the IPv4 or IPv6 stacks is prohibitive. The Rime stack provides a set of communication primitives for low-power wireless systems. The default primitives are single-hop unicast, single-hop broadcast, multi-hop unicast, network flooding, and address-free data collection. The primitives can be used on their own or combined to form more complex protocols and mechanisms.[9]



Low-power operation[edit]


Many Contiki systems are severely power-constrained. Battery operated wireless sensors may need to provide years of unattended operation and with little means to recharge or replace batteries. Contiki provides a set of mechanisms to reduce the power consumption of systems on which it runs. The default mechanism for attaining low-power operation of the radio is called ContikiMAC.[10] With ContikiMAC, nodes can be running in low-power mode and still be able to receive and relay radio messages.



Simulation[edit]


The Contiki system includes a network simulator called Cooja, which simulates networks of Contiki nodes.[11] The nodes may belong to either of three classes: emulated nodes, where the entire hardware of each node is emulated, Cooja nodes, where the Contiki code for the node is compiled for and executed on the simulation host, or Java nodes, where the behavior of the node must be reimplemented as a Java class. One Cooja simulation may contain a mix of nodes from any of the three classes. Emulated nodes can also be used to include non-Contiki nodes in a simulated network.


In Contiki 2.6, platforms with the TI MSP430 and Atmel AVR microcontrollers can be emulated.



Programming model[edit]


To run efficiently on small-memory systems, the Contiki programming model is based on protothreads.[12][13] A protothread is a memory-efficient programming abstraction that shares features of both multithreading and event-driven programming to attain a low memory overhead of each protothread. The kernel invokes the protothread of a process in response to an internal or external event. Examples of internal events are timers that fire or messages being posted from other processes. Examples of external events are sensors that trigger or incoming packets from a radio neighbor.


Protothreads are cooperatively scheduled. Thus, a Contiki process must always explicitly yield control back to the kernel at regular intervals. Contiki processes may use a special protothread construct to block waiting for events while yielding control to the kernel between each event invocation.



Features[edit]




Screenshot of the VNC server running on the Atmel AVR port of Contiki


Contiki supports per-process optional preemptive multithreading, inter-process communication using message passing through events, as well as an optional graphical user interface (GUI) subsystem with either direct graphic support for locally connected terminals or networked virtual display with Virtual Network Computing (VNC) or over Telnet.


A full installation of Contiki includes the following features:



  • Multitasking kernel

  • Optional per-application preemptive multithreading

  • Protothreads


  • Internet Protocol Suite (TCP/IP) networking, including IPv6


  • Windowing system and GUI

  • Networked remote display using Virtual Network Computing

  • A web browser (claimed to be the world's smallest)

  • Personal web server

  • Simple telnet client

  • Screensaver



Ports[edit]




Contiki on the Commodore 64.


The Contiki operating system is ported to the following systems:



Microcontrollers[edit]




  • Atmel – ARM, AVR


  • NXP Semiconductors – LPC1768,[14] LPC2103, MC13224


  • Microchip – dsPIC, PIC32 (PIC32MX795F512L)


  • Texas Instruments – MSP430, CC2430, CC2538, CC2630, CC2650


  • STMicroelectronics – STM32 W



Computers[edit]




  • Apple – II series[a]


  • Atari – 8-bit,[a]ST, Portfolio


  • Casio – Pocket Viewer


  • Commodore – PET,[a]VIC-20,[a]64,[a]128[a]


  • Tangerine Computer Systems – Oric[a]


  • NEC – PC-6001


  • Sharp – Wizard


  • Intel, AMD, VIA, many others – x86-based Unix-like systems, atop GTK+, or more directly using an X Window System[15]



Game consoles[edit]



  • Atari – Jaguar


  • Game Park – GP32


  • Nintendo – Game Boy, Game Boy Advance, Entertainment System (NES)[a]

  • NEC – TurboGrafx-16 Entertainment SuperSystem (PC Engine)



See also[edit]




  • BeRTOS

  • ERIKA Enterprise

  • RIOT

  • SymbOS

  • TinyOS

  • Wheels (operating system)

  • Comparison of real-time operating systems



Notes[edit]





  1. ^ abcdefgh cc65 based development




References[edit]





  1. ^ ab Contiki OS.mw-parser-output cite.citation{font-style:inherit}.mw-parser-output q{quotes:"""""""'""'"}.mw-parser-output code.cs1-code{color:inherit;background:inherit;border:inherit;padding:inherit}.mw-parser-output .cs1-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-lock-limited a,.mw-parser-output .cs1-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration{color:#555}.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration span{border-bottom:1px dotted;cursor:help}.mw-parser-output .cs1-hidden-error{display:none;font-size:100%}.mw-parser-output .cs1-visible-error{font-size:100%}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-right{padding-right:0.2em}.


  2. ^ Contiki: Bringing IP to Sensor Networks


  3. ^ "Community", Contiki OS.


  4. ^ Dunkels, Adam (2004), "Contiki – a lightweight and flexible operating system for tiny networked sensors", Proceedings of the 29th Annual IEEE International Conference on Local Computer Networks., pp. 455–462.


  5. ^ Out in the Open: The Little-Known Open Source OS That Rules the Internet of Things


  6. ^ Dunkels, Adam (May 2003), "Full TCP/IP for 8 Bit Architectures", Proceedings of the First ACM/Usenix International Conference on Mobile Systems, Applications and Services (MobiSys), San Francisco


  7. ^ Durvy, Mathilde; Abeillé, Julien; Wetterwald, Patrick; O'Flynn, Colin; Leverett, Blake; Gnoske, Eric; Vidales, Michael; Mulligan, Geoff; Tsiftes, Nicolas; Finne, Niclas; Dunkels, Adam (November 2008), "Making sensor networks IPv6 ready", Proceedings of the Sixth ACM Conference on Networked Embedded Sensor Systems (SenSys) (poster session), Raleigh, NC, US: ACM


  8. ^ Newsroom, Cisco, 2008.


  9. ^ Dunkels, Adam; Österlind, Fredrik; He, Zhitao (November 2007), "An adaptive communication architecture for wireless sensor networks", Proceedings of the Fifth ACM Conference on Networked Embedded Sensor Systems (SenSys), Sydney, AU.


  10. ^ Dunkels, Adam, The ContikiMAC Radio Duty Cycling Protocol (PDF).


  11. ^ "Start", Contiki OS.


  12. ^ Dunkels, Adam; Schmidt, Oliver; Voigt, Thiemo; Ali, Muneeb (November 2006), "Protothreads: Simplifying event-driven programming of memory-constrained embedded systems", Proceedings of the Fourth ACM Conference on Embedded Networked Sensor Systems (SenSys), Boulder, CO, USA
    Dunkels, A.; Schmidt, O.; Voigt, T.; Ali, M. (2006). "Protothreads". Proceedings of the 4th international conference on Embedded networked sensor systems - Sen Sys '06. p. 29. doi:10.1145/1182807.1182811. ISBN 1595933433. (PDF, Presentation slides).



  13. ^ "Protothread", Code, Google.


  14. ^ http://sourceforge.net/p/contiki/mailman/message/31753844/


  15. ^ Stein, H, Running Contiki under Windows, Trix, archived from the original on 2003-12-09.



.mw-parser-output .refbegin{font-size:90%;margin-bottom:0.5em}.mw-parser-output .refbegin-hanging-indents>ul{list-style-type:none;margin-left:0}.mw-parser-output .refbegin-hanging-indents>ul>li,.mw-parser-output .refbegin-hanging-indents>dl>dd{margin-left:0;padding-left:3.2em;text-indent:-3.2em;list-style:none}.mw-parser-output .refbegin-100{font-size:100%}



  • C64Web: a web site run from an unmodified 1982 built Commodore 64


  • "Tools Contiki", Hitmen, AT: C02: unofficial website for historic ports of the 1.x version.


  • "Minimal Contiki OS for LPC2103", Manishshakya, NP, archived from the original on 2014-06-04.


  • Contiki 2.5 config file and disk image generator, A2 retro systems.


  • Contiki porting on PIC32 (Seed-Eye Board), IT: SSSUP.




External links[edit]






  • Official website











Retrieved from "https://en.wikipedia.org/w/index.php?title=Contiki&oldid=814950243"





Navigation menu


























(window.RLQ=window.RLQ||).push(function(){mw.config.set({"wgPageParseReport":{"limitreport":{"cputime":"0.532","walltime":"0.634","ppvisitednodes":{"value":2264,"limit":1000000},"ppgeneratednodes":{"value":0,"limit":1500000},"postexpandincludesize":{"value":71525,"limit":2097152},"templateargumentsize":{"value":1689,"limit":2097152},"expansiondepth":{"value":20,"limit":40},"expensivefunctioncount":{"value":2,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":45642,"limit":5000000},"entityaccesscount":{"value":2,"limit":400},"timingprofile":["100.00% 494.457 1 -total"," 46.73% 231.053 2 Template:Reflist"," 36.77% 181.812 18 Template:Citation"," 16.31% 80.634 1 Template:Infobox_OS"," 14.06% 69.508 1 Template:Infobox"," 8.27% 40.910 1 Template:About"," 7.42% 36.676 1 Template:Cite_book"," 6.24% 30.870 2 Template:Start_date_and_age"," 4.49% 22.220 2 Template:Navbox"," 3.95% 19.532 1 Template:Commons_category"]},"scribunto":{"limitreport-timeusage":{"value":"0.250","limit":"10.000"},"limitreport-memusage":{"value":5808487,"limit":52428800}},"cachereport":{"origin":"mw1241","timestamp":"20181028231334","ttl":1900800,"transientcontent":false}}});mw.config.set({"wgBackendResponseTime":757,"wgHostname":"mw1241"});});

Popular posts from this blog

Full-time equivalent

Bicuculline

さくらももこ