Skip to content

Redwire IO Configuration

laurentderu edited this page Sep 5, 2014 · 3 revisions

Introduction

The Redwire IO is an embedded router based on the FreeScale MC13224 ARM7 802.15.4 System on Chip. It is based on the Redwire M12, which amongst other things, provides 96KB of RAM and 128KB of flash and a variety of I/O; and an Ethernet controller based on ENC28J60.

Redwire IO

Download binaries package

Download the 6lbr package for Redwire-IO if you do not plan to build it yourself. Check the releases page for the latest packages.

Manual build

  1. Install a cross-compilation evironment for mc1322X This document does not describe how to set up a cross-compilation environment for mc1322x, for a good starter check libmc1322x
  2. Obtain the latest version of 6LBR:
git clone https://github.com/cetic/6lbr
cd 6lbr
git submodule update --init --recursive
cd examples/6lbr
  1. In 6lbr source directory, do the following commands :
make all_red-io
make tools

Binaries for all the modes are created in bin_red-io/

Binary loading

Use the mc1322x-load(.pl) program to load the 6LBR on the M12

 mc1322x-load.pl -t /dev/ttyUSB1 -f bin_red-io/cetic_6lbr_smart_bridge 

Note that you have to upload the 6LBR again when the Econotag is reset/restarted

You can program the M12 NVM with the flasher tool provided with libmc322x :

bbmc -l econotag erase
mc1322x-load.pl -t /dev/ttyUSB1 -f tools/econotag/flasher_m12.bin -s bin_econotag/cetic_6lbr_smart_bridge -c 'bbmc -l econotag reset' -b 200

Configuration update

Due to the limited size of the M12 RAM, it is not possible to update configuration parameters of the 6LBR directly. In order to modify these configuration parameters, one has to create a NVM configuration file using NVM Tool and flash the M12 NVM with it using the NVM-Proxy tool. The old NVM-Flasher is deprecated and should not be used anymore

Clone this wiki locally