Hi!

On Tue, 6 Oct 2009, Bunsenbrenah wrote:

> Razvan Musaloiu-E. wrote:
>> Hi!
>> 
>> Can you give a try to the deluge-mica2 head from the GIT tree from here: 
>> [...]
>>
> 
> Unfortunately I've been unable to get to the hardware needed for trying until 
> now. I'm very sorry for the delay especially since you are so graciously 
> trying to help me.
>
> Since I now have access to the mica2's again here is what I found:
>
> I downloaded the tinyos-2.x tree from your git repository. Then I followed 
> the Deluge T2 guide (install tools and PySerial).
> Using a modified version of Blink's burn script [1] to enable target mica2
>   ./burn mib510,/dev/ttyS2 serial@/dev/ttyS3:57600 mica2
> everything runs through without warnings or errors. Since it takes about ~7 
> minutes to upload the image (is it supposed to take this long for that small 
> a program?)

The serial communication is very slow in Windows. If you do it from Linux 
it should be much faster.

> I figure that part works. After that the mote reboots as it should. 
> Unfortunately it does not load the new image when it does.
> A full log of burn's output can be found at [2].

Everything looks fine.

>
> Sending a reboot command manually to flash the stored burn image with
>   tos-deluge serial@/dev/ttyS3 -r 1
> reboots the node but does not change the program running (at the very least 
> not the leds blinking).

This means the tosboot doesn't work at it should. I'm going to try to find 
some mica2 and do some debugging. Thanks for giving it a try. :-)

--
Razvan ME

> I then tried to modifiy the burn script's inject command to inject an image 
> to slot 2 instead of 1 (a new Blink using 2 leds instead of just 1)
>   tos-deluge serial@/dev/ttyS3 -r 1 and tos-deluge serial@/dev/ttyS3 -r 2
> This should then change between stored images - which does not work. Also, 
> there is no indicator as to why.
>
> Next thing I tried is to disseminate and reprogram other motes (in case there 
> is only one image allowed at a time but this one is there and works).
> As directed by the Deluge T2 Tutorial I flashed the GoldenImage to 2 other 
> nodes and instructed the basenode (created by burn) with
>   tos-deluge serial@/dev/ttyS3 -dr 1
> to work it's magic. Which did not show any results for 30mins - after which I 
> finally gave up.
> A ping of both used slots can be found at [3].
>
> Did I do something wrong at some point? What can I do to give you more of an 
> idea what's (not) happening?
>
> Greetings,
> BB
>
> [1] http://www.pastehere.com/?wqmxig
> [2] http://www.pastehere.com/?cftplk
> [3] http://www.pastehere.com/?jghrvn
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to