[Tinyos-help] micaz and Listen application

Tatiana Bokareva tbokareva at cse.unsw.edu.au
Fri Mar 25 19:42:01 PST 2005


Hello,
I compile the OscilloscopeRF for micaz. It appears to be working, i.e 
yellow light is flashing. I have also compile the TOSBase for the micaz. 
However when I run the
java net.tinyos.tools.Listen
I get :
  serial at COM5:57600: resynchronising
And no data:(
Below is the output of the compilation of the TOSBase program:
make micaz install mib510,/dev/ttyS4
mkdir -p build/micaz
     compiling TOSBase to a micaz binary
ncc -o build/micaz/main.exe -Os -I%T/lib/Counters 
-I%T/../contrib/xbow/tos/platform/micaz -finline-limit=100000 -Wall 
-Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=micaz 
-fnesc-cfile=build/micaz/app.c -board=micasb 
-DIDENT_PROGRAM_NAME="TOSBase" 
-DIDENT_PROGRAM_NAME_BYTES="84,79,83,66,97,115,101,0" 
-DIDENT_USER_ID="root" -DIDENT_USER_ID_BYTES="114,111,111,116,0" 
-DIDENT_HOSTNAME="barramundi" 
-DIDENT_HOSTNAME_BYTES="98,97,114,114,97,109,117,110,100,105,0" 
-DIDENT_USER_HASH=0x08351af7L -DIDENT_UNIX_TIME=0x4243cd96L 
-I/tinyos-1.x/tos/lib/CC2420Radio T
OSBase.nc -lm
/tinyos-1.x/tos/platform/micaz/HPLCC2420InterruptM.nc:161: warning: 
`CCATimer.start' called asynchronously from `CCA.startWait'
/tinyos-1.x/tos/lib/CC2420Radio/CC2420RadioM.nc:115: warning: 
`Send.sendDone' called asynchronously from `sendFailed'
     compiled TOSBase to build/micaz/main.exe
            10110 bytes in ROM
             1450 bytes in RAM
avr-objcopy --output-target=srec build/micaz/main.exe 
build/micaz/main.srec
avr-objcopy --output-target=ihex build/micaz/main.exe 
build/micaz/main.ihex
     writing TOS image
cp build/micaz/main.srec build/micaz/main.srec.out
     installing micaz binary using mib510
uisp -dprog=mib510 -dserial=/dev/ttyS4 --wr_fuse_h=0xd9 -dpart=ATmega128 
--wr_fuse_e=ff  --erase --upload if=build/micaz/main.srec.out
Firmware Version: 2.1
Atmel AVR ATmega128 is found.
Uploading: flash

Fuse High Byte set to 0xd9

Fuse Extended Byte set to 0xff
rm -f build/micaz/main.exe.out build/micaz/main.srec.out

Any ideas where should I go next?

Regards Tatiana.


More information about the Tinyos-help mailing list