[Tinyos-help] Deluge 2 and mica2DOT

Pablo Gil Montaño pgilmon at yahoo.es
Tue Jan 16 02:03:48 PST 2007


Hi,

Have you tried Deluge included in revision 1.1.14? The thing you explain about not changing the program in execution after rebooting is exactly what happened to me when I was using Deluge included in tinyos revision 1.1.15. You just have to substitute tos/lib/Deluge and all its subfolders with the ones iin revision 1-1-14 in tinyos CVS repository available at sourceforge.net.

With respect to the SerialForwarder problems. Does it happen only with Deluge java api? You could try using another application that also sends messages to the nodes. You can try with Drip, which injects packets epidemically on the network (tos/lib/Drip/README for more info).


Regards,

Pablo Gil



----- Mensaje original ----
De: colombo <colomboipl at gmail.com>
Para: Pablo Gil Montaño <pgilmon at yahoo.es>
Enviado: lunes, 15 de enero, 2007 22:05:26
Asunto: Re: [Tinyos-help] Deluge 2 and mica2DOT

Hi ,

Thanks for your explanation. I can´t put tinyos1.1.15 work with only the mica2. With the mica2dot i cannot change the image. i can inject in both cases (mica2 and mica2dot) but when I try to reboot to another image, in mica2dot don´t change. It remains on the same. 

Another problem is: I have one mica2 that is a a gateway runing TOSbase and another mica2 in the network. When I use the Deluge java api to inject a image into the mica2 on the network, i get to many errors in the serial forwarder and thakes to long to Load the  image into it.


Thanks 

Arnaldo Monteiro

On 15/01/07, Pablo Gil Montaño <pgilmon at yahoo.es> wrote:
Hi all,

I've been trying to make Deluge 2.0
 work on mica2 (under tinyos-1.x). Finally I got it working, I'll post here how I did it just in case it is of any use to someone.

The first reason why it didn't work was that I was using a version of some tools (avr-gcc, avr-libc, etc.) different from the ones provided in tinyos webpage [1]. These versions are the ones in the Ubuntu repositories, and are higher versions. The problem was that image files generated by avr-gcc version in ubuntu repositories turned out to be considerably bigger than the one generate by the older version. Deluge java toolchain considered it too big (too many pages) and wouldn't transfer it to the mote. 


Secondly, Deluge in CVS revision 1.1.15
 doesn't seem to work well with mica2 motes. This problem has already been described in previous mails in this list (e.g.: message from Simon Willis on Wed, 27 Dec 2006, titled 'Bugs found in Deluge/TOSBoot'). I just subsituted the entire 
tinyos-1.x/tos/lib/Deluge folder with revision 1.1.14 in the repositories and now it works.

Regards,

Pablo Gil




----- Mensaje original ----
De: Pablo Gil Montaño <pgilmon at yahoo.es>
Para: colombo <
colomboipl at gmail.com>; tinyos-help at Millennium.Berkeley.EDU
Enviado: lunes, 15 de enero, 2007 17:34:03

Asunto: Re: [Tinyos-help] Deluge 2 and mica2DOT


Hi all,

I'm trying just to make deluge
 2.0 work on mica2 motes under tinyos-1.x.

I have formatted the flash and uploaded DelugeBasic application. The node responds to ping messages sent through Deluge java toolchain, but when I try to inject an image, I always get the following error:


Error: tos image is too large

This happens with any image (I mean, if I just program them directly without Deluge, they work), and regardless which image number I try to use (I get image number 0,1 and 2 when pinging the node).



Regards,

Pablo Gil



----- Mensaje original ----
De: colombo
 <colomboipl at gmail.com>
Para: 
tinyos-help at Millennium.Berkeley.EDU
Enviado: viernes, 12 de enero, 2007 22:02:10
Asunto: [Tinyos-help] Deluge 2 and mica2DOT

Hi,

I have the same problem. Does you resolved yet ?

Thanks 

Arnaldo Monteiro

Hi

I have a strange problem.

Deluge 2 works perfectly with my mica2 motes.
But with the mica2DOT motes I'm encountering some problem.

I can install the tos_image.xml files (of course compiled for mica2DOT)

into the motes with the deluge inject command.
Also the deluge ping command works and shows correct results,  but 
somehow the deluge reboot command has no effects, the corresponding 

image is not executed.

If i put the program directly with the make install command on the motes 
it works.

Has anybody had the same problem or any idea what could be wrong ?

Thanks a lot

Hannes

_______________________________________________
Tinyos-help mailing list
Tinyos-help at Millennium.Berkeley.EDU

https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help







		
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.

http://es.voice.yahoo.com






		
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.

http://es.voice.yahoo.com











	
	
		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070116/34278308/attachment.htm


More information about the Tinyos-help mailing list