Dear folks:
I am trying the simplest "Blink" code on my MICAz mote. I am so close to
success, but I got a problem. Here is what's happening:
1) I mount micaz firmly to the mib510 without batteries on micaz. mib510
turned is OFF, micaz is turned OFF. I connect the mib510 to wall power. I can
see the mib510 GREEN led is on.
2)MIB510 is connected to PC with a radioshack USB-serial cable. Driver is
installed. I can see the COM3 is allocated to it in Window's Device Manager.
3)In Blink directory, I use the following instruction:
make clean
make micaz install,0 mib510,com3
TinyOS compiles successfully at first, but cygwin is "dead" while flashing to
micaz, it reposts:
$ make micaz install,1 mib510,com3
mkdir -p build/micaz
compiling Blink to a micaz binary
ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow
-DDEF_TOS_A
M_GROUP=0x7d -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c
-board=mica
sb -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"Blink\" -DIDENT_USER_ID=\"CalvinMa\"
-
DIDENT_HOSTNAME=\"Calvin\" -DIDENT_USER_HASH=0x203506aeL
-DIDENT_UNIX_TIME=0x45e
de117L -DIDENT_UID_HASH=0x8903e58eL -I/opt/tinyos-1.x/tos/lib/CC2420Radio
Blink.
nc -lm
compiled Blink to build/micaz/main.exe
1662 bytes in ROM
49 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
set-mote-id build/micaz/main.srec build/micaz/main.srec.out-1 1
Could not find symbol TOS_LOCAL_ADDRESS in build/micaz/main.exe, ignoring
symbol.
installing micaz binary using mib510
uisp -dprog=mib510 -dserial=com3 --wr_fuse_h=0xd8 -dpart=ATmega128
--wr_fuse_e=f
f --erase --upload if=build/micaz/main.srec.out-1
Cygwin is dead here....
Do you have a clue what's happening here? Also, as you can see, it "Could not
find symbol TOS_LOCAL_ADDRESS in build/micaz/main.exe, ignoring symbol." But I
think I assign "0" as the tos_local_address in my command line, don't I?
Thank you for your kind help.
-Steve
---------------------------------
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out._______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help