[Tinyos-beta-commits] CVS: tinyos-1.x/beta/Deluge/delugetools Deluge.java, NONE, 1.1 Makefile, 1.12, 1.13

Jonathan Hui jwhui at users.sourceforge.net
Sun Nov 21 21:31:00 PST 2004


Update of /cvsroot/tinyos/tinyos-1.x/beta/Deluge/delugetools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13752/delugetools

Added Files:
	Deluge.java Makefile 
Log Message:
- Initial checkin of Deluge v2.0.

- New features:
  - Support for hardware write protect of external flash chip.
  - Ping results include information obtained from Ident.h.
  - CRCs are no longer inlined with program data, thus allowing for
    DMA transfers from external flash to program flash.
  - Version number information included in Deluge packets to prevent
    nodes with different versions of Deluge from conflicts.
  - Support for TinyOS 2.x hardware independent storage abstraction.
  - Metadata data-structures include CRCs generated by the host PC
    to help guard against corruption.
  - TOSBoot bootloader now written in nesC.
  - Reduced RAM and ROM requirements.
  - Other minor enhancements that I can't think of right now.

- Major user differences:
  - Golden image is now slot 0. While it cannot be written to, the user
    can retrieve Ident.h information about the golden image.
  - When specifying an image for download, the user specifies the 
    build/<platform> directory rather than just the ihex file. The issue
    is that it is very difficult to pull out the Ident.h information
    without compile-time output.

- Known issues:
  - Does not support more than 1 downloadable image (actually, it might, 
    but I haven't tested it yet).

- To setup the Deluge tools, create the directory net/tinyos/deluge
and copy all files in 'delugetools' into it.

- Operation is very similar to Deluge v1.0.
  Ping:
    $ java net.tinyos.deluge.Deluge -p
  Download:
    $ java net.tinyos.deluge.Deluge -i -if <builddir> -in <imagenum>
  Reboot:
    $ java net.tinyos.deluge.Deluge -r -in <imagenum>



--- NEW FILE: Deluge.java ---
// $Id: Deluge.java,v 1.1 2004/11/22 05:30:58 jwhui Exp $

/*									tab:4
 *
 *
 * "Copyright (c) 2000-2004 The Regents of the University  of California.  
 * All rights reserved.
 *
 * Permission to use, copy, modify, and distribute this software and its
 * documentation for any purpose, without fee, and without written agreement is
 * hereby granted, provided that the above copyright notice, the following
 * two paragraphs and the author appear in all copies of this software.
 * 
 * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
 * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
 * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 * 
 * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
[...1069 lines suppressed...]
	System.out.println("ERROR: Can't send message");
	allDone(1);
      } catch (Exception e) {
	e.printStackTrace();
      }
    }

    public void run() {
      try {
	for(;;) {
	  transmitPacket();
	}
      } catch (Exception e) {
	e.printStackTrace();
      }
    }

  }

}




More information about the Tinyos-beta-commits mailing list