Hi, Pablo I tried several times but don´t work in my mica2dot. I have formated the Flash with FormatFlash.nc, then install the Delugebasic app with idnode=9. I use the Deluge java app with serial Forwarder. I can ping the node and see the images.
I have a big question to do. When I format the flash, all the image that I have their dissapear? In my case they don't dissapear, after I execute the formatFlash program, the images stay there!! Is this the problem I have?? Thanks Arnaldo Monteiro On 17/01/07, Jacob Sorber <[EMAIL PROTECTED]> wrote:
I had this same problem, and it turned out that in the TOSBoot implementation for the mica2dot plaform, the GPIO pins were not being initialized. My memory is a little fuzzy about exactly what needs to be modified---it was months ago and I have not looked at Deluge since---but I believe it was "tos/lib/Deluge/TOSBoot/at45db/ExtFlashC.nc". I added the following lines to the StdControl.init(), and I think that was all I changed. It is possible that I forgot something, so you should verify that this works. Also, don't forget that you need to recompile TOSBoot. Rebuilding your application is not sufficient. Also, I was under the impression that Jonathan Hui had submitted this fix to the CVS tree. So, it might be fixed in a later version. Hope that helps, Jacob Sorber //Add this to ExtFlashC.nc command result_t StdControl.init() { TOSH_MAKE_FLASH_CS_OUTPUT(); TOSH_SET_FLASH_CS_PIN(); TOSH_MAKE_FLASH_CLK_OUTPUT(); TOSH_CLR_FLASH_CLK_PIN(); TOSH_MAKE_FLASH_OUT_OUTPUT(); TOSH_SET_FLASH_OUT_PIN(); TOSH_MAKE_FLASH_IN_INPUT(); TOSH_CLR_FLASH_IN_PIN(); return SUCCESS; } On 1/16/07, Pablo Gil Montaño <[EMAIL PROTECTED]> wrote: > > 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 < [EMAIL PROTECTED]> > Para: Pablo Gil Montaño <[EMAIL PROTECTED]> > 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 < [EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> > > Para: colombo < [EMAIL PROTECTED]>; > > tinyos-help@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 <[EMAIL PROTECTED]> > > Para: tinyos-help@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@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<http://us.rd.yahoo.com/mail/es/tagline/messenger/*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<http://us.rd.yahoo.com/mail/es/tagline/messenger/*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<http://us.rd.yahoo.com/mail/es/tagline/messenger/*http://es.voice.yahoo.com/> > > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@Millennium.Berkeley.EDU > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > >
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help