From 1c02dd5652fcd8d66369c0cb7c44922df2e7a3f2 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Fri, 6 Oct 2006 07:57:41 +0000 Subject: [PATCH] Initial documentation for node ID storing and restoring --- platform/esb/doc/esb.txt | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/platform/esb/doc/esb.txt b/platform/esb/doc/esb.txt index 44e1bc57f..6e56e6363 100644 --- a/platform/esb/doc/esb.txt +++ b/platform/esb/doc/esb.txt @@ -50,7 +50,7 @@ When cygwin is installed there should be a cygwin icon that starts up a cygwin bash when clicked on. Whenever it is time to compile and send programs to the ESB nodes it will be done from a cygwin shell. -\subsubsection winintro-installing-editor C programming editor +\subsection winintro-installing-editor C programming editor If you do not already have a nice programming editor it is a good idea to download and install one. The Crimson editor is a nice @@ -63,7 +63,7 @@ http://www.crimsoneditor.com/ The editor is useful both when editing C programs and when modifying scripts and configuration files. -\subsubsection winintro-installing-compiler MSP430 Compiler and tools +\subsection winintro-installing-compiler MSP430 Compiler and tools A compiler is needed to compile the programs to the MSP430 microprocessor that is used on the ESB sensor nodes. Download and @@ -89,7 +89,7 @@ home directory If your home directory is located elsewhere you can find it by starting cygwin and running \c cd followed by \c pwd. -\subsubsection winintro-installing-contiki The Contiki operating system, including examples +\subsection winintro-installing-contiki The Contiki operating system, including examples When programming the ESB sensor nodes it is very useful to have an operating system that takes care of some of the low-level tasks and @@ -122,7 +122,7 @@ need to delete cygwin1.dll from the MSP430 GCC toolchain Connect a node and turn it on. Upload the test application by calling make beeper.u. -\subsubsection winintro-testing-development Development tools +\subsection winintro-testing-development Development tools - make \ will compile and make a executable file ready for sending to the ESB nodes. Depending on the \c SPEC it might even @@ -131,7 +131,7 @@ node. Typically you would write things like "make beeper.u" to get the file beeper.c compiled, linked and sent out to the ESB node -\subsubsection winintro-testing-shell Some basic shell commands +\subsection winintro-testing-shell Some basic shell commands - cd \ change to a specified directory (same as in DOS) - pwd \ shows your current directory @@ -146,6 +146,14 @@ msp430-libc packages from http://www.sics.se/~adam/contiki/freebsd-packages/. Install the packages (as root) with pkg_add. +\section esb-test-compilation Compiling your first Contiki system + +\section esb-burn-node-id Burning node IDs to EEPRMOM + +The Contiki ESB port comes with a small program that semi-permanently +stores a (unique) node ID number in the ESB EEPROM. When the Contiki +ESB port boots up, this node ID is restored from the EEPROM. + @{ */