Code Search for Developers
 
 
  

ceiling_install.asc from EmStar at Krugle


Show ceiling_install.asc syntax highlighted

Installing Mote Images on to the Ceiling Array
==============================================
The EmStar Team <emstar-design at cens.ucla.edu>
$Id: ceiling_install.asc,v 1.2 2005/08/31 23:52:16 karenyc Exp $

The two scripts located in the emstar/bin directory, tosinstall and flashall, can be used to write an image to one and all of the motes on the ceiling array respectively.  

Tosinstall
----------

Usage instructions from the command line:

tosinstall [--arch ARCH] [--prog PROGRAMMER] [--serial PORT] [--host eprb-host]           [--index HostMote_Index] [--root PATH] [--id NODE_ID] target
	
 Supported programmers:
	mib510 (default)
	host (use hostmote, requires index parameter)
	parport
	eprb
	
	ARCH will be detected from the obj.<ARCH> dir
	
Useful things to know about using tosinstall:

- You need to run it from the root of your EmStar tree

- You need to specify the architecture using the --arch parameter (the ceiling array and James Reserve deployment both use mica2 motes)

- You need to specify the serial port to use with the --serial parameter.  On the ceiling array, each mote has a different serial port assigned by the serial multiplexer.

- The --id is used to assign a mote ID to the image that will be flashed.  This is essential for DSE applications, not required for transceiver

- You can specify the image to flash on the command line

- tosinstall will write and verify that the image was written correctly


Flashall
--------

This script calls tosinstall mutliple times to install the same image on to all or a set of motes attached to serial ports on a PC (generally used on gamayun to flash all the motes attached to the serial multiplexer).

Usage instructions from the command line:

flashall [--bin <relative_path>] [index]..
    --bin specifies relative path to mica2 executable,
          defaults to Transceiver
    if no indices listed, flashes all nodes

Flashall gets the list of nodes to flash from the files in the /dev/mote directory.

It will flash each mote with an id that matches the serial port used to program that mote (so the mote attached to serial port /dev/tty210 will be flashed with id 210).



See more files for this project here

EmStar

EmStar is a software system for developing and deploying wireless sensor networks involving Linux-based platforms. As the wireless sensor network community has attempted to deploy more complex designs---large-scale, long-lived systems that need self-organization and adaptivity---a number of difficult software design issues have arisen. Advances in software design have not kept pace with the capabilities of hardware. This is because designing for an adaptive, efficient, and useful sensor network has turned out to be surprisingly complex and difficult. EmStar is a Linux-based software framework, whose goal is to dramatically reduce this complexity, enabling work to be shared and reused, and simplifying and speeding the design of new sensor network applications.

Project homepage: http://cvs.cens.ucla.edu/emstar/
Programming language(s): C,Shell Script
License: other

  ceiling_install.asc
  gdb.asc
  index.asc
  linkdump.asc
  wrapper.asc