Please note as of Wednesday, August 15th, 2018 this wiki has been set to read only. If you are a TI Employee and require Edit ability please contact x0211426 from the company directory.
Getting started with Contiki and CC2530
The Getting Started with Contiki and CC2530 is an effort to kickstart an open source development using the SDCC 8051 Compiler  and The Contiki Operating System . This Crowdsourcing  is trying to build an open source effort to get Contiki running on the TI LPRF SmartRF05 platform with CC2530.
The CC2530 is a IEEE 802.15.4 SoC. It enables robust network nodes to be built with very low total cost. The CC2530 combines an enhanced 8051 MCU, in-system programmable flash memory, 8-KB RAM, and many other powerful features. The CC2530 comes in four different flash versions: CC2530F32/64/128/256, with 32/64/128/256 KB of flash memory, respectively. The CC2530 has various operating modes, making it highly suited for systems where ultralow power consumption is required such as Contiki based system Short transition times between operating modes further ensure low energy consumption.
Contiki is an open-source multitasking event-driven operating system designed for networked embedded devices. Its lightweight footprint makes it suitable for memory constraint microcontrollers.
Contiki gathers several independent modules such as an event-driven thread-like multitasking environment with the protothread library, the uIP TCP/IP (v4 and v6) stack, the wireless sensor network set of protocols: the Rime stack.
- Contiki Wiki 
- SICS Contiki Wiki 
Already out on the web are multiple excellent resources as a very good starting point for this porting effort:
- Experiences from Porting the Contiki Operating System to a Popular Hardware Platform 
- Loughborough Univeristy - Contiki Sensinode/cc2430 with uIPv6 and RPL 
- SensTools WSN430 Effort 
Needed for Development
- CC2530 ZigBee Development Kit
- VMWare Player 
- VMWare Workstation 
- Instant Contiki 2.5 
- Terra Term (not Necessary, preferred)
- SDCC 3.0.3  (It is what I used, downloaded a snap build)
- SDCC Snap Shot Builds 
- TI Packet Sniffer 
- Smart RF Flash Programmer 
Getting Started and Quick Start
First familiarize yourself with a few basic things highlighted in the steps below:
- Getting started with the SRF05EB HW 
- Install Instant Contiki 
- Build SDCC from source 
- Develop your first application 
- Program the CC2530 using the SRF Flash Programmer and SRF05EB with the hex file from cross-compiling under Linux using make
CC2530 Contiki/6LowPan port
The port is now available from George Oikonomou. A very special thank you to him for the excellent job to make it available to everyone
- cc2530 port with examples has been pushed to github, branch cc2530 at 
What has been ported so far is the basic framework to use the SmartRF05 Evaluation Board (SRF05EB) as the development platform for this effort. The following is currently supported:
- SDCC banking with my automatic bank allocator.
- uipv6 with RPL, icmp and udp (not tested tcp). 6lowpan header compression also works.
- Working SmartRF/cc2530EM Drivers: RF, watchdog, uart, clock via sleep timer, rtimer via timer 1, button, LEDS 1-3, h/w random number generator, ADC (temp and VDD).
- The port builds on ubuntu and Mac OS X.
The plan for the future will be to get support for the CC2531
- Next drivers to implement: cc2531 USB (CDC), joystick, LCD, serial flash, DMA
For anyone interested in this work continue to post on the Contiki Developers list
- Contiki Developers List 
For step-by-step guide on running Contiki demo for CC2538DK on Windows, please refer to the following link.
Follow the Effort on E2E
- LPRF Rocks the World - Contiki/6LowPan CC2530 Effort 
"Customer Centricity, Enthusiasm, Mass collaboration and Great minds are the best path towards great products"