Skip to content

OpenMote Installation

Angel Ivan Castell Rovira edited this page Aug 21, 2016 · 6 revisions

Introduction

The OpenMote is a CC2538 based platform that, combined with an OpenBase containing a ENC28J60 Ethernet controller, can be used to run a lightweight border router. By default the webserver is enabled, allowing runtime configuration of the 6LBR through the webserver.

Binary packages

Download and uncompress the last binary package available:

$ wget https://github.com/cetic/6lbr/wiki/releases/openmote/cetic-6lbr_1.4.0_openmote.zip
$ unzip cetic-6lbr_1.4.0_openmote.zip

This command extracts the following files:

  • cetic_6lbr_6lr.bin
  • cetic_6lbr_full_transparent_bridge.bin
  • cetic_6lbr_ndp_router.bin
  • cetic_6lbr_router.bin
  • cetic_6lbr_rpl_relay.bin
  • cetic_6lbr_smart_bridge.bin

TODO: explain the purpose of each binary

Manual build

Obtain the source

Install a cross-compilation environment for CC2538DK This document does not describe how to set up a cross-compilation environment for CC2538DK, for a good starter check CC2538DK platform Readme

Obtain the latest version of 6LBR:

git clone https://github.com/cetic/6lbr
cd 6lbr
git submodule update --init --recursive
cd examples/6lbr

Build

  1. In 6lbr source directory, do the following commands :
make all_openmote
make tools

By default, the binaries will be in the raw binary format, you can use CC2538DK_FW to select hex or elf formats.

Binary loading

You can use many tools to upload your binary :

Configuration update

By default, OpenMote images have the full webserver enabled, which allow yo to configure the run time parameters.

TODO

Explain how to setup a working 6LBR will be helpful...

Clone this wiki locally