Dear Sir or Madam:
I attached Mica2 to MIB510. I wanted to upload the program to Mica2.
When I use the command make mica2 install:
The following information appears:
$ make mica2 install
mkdir -p build/mica2
compiling GetPulseData to a mica2 binary
ncc -o build/mica2/main.exe -Os -I%T/../contrib/xbow/tos/platform/mica2 -DCC1K_D
EF_FREQ=434107920 -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x07 -
Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb -DCC1K_DEFA
ULT_FREQ=RADIO_433BAND_CHANNEL_00 -DRADIO_XMIT_POWER=0x5F -DCC2420_TXPOWER=0x1F
-DCC2420_DEF_CHANNEL=26 -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"GetPulseData\" -D
IDENT_USER_ID=\"huikang\" -DIDENT_HOSTNAME=\"hui-2e52f6e9cea\" -DIDENT_USER_HASH
=0x698ee492L -DIDENT_UNIX_TIME=0x46d3779eL -DIDENT_UID_HASH=0xad9aa4d8L GetPulse
Data.nc -lm
Pulseox.h:67:14: warning: no newline at end of file
GetPulseDataM.nc:19: warning: non-atomic accesses to shared variable `cur_pulse'
:
GetPulseDataM.nc:55: warning: non-atomic read
Sensors.h:124: warning: `packed' attribute ignored
compiled GetPulseData to build/mica2/main.exe
12204 bytes in ROM
543 bytes in RAM
avr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srec
avr-objcopy --output-target=ihex build/mica2/main.exe build/mica2/main.ihex
writing TOS image
cp build/mica2/main.srec build/mica2/main.srec.out
installing mica2 binary using mib510
uisp -dprog=mib510 -dserial=COM1 --wr_fuse_h=0xd8 -dpart=ATmega128 --wr_fuse_e=f
f --erase --upload if=build/mica2/main.srec.out
Please use /dev/ttyS0 rather than COM1 (the latter often doesn't work)
Firmware Version: 2.1
Atmel AVR ATmega128 is found.
Uploading: flash
Fuse High Byte set to 0xd8
Fuse Extended Byte set to 0xff
rm -f build/mica2/main.exe.out build/mica2/main.srec.out
installing mica2 bootloader using mib510
uisp -dprog=mib510 -dserial=COM1 --wr_fuse_h=0xd8 -dpart=ATmega128 --wr_fuse_e=f
f --upload if=/opt/tinyos-1.x/tos/lib/Deluge/TOSBoot/build/mica2/main.ihex
Please use /dev/ttyS0 rather than COM1 (the latter often doesn't work)
Firmware Version: 2.1
Atmel AVR ATmega128 is found.
Uploading: flash
Fuse High Byte set to 0xd8
Fuse Extended Byte set to 0xff
I dont know if there is something wrong showing in this part? So what do you
think.
And then I use the command:
java net.tinyos.tools.Listen
I have the following result:
Error on [EMAIL PROTECTED]:9001: java.net.ConnectException: Connection refused:
connect
Do you know what is the problem with it?
I really appreciate your help!
Thanks a lot!
Sincerely,
Bo
---------------------------------
Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. _______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help