-
Notifications
You must be signed in to change notification settings - Fork 11
Home
OSD-Contiki is an operating system for resource-constrained devices in the Internet of Things. OSD-Contiki contains an RFC-compliant, low-power IPv6 communication stack, enabling Internet connectivity. The system runs on a variety of platforms based on energy-efficient architectures such as the Atmel and ARM Cortex-M3/M4 and the Texas Instruments MSP430. The code footprint is on the order of a 100 kB, and the memory usage can be configured to be as low as 10 kB. The source code is available as open source with a 3-clause BSD license.The Parts of Arduino Implemetation are under the LGPL-License.
Check the OSD-Contiki website
Please submit your questions with the Contiki tag on Stackoverflow
Use the Issue Tracker provided by Github.
For Contiki development discussion you can use the mailing list
Join #contiki-os channel at irc.freenode.net for live community discussion: http://freenode.net/irc_servers.shtml
Have code that you'd like to contribute to Contiki? Great! See Code Contributions for instructions how to get it included in the Contiki tree!
If you have downloaded OSD-Contiki, you need to install an AVR toolchain if you haven't already done so.
Install GCC for AVR for building and avrdude for programming, which are both available in the standard debian packages.
apt-get install gcc-avr avr-libc avrdude
To verify your AVR build environnement installation, try to compile Contiki applications for AVR platforms:
cd contiki/examples/hello-world make TARGET=osd-merkur
This generates hello-world.osd-merkur, an ELF-formatted version of the Contiki Hello World! application, built for the Merkurboard.
Install both AVR Studio, an IDE for developing applications for AVR devices, and WinAVR which provides compiling and programming support.
- download and install AVR Studio
- download and install WinAVR
cd $CONTIKI_HOME/examples/ipv6/slip-radio make TARGET=osd-merkur
It should produce slip-radio.osd-merkur which is the ELF file that you will use to program the Merkurboard.
To load the program into the device, you have to plug a usb/serial adapter on the pin header located on the head of the module.
Run the following command:
avrdude -pm128rfa1 -c arduino -P/dev/ttyUSB0 -b57600 -e -U flash:w:slip-radio.osd-merkur.hex:a -U eeprom:w:alip-radio.osd-merkur.eep:a
The command specifies that we use arduino bootloader. If you are not sure what to use here, you can find you programmer option by running the command:
avrdude -c asdf
Open the programming panel
Select your tool and select the atmega1281 device (the read button allow you to be sure that the communication between your tool and the atmel module works)
On the memories panel you can program the device.