Programming tools for wireless sensor nodes based on ARM Cortex-M3.
This directory contains a build script (build.sh) to compile the following tools:
-
The command line version of the BOSSA flash programming utility (http://www.shumatech.com/web/products/bossa). It contains Opal-specific patches such as toggling LEDs while programming and rebooting the node after programming.
-
The command line tools "opal-erase" and "opal-erase-and-reset" to control the Opal node when connected to the Opal debug board.
- Open a shell and change to the top directory of this repository.
- Build the toolchain by running "./build.sh" Binary files will be written to the "build" folder.
- Move the files within the "build" folder to the final location where you would like to install the binaries (e.g. "/opt/csiro-cortex-programming-tools/" or "$HOME/csiro-cortex-programming-tools").
- Add the location of the binaries to the PATH environment variable of your shell. This can be done by adding the following line to your $HOME/.bashrc file if you are using Bash:
export PATH=$PATH:$HOME/csiro-cortex-programming-tools
- In order to setup USB device permissions using udev rules copy "40-csiro-opal.rules" from the "config" folder to "/etc/udev/rules.d/".
- to compile opal tools for OSX, you might want to use the following flags
CFLAGS="-L/opt/local/lib/ -I/opt/local/include/"