]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - doc/html/deluge-t2-manual.html
This commit from Chieh-Jan (Mike) Liang contains the following:
[tinyos-2.x.git] / doc / html / deluge-t2-manual.html
index 2248f683a08b603e335bfeb0b1357f5fb4a3b27d..6bc5bc7506682a75203049b2f3944ceb30827f7a 100644 (file)
@@ -9,6 +9,8 @@ Deluge T2 - Programming Manual
 <meta name=robots content="index,follow">
 </head>
 <body>
+<div id=title>
+<p></p>
 <p>
 
 </p>
@@ -19,11 +21,11 @@ Deluge T2 - Programming Manual
 
 
 </p>
-<h1 class=title align=center><br><br>Deluge T2 - Programming Manual</h1>
+<h1 class=title>Deluge T2 - Programming Manual</h1>
 <p></p>
 <div align=center>
 Chieh-Jan Mike Liang<br>
-Razvan Musaloiu-E.<p>June 21, 2007</p>
+Razvan Musaloiu-E.<p>July 11, 2007</p>
 </div>
 <p></p>
 <p>
@@ -40,10 +42,10 @@ Hui, and Deluge 2.0 is the most recent version. Documentations on Deluge
 <a href="http://www.cs.berkeley.edu/~jwhui/research/deluge/">http://www.cs.berkeley.edu/~jwhui/research/deluge/</a>.</p>
 <p>
 Deluge T2 is an effort to port Deluge 2.0 from TinyOS 1 to TinyOS 2. 
-Since the code from Deluge 2.0 is reused as much as possible, the 
-behavior and the usage of Deluge T2 should be similar to Deluge 2.0. 
-Having said that, it would be helpful to read the Deluge 2.0 manual and 
-related documentations.</p>
+Although the code from Deluge 2.0 is reused as much as possible, the 
+behavior and the usage of Deluge T2 are not entirely identical to Deluge 
+2.0. Having said that, it would still be helpful to read the Deluge 2.0 
+manual and related documentations.</p>
 <p>
 Deluge T2 is still in experimental phase. One current limitation is 
 platform support. Deluge T2 has been developed on Tmote Sky (<i>telosb</i>) 
@@ -214,7 +216,7 @@ You should see something similar to the output below.</p>
 first test on the base station by issuing the reboot command. For 
 example,
 </p>
-<pre class=verbatim>   % tos-deluge /dev/ttyUSB0 telosb -r 1
+<pre class=verbatim>   % tos-deluge /dev/ttyUSB0 telosb -b 1
 </pre><p>
 After a few moments, the mote will begin quickly flashing the LEDs to 
 signify the reprogramming process.</p>
@@ -225,10 +227,14 @@ the network. For example,
 <pre class=verbatim>   % tos-deluge /dev/ttyUSB0 telosb -d 1
 </pre><p>
 This command instructs the base station to notify the whole network of 
-the availablility of a new program image. This notification is currently 
+the availability of a new program image. This notification is currently 
 done via TinyOS dissemination service, and it triggers all motes in the 
-network to get the new program image. Upon receiving the complete image 
-over-the-air, each node automatically reboots and reprograms itself.</p>
+network to get the new program image. After all motes receive the image 
+over-the-air, you can instruct the base station to disseminate the 
+command to reprogram in the network. For example,
+</p>
+<pre class=verbatim>   % tos-deluge /dev/ttyUSB0 telosb -r 1
+</pre><p></p>
 <p>
 </p>
 <a name="node_sec_5"></a>
@@ -236,8 +242,7 @@ over-the-air, each node automatically reboots and reprograms itself.</p>
 <p></p>
 <p>
 Different from Deluge 2.0, Deluge T2 toolchain is written in Python. 
-However, as demonstrated in the previous section, the usage is very 
-similar.</p>
+However, as demonstrated in the previous section, the usage is similar.</p>
 <p>
 </p>
 <a name="node_sec_5.1"></a>
@@ -256,34 +261,38 @@ no state is stored on the PC.</p>
 <p>
 </p>
 <a name="node_sec_5.3"></a>
-<h2>5.3&nbsp;&nbsp;-r -reboot</h2>
+<h2>5.3&nbsp;&nbsp;-b -reprogram_bs</h2>
 <p>This command sets up the mote to reprogram itself after reboot, and then 
-it reboots the mote. This command is applicable only to the directly 
-connected mote.</p>
+it reboots the mote. This command is applicable only to the base station 
+mote.</p>
 <p>
 </p>
 <a name="node_sec_5.4"></a>
 <h2>5.4&nbsp;&nbsp;-d -dissemination</h2>
-<p>This command instructs the directly connected mote to disseminate an 
-image to the network. This image is specified by the volume ID. Upon 
-successfully receiving an image, motes in the network automatically 
-reprogram themselves.</p>
+<p>This command instructs the base station mote to disseminate an image to 
+the network. This image is specified by the volume ID.</p>
 <p>
 </p>
 <a name="node_sec_5.5"></a>
-<h2>5.5&nbsp;&nbsp;-e -erase</h2>
-<p>This command erases a flash volume on the directly connected mote.</p>
+<h2>5.5&nbsp;&nbsp;-r -reprogram</h2>
+<p>This command instructs the base station mote to disseminate the 
+command to reprogram in the network. This command does not reprogram the 
+base station mote. The image is specified by the volume ID.</p>
 <p>
 </p>
 <a name="node_sec_5.6"></a>
-<h2>5.6&nbsp;&nbsp;-s -reset</h2>
+<h2>5.6&nbsp;&nbsp;-e -erase</h2>
+<p>This command erases a flash volume on the base station mote.</p>
+<p>
+</p>
+<a name="node_sec_5.7"></a>
+<h2>5.7&nbsp;&nbsp;-s -reset</h2>
 <p>This command resets versioning information of a specific image on the 
-directly connected mote.</p>
+base station mote.</p>
 <p>
 </p>
-<div align=right class=colophon>
-<i>Last modified: Thursday, June 21st, 2007<br>
-HTML conversion by <a href="http://www.ccs.neu.edu/~dorai/tex2page/tex2page-doc.html">TeX2page 2004-09-11</a></i>
+<p></p>
+<div align=right class=colophon>Last modified: Wednesday, July 11th, 2007 2:26:06pm<br><div align=right class=advertisement>HTML conversion by <a href="http://www.ccs.neu.edu/~dorai/tex2page/tex2page-doc.html">TeX2page 20050501</a></div></div>
 </div>
 </body>
 </html>