Hi to all,

I start to "play" with deluge T2 and I'm following
the manual (deluge-t2-manual.html) but I gut problem in the "Quick start"
section.
I'm using tinyos2.x on a macbook duo 2 core with Tiger version 10.4.11


-->>The problem is :

tinyos::>> ./burn /dev/tty.usbserial-XBQ6TGNF telosb
sh: line 1: sha1sum: command not found
sh: line 1: sha1sum: command not found
rm -rf build
rm -rf _TOSSIMmodule.so TOSSIM.pyc TOSSIM.py


============================ Compile and load Blink ============================
sh: line 1: sha1sum: command not found
sh: line 1: sha1sum: command not found
mkdir -p build/telosb
tos-storage-stm25p /opt/tinyos-2.x/tos/platforms/telosb
<volumes-stm25p.xml >build/telosb/StorageVolumes.h || rm -f
build/telosb/StorageVolumes.h


    compiling BlinkAppC to a telosb binary
ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -Wall -Wshadow
-Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board=
-DDEFINED_TOS_AM_GROUP=0x22 -Ibuild/telosb -DDELUGE_BASESTATION
-DDELUGE_BASESTATION -DDELUGE -I/opt/tinyos-2.x/tos/lib/net
-I/opt/tinyos-2.x/tos/lib/net/drip
-I/opt/tinyos-2.x/tos/lib/net/Deluge
-I/opt/tinyos-2.x/tos/lib/net/Deluge/FlashVolumeManager
-I/opt/tinyos-2.x/tos/lib/net/Deluge/BlockStorageManager
-I/opt/tinyos-2.x/tos/lib/net/Deluge/extra
-I/opt/tinyos-2.x/tos/lib/net/Deluge/extra/msp430
-I/opt/tinyos-2.x/tos/lib/net/Deluge/extra/telos
-I/opt/tinyos-2.x/tos/lib/net/Deluge/extra/telosb
-Wl,--section-start=.text=0x4a00,--defsym=_reset_vector__=0x4000
-DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"enieni\"
-DIDENT_HOSTNAME=\"eni-enis-comput\" -DIDENT_USERHASH=0L
-DIDENT_TIMESTAMP=0x47ceb744L -DIDENT_UIDHASH=0L  BlinkAppC.nc -lm


    compiled BlinkAppC to build/telosb/main.exe
           32714 bytes in ROM
            1249 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe build/telosb/main.ihex
    writing TOS image


cp build/telosb/main.ihex build/telosb/main.ihex.out
    installing telosb bootloader using bsl
tos-bsl --telosb -c /dev/tty.usbserial-XBQ6TGNF -r -e -I -p
/opt/tinyos-2.x/tos/lib/tosboot/build/telosb/main.ihex

MSP430 Bootstrap Loader Version: 1.39-telos-8

Mass Erase...
Transmit default password ...
Invoking BSL...
Transmit default password ...
Current bootstrap loader version: 1.61 (Device ID: f16c)
Changing baudrate to 38400 ...
Program ...
2112 bytes programmed.


Reset device ...
    installing telosb binary using bsl (without mass erase)
tos-bsl --telosb -c /dev/tty.usbserial-XBQ6TGNF -r -I -p
build/telosb/main.ihex.out
MSP430 Bootstrap Loader Version: 1.39-telos-8
Invoking BSL...


Transmit default password ...
Current bootstrap loader version: 1.61 (Device ID: f16c)
Changing baudrate to 38400 ...
Program ...
32746 bytes programmed.
Reset device ...
rm -f build/telosb/main.exe.out build/telosb/main.ihex.out


           +-------------------------------------------------------+
           |                                                       |
           | At this point the first led (red) should be blinking. |
           |                                                       |


           |               Press ENTER to continue...              |
           |                                                       |
           +-------------------------------------------------------+


============================= Compile a new Blink ==============================

sh: line 1: sha1sum: command not found
sh: line 1: sha1sum: command not found
mkdir -p build/telosb
    compiling BlinkAppC to a telosb binary
ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -Wall -Wshadow
-Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board=
-DDEFINED_TOS_AM_GROUP=0x22 -Ibuild/telosb -DBLINK_REVERSE
-DDELUGE_BASESTATION -DDELUGE_BASESTATION -DDELUGE
-I/opt/tinyos-2.x/tos/lib/net -I/opt/tinyos-2.x/tos/lib/net/drip
-I/opt/tinyos-2.x/tos/lib/net/Deluge
-I/opt/tinyos-2.x/tos/lib/net/Deluge/FlashVolumeManager
-I/opt/tinyos-2.x/tos/lib/net/Deluge/BlockStorageManager
-I/opt/tinyos-2.x/tos/lib/net/Deluge/extra
-I/opt/tinyos-2.x/tos/lib/net/Deluge/extra/msp430
-I/opt/tinyos-2.x/tos/lib/net/Deluge/extra/telos
-I/opt/tinyos-2.x/tos/lib/net/Deluge/extra/telosb
-Wl,--section-start=.text=0x4a00,--defsym=_reset_vector__=0x4000
-DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"enieni\"
-DIDENT_HOSTNAME=\"eni-enis-comput\" -DIDENT_USERHASH=0L
-DIDENT_TIMESTAMP=0x47ceb784L -DIDENT_UIDHASH=0L  BlinkAppC.nc -lm


    compiled BlinkAppC to build/telosb/main.exe
           32714 bytes in ROM
            1249 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe build/telosb/main.ihex
    writing TOS image


=============================== Upload the image ===============================
Pinging node ...
Connected to Deluge nodes.
No valid image was detected.
--------------------------------------------------

Create image: /opt/local/bin/tos-build-deluge-image -i 1
build/telosb/tos_image.xml

Traceback (most recent call last):
  File "/opt/local/bin/tos-build-deluge-image", line 117, in <module>
    ident[p] = int(ident[p][:-1], 16)
KeyError: 'userhash'
--------------------------------------------------


       +----------------------------------------------------------------+
       |                                                                |
       | In the next step the following things will take place:         |


       | - the mote will be rebooted                                    |
       | - all the leds will blink for some time as the                 |
       |   reprogramming by tosboot takes place.                        |


       | - a fading of the leds will indicate the exiting from tosboot. |
       | - the mote should start blinking the 3rd led (blue/yellow).    |
       |                                                                |


       |                   Press ENTER to continue...                   |
       |                                                                |
       +----------------------------------------------------------------+


=========================== Reboot the base station ============================
error: 0 data: []
Command sent


-->>and when I try to ping the node...

tinyos::>> tos-deluge /dev/tty.usbserial-XBQ6TGNF telosb -p 0

Pinging node ...
--------------------------------------------------
Currently Executing:
  Prog Name:   BlinkAppC
  UID:         0x00000000
  Compiled On: Wed Mar 05 16:07:48 2008
  Node ID:     1


No valid image was detected.
--------------------------------------------------


-->>I get just that the problem must be when the tos_build_deluge_image
si executed....

tos-build-deluge-image /dev/tty.usbserial-XBQ6TGNF -i 1
build/telosb/tos_image.xml
Traceback (most recent call last):
  File "/opt/local/bin/tos-build-deluge-image", line 117, in <module>
    ident[p] = int(ident[p][:-1], 16)
KeyError: 'userhash'

-->> other command execute fine... (I think)

tinyos::>> tos-deluge /dev/tty.usbserial-XBQ6TGNF telosb -e 1
error: 0 data: []
Image number 1 erased

tinyos::>> tos-deluge /dev/tty.usbserial-XBQ6TGNF telosb -b 1
error: 0 data: []
Command sent



tinyos::>> tos-deluge /dev/tty.usbserial-XBQ6TGNF telosb -r 0
error: 0 data: []
Command sent

Reprograming "...the mote will begin quickly flashing
the LEDs to signify the reprogramming process..."

...but this doesn't sim to happens...




Thank for any help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to