Hi Michael,

Thanks for your reply. I have gone through all the posts related to this
topic and found a lot of your posts as well. :) But it still didn't work
after i tried this morning. The following is wat I did. Is there anything
missing? When I compiled the jave tools, there is no probelmes except some
TinyDB components but i don't think it will affect the sf and Deluge. What
do you think? Is there anyone who successfully running serial forwarder on
telosb based on window cygwin (Tinyos1.15 version)?

These results turn to be resynchronizing again as i tried this serial
forwarder yesterday and got the same result. Do I have to get

regards,
Bai


Bai [EMAIL PROTECTED] ~
$ unset MOTECOM
Bai [EMAIL PROTECTED] ~
$ cd /opt/tinyos-1.x/apps/tosbase
Bai [EMAIL PROTECTED] /opt/tinyos-1.x/apps/tosbase
$ make telosb install,1
mkdir -p build/telosb
    compiling TOSBase to a telosb binary
ncc -o build/telosb/main.exe -O -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d
-Wnesc-al
l -target=telosb -fnesc-cfile=build/telosb/app.c -board=
-DTOSH_MAX_TASKS_LOG2=8
 -I%T/lib/Deluge
-Wl,--section-start=.text=0x4800,--defsym=_reset_vector__=0x400
0 -DIDENT_PROGRAM_NAME=\"TOSBase\" -DIDENT_USER_ID=\"BaiLi\"
-DIDENT_HOSTNAME=\"
deakin-6f29b527\" -DIDENT_USER_HASH=0x75bf6332L
-DIDENT_UNIX_TIME=0x4910c52aL -D
IDENT_UID_HASH=0xbbde367dL -mdisable-hwmul
-I/opt/tinyos-1.x/tos/lib/CC2420Radio
 TOSBase.nc -lm
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/CC2420Radio/CC2420RadioM.nc:116:
warning
: `Send.sendDone' called asynchronously from `sendFailed'
    compiled TOSBase to build/telosb/main.exe
           11066 bytes in ROM
            1848 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe
build/telosb/main.ihex
    writing TOS image
/opt/tinyos-1.x/tools/make/msp/set-mote-id --objcopy msp430-objcopy
--objdump ms
p430-objdump --target ihex build/telosb/main.ihex
build/telosb/main.ihex.out-1 1
    found mote on COM10 (using bsl,auto)
    installing telosb bootloader using bsl
msp430-bsl --telosb -c 9 -r -e -I -p
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/Del
uge/TOSBoot/build/telosb/main.ihex
MSP430 Bootstrap Loader Version: 1.39-telos-6
Mass Erase...
Transmit default password ...
Invoking BSL...
Transmit default password ...
Current bootstrap loader version: 1.61 (Device ID: f16c)
Changing baudrate to 38400 ...
Program ...
1796 bytes programmed.
Reset device ...
    installing telosb binary using bsl (without mass erase)
msp430-bsl --telosb -c 9 -r -I -p build/telosb/main.ihex.out-1
MSP430 Bootstrap Loader Version: 1.39-telos-6
Invoking BSL...
Transmit default password ...
Current bootstrap loader version: 1.61 (Device ID: f16c)
Changing baudrate to 38400 ...
Program ...
11098 bytes programmed.
Reset device ...
rm -f build/telosb/main.exe.out-1 build/telosb/main.ihex.out-1
Bai [EMAIL PROTECTED] /opt/tinyos-1.x/apps/tosbase
$ motelist
Reference  CommPort   Description
---------- ---------- ----------------------------------------
XBR0LS4Y   COM10      Crossbow Telos Rev.B
Bai [EMAIL PROTECTED] /opt/tinyos-1.x/apps/tosbase
$ export MOTECOM="[EMAIL PROTECTED]:telosb"
Bai [EMAIL PROTECTED] /opt/tinyos-1.x/apps/tosbase
$ java net.tinyos.tools.Listen
Failed to parse the baudrate telosb (value telosb), defaulting to 19200
[EMAIL PROTECTED]:19200: resynchronising

Bai [EMAIL PROTECTED] /opt/tinyos-1.x/apps/tosbase
$ unset MOTECOM
Bai [EMAIL PROTECTED] /opt/tinyos-1.x/apps/tosbase
$ export MOTECOM="[EMAIL PROTECTED]:57600"
Bai [EMAIL PROTECTED] /opt/tinyos-1.x/apps/tosbase
$ java net.tinyos.tools.Listen
[EMAIL PROTECTED]:57600: resynchronising

On Wed, Nov 5, 2008 at 4:41 AM, Michael Schippling <[EMAIL PROTECTED]>wrote:

> Do you have a SerialForwarder process running? It looks like Deluge
> is trying to connect to one... Most likely what you need to do is
> set a MOTECOM environment variable to point to the serial port
> connected to your basestation mote. If there's no MOTECOM things
> default to trying to use the S.F. on a network port. Here's a
> couple samples from my env:
>
> export MOTECOM="[EMAIL PROTECTED]:mica2"
> export MOTECOM="[EMAIL PROTECTED]:tmote"
>
> Your port names and devices may be different.
> Search this list and the doc for more MOTECOM information.
>
> MS
>
> BAI LI wrote:
>
>> Hi All,
>>  I am following Deluge 2.0 quick start. I got the following errors as
>> follows. Any ideas on how to fix them? I am using Tinyos1.15 and telosb
>> nodes as our project application is developed based on this version. I can't
>> use Tinyos2.x instead. Any help would be highly appreciated.
>>  Bai [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>> /opt/tinyos-1.x/apps/TestDeluge/DelugeBasic
>>
>> $ java net.tinyos.tools.Deluge --ping
>> java.net.ConnectException: Connection refused: connect
>>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
>>        at
>> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
>>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
>>        at java.net.Socket.connect(Socket.java:426)
>>        at java.net.Socket.connect(Socket.java:376)
>>        at java.net.Socket.<init>(Socket.java:291)
>>        at java.net.Socket.<init>(Socket.java:119)
>>        at net.tinyos.packet.SFSource.openSource(SFSource.java:56)
>>        at net.tinyos.packet.AbstractSource.open(AbstractSource.java:77)
>>        at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)
>> java.net.ConnectException: Connection refused: connect
>>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
>>        at
>> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
>>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
>>        at java.net.Socket.connect(Socket.java:426)
>>        at java.net.Socket.connect(Socket.java:376)
>>        at java.net.Socket.<init>(Socket.java:291)
>>        at java.net.Socket.<init>(Socket.java:119)
>>        at net.tinyos.packet.SFSource.openSource(SFSource.java:56)
>>        at net.tinyos.packet.AbstractSource.open(AbstractSource.java:77)
>>        at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)
>> [EMAIL PROTECTED]:9001 <mailto:[EMAIL PROTECTED]:9001> died - exiting
>> (java.net.ConnectException: Connection refused:
>>  connect)
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> Tinyos-help@millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
> --
> Platform: WinXP/Cygwin
> TinyOS version: 1.x, Boomerang
> Programmer: MIB510
> Device(s): Mica2, MicaZ, Tmote
> Sensor board: homebrew
>
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to