Trial and Error: Getting Contiki OS Up and Running

This is the diary of my exploration as I try to get Contiki OS running on a TI CC2650 Launchpad using an Ubuntu 16.04 virtual machine running on a MacBook Pro running High Sierra.

Let's begin.

sudo apt-get install build-essential binutils-msp430 gcc-msp430 msp430-libc binutils-avr gcc-avr gdb-avr avr-libc avrdude binutils-arm-none-eabi gcc-arm-none-eabi gdb-arm-none-eabi openjdk-8-jdk openjdk-8-jre ant libncurses5-dev doxygen srecord git


"This will allow you to cross-compile for MSP430- and AVR-platforms."

git clone --recursive git:// contiki

This should get us the latest Contiki. (Don't forget the --recursive)

Change into the contiki directory

git submodule update --init --recursive
cd examples/hello-world
make TARGET=native hello-world

It looks good at this point.

Contiki-3.x-3341-g80dbe5c started with IPV6, RPL
Rime started with address
MAC nullmac RDC nullrdc NETWORK sicslowpan
Tentative link-local IPv6 address fe80:0000:0000:0000:0302:0304:0506:0708
Hello, world
cd ~/contiki/examples/cc26xx
make TARGET=srf06-cc26xx BOARD=launchpad/cc2650

Yay! It compiled without errors.

Comments 1

  1. I have used uniflash to upload complied .bin files to my launchpad successfully. After Ive done that once I can’t erase or refresh anything else. Uniflash gives me a 241 security error. Have you experienced this? Have you been able to refresh your launchpad with multiple files?

Leave a Reply

Your email address will not be published. Required fields are marked *