I'm doing lesson 4 in Tinyos 2.x tutorial with micaz and telos.
There is not any problem when I use micaz. But when I use telos, it cannot
receive packets from serial port.

Telos: USB Serial Port (COM3)

/opt/tinyos-2.x/apps/tests/TestSerial
$ make telos install,1 bsl,2
mkdir -p build/telosa
mig java -target=null  -java-classname=TestSerialMsg TestSerial.htest_serial_ms
g -o TestSerialMsg.java
javac *.java
   compiling TestSerialAppC to a telosa binary
ncc -o build/telosa/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
-DDEF_TOS_AM_
GROUP=0x7d -Wnesc-all -target=telosa -fnesc-cfile=build/telosa/app.c
-board=   T
estSerialAppC.nc -lm
   compiled TestSerialAppC to build/telosa/main.exe
           6040 bytes in ROM
            291 bytes in RAM
msp430-objcopy --output-target=ihex build/telosa/main.exe
build/telosa/main.ihex

   writing TOS image
tos-set-symbols --objcopy msp430-objcopy --objdump msp430-objdump --target
ihex
build/telosa/main.ihex build/telosa/main.ihex.out-1 TOS_NODE_ID=1
ActiveMessageA
ddressC$addr=1
Could not find symbol ActiveMessageAddressC$addr in build/telosa/main.exe,
ignor
ing symbol.
Could not find symbol TOS_NODE_ID in build/telosa/main.exe, ignoring symbol.
   installing telosa binary using bsl
tos-bsl --telos -c 2 -r -e -I -p build/telosa/main.ihex.out-1
MSP430 Bootstrap Loader Version: 1.39-telos-8
Mass Erase...
Transmit default password ...
Invoking BSL...
Transmit default password ...
Current bootstrap loader version: 1.10 (Device ID: f149)
Adjust SP. Load PC with 0x0C22 ...
Transmit default password ...
Patch for flash programming required!
Load and verify patch ...
Program ...
6266 bytes programmed.
Reset device ...
rm -f build/telosa/main.exe.out-1 build/telosa/main.ihex.out-1

$ java TestSerial -comm [EMAIL PROTECTED]:115200
Sending packet 0
[EMAIL PROTECTED]:115200: resynchronising
Sending packet 1
Sending packet 2
Sending packet 3
Sending packet 4
Sending packet 5
Sending packet 6
Sending packet 7
Sending packet 8
Sending packet 9
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to