[Tinyos-help] program the mote with TinyDBApp application

Dharaninath Tavanati dta004 at latech.edu
Fri Jan 9 16:38:32 PST 2004



Hi,
    I am using MIB 510 interface board and mica2 mote(MPR400CB). I am getteing
errors when I try to install the mote with TinyDBApp application. Could any
body help me how to overcome this problem.

The error message

nath_srk at ifmL201 /
$ cd opt/tinyos-1.x/apps/TinyDBApp

nath_srk at ifmL201 /opt/tinyos-1.x/apps/TinyDBApp
$ make mica2 install.0
    compiling TinyDBApp to a mica2 binary
ncc -o build/mica2/main.exe -Os -board=micasb -target=mica2
-DTOSH_DATA_LENGTH=4
9 -I %T/lib/Util -I%T/lib/Attributes -I%T/lib/Commands -I%T/lib/TinyDB
-I%T/lib/
Route -I%T/lib/Queue  -I%T/lib/FS -I%T/lib/TinyDB/Aggregates
-fno-strict-aliasin
g -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -finline-limit=100000
-fnesc
-cfile=build/mica2/app.c  TinyDBApp.nc -lm
nesc1: warning: calls to ReceiveMsg.receive in AMPromiscuous are uncombined
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:3512: warning:
ca
ll via function pointer
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:3522: warning:
ca
ll via function pointer
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:3548: warning:
ca
ll via function pointer
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/AggOperator.nc:366: warning:
call
 via function pointer
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/AggOperator.nc:391: warning:
call
 via function pointer
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/AggOperator.nc:518: warning:
call
 via function pointer
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/AggOperator.nc:534: warning:
call
 via function pointer
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:3937: warning:
`N
etwork.getDataPayLoad' called asynchronously from
`RadioSendCoordinator.startSym
bol'
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:3928: warning:
`N
etwork.getQueryPayLoad' called asynchronously from
`RadioSendCoordinator.startSy
mbol'
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:3934: warning:
`S
erviceScheduler.get' called asynchronously from
`RadioSendCoordinator.startSymbo
l'
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:3925: warning:
`S
erviceScheduler.get' called asynchronously from
`RadioSendCoordinator.startSymbo
l'
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:372: warning:
non
-atomic accesses to shared variable `mMustTimestamp':
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:935: warning:  
n
on-atomic write
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:373: warning:
non
-atomic accesses to shared variable `mTimestampMsg':
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:936: warning:  
n
on-atomic write
    compiled TinyDBApp to build/mica2/main.exe
           60870 bytes in ROM
            2838 bytes in RAM
avr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srec
make mica2 reinstall.0 PROGRAMMER="DAPA" PROGRAMMER_FLAGS="-dprog=dapa
-dpart=AT
mega128 --wr_fuse_e=ff "
make[1]: Entering directory `/opt/tinyos-1.x/apps/TinyDBApp'
    installing mica2 binary
set-mote-id build/mica2/main.srec build/mica2/main.srec.out `echo reinstall.0
|p
erl -pe 's/^reinstall.//; $_=hex if /^0x/i;'`
uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff  --erase
pulse
Atmel AVR ATmega128 is found.
Erasing device ...
pulse
Reinitializing device
Atmel AVR ATmega128 is found.

Fuse Extended Byte set to 0xff
sleep 1
uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff  --upload
if=build/mica2/main.s
rec.out
pulse
Atmel AVR ATmega128 is found.
Uploading: flash

Fuse Extended Byte set to 0xff
sleep 1
uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff  --verify
if=build/mica2/main.s
rec.out
pulse
Atmel AVR ATmega128 is found.
Verifying: flash
flash error at address 0x0: file=0x0c, mem=0xff
flash error at address 0x1: file=0x94, mem=0xff
flash error at address 0x2: file=0xe2, mem=0xff
flash error at address 0x3: file=0x01, mem=0xff
flash error at address 0x4: file=0x0c, mem=0xff
flash error at address 0x5: file=0x94, mem=0xff
flash error at address 0x7: file=0x01, mem=0xff
flash error at address 0x8: file=0x0c, mem=0xff
flash error at address 0x9: file=0x94, mem=0xff

Regards,
dharani


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



More information about the Tinyos-help mailing list