[Tinyos-help] Re: Test Deluge in Telos Rev. B

Reinhard Bischoff Reinhard.Bischoff at empa.ch
Mon Mar 14 01:46:25 PST 2005


Hi,

I have the same problem. My output:

java net.tinyos.deluge.Deluge -p

Pinging node ...
Connected to TOSBase node.
--------------------------------------------------
  Image 0
    Prog Name:   GoldenImage
    Compiled On: Mon Mar 14 10:14:33 CET 2005
    User ID:     bir116
    Hostname:    ddm02254
    User Hash:   0xe8929fe7
    Num Pages:   N/A
  Image 1
    Prog Name:   N/A
    Compiled On: N/A
    User ID:     N/A
    Hostname:    N/A
    User Hash:   N/A
    Num Pages:   N/A
  Image 2
    Prog Name:   N/A
    Compiled On: N/A
    User ID:     N/A
    Hostname:    N/A
    User Hash:   N/A
    Num Pages:   N/A
--------------------------------------------------
DONE!

java net.tinyos.deluge.Deluge -i -if=build/telosb/tos_image.xml -in=1

Pinging node ...
Connected to TOSBase node.
--------------------------------------------------
Ihex read complete:
  Total bytes = 19790
  Sections = 2
--------------------------------------------------
Replace empty image with:
  Image: 1
    Prog Name:   Blink
    Compiled On: Thu Mar 10 14:27:44 CET 2005
    User ID:     bir116
    Hostname:    ddm02254
    User Hash:   0xe8929fe7
Continue operation? (y/[n]) 
Injecting page [1] of [19] ...
Injecting page [2] of [19] ...
...
Injecting page [19] of [19] ...
--------------------------------------------------
DONE!

java net.tinyos.deluge.Deluge -p

Pinging node ...
Connected to TOSBase node.
--------------------------------------------------
  Image 0
    Prog Name:   GoldenImage
    Compiled On: Mon Mar 14 10:14:33 CET 2005
    User ID:     bir116
    Hostname:    ddm02254
    User Hash:   0xe8929fe7
    Num Pages:   N/A
  Image 1
    Prog Name:   Blink
    Compiled On: Thu Mar 10 14:27:44 CET 2005
    User ID:     bir116
    Hostname:    ddm02254
    User Hash:   0xe8929fe7
    Num Pages:   19/19
  Image 2
    Prog Name:   N/A
    Compiled On: N/A
    User ID:     N/A
    Hostname:    N/A
    User Hash:   N/A
    Num Pages:   N/A
--------------------------------------------------
DONE!

java net.tinyos.deluge.Deluge -r -in=1

Pinging node ...
Connected to TOSBase node.
--------------------------------------------------
Reboot to image:
  Image: 1
    Prog Name:   Blink
    Compiled On: Thu Mar 10 14:27:44 CET 2005
    User ID:     bir116
    Hostname:    ddm02254
    User Hash:   0xe8929fe7
Continue operation? (y/[n]) Sending reboot message ...
Reboot message sent.
Reboot message sent.
Reboot message sent.
--------------------------------------------------
DONE!

LEDS: 
before programming: red ON, green: slowly BLINKING
after reprogramming: same as above (after reprogramming, while reboot:
some blinking of all 3 leds)
after reboot: same as above (while reboot some blinking of all 3 leds,
blue lights on an then off)

It seems like it reboots the mote, but not to image 1. It reboots the
Golden image again.

TinyOS: 1.1.11 cvs snapshot

Regards
Reinhard


> For the reboot problem, it would be helpful if you could provide some
more information:
> 1) What command are you typing to reboot the nodes?
> 2) What is the output on the screen that you are getting?
> 3) Does the blue led turn on when you issue the reboot command?
>
> All information for each image is stored on the external flash.
TOSBoot uses the internal flash > to essentially pass parameters between
reboots (e.g. TOS_LOCAL_ADDRESS, TOS_GROUP_ADDR, which image to boot
from, where the image is located, etc.).




More information about the Tinyos-help mailing list