You can safely ignore that warning message since the Blink app does not
require a node ID.

Exit out of this hung mode by using Ctrl+C.
Try the following command instead to program the MICAz Mote (Linux
style) and see if it works.
        make micaz install,1 mib510,/dev/ttyS2

If it still doesn't work, there might be an issue with the USB to Serial
adapter that you are using. Our experience has been that not all
adapters work reliably with different PC makes and OS (although the
driver gets installed and COM port shows up).

Giri

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Gao
Sent: Tuesday, March 06, 2007 2:03 PM
To: [email protected]
Subject: [Tinyos-help] Cygwin is dead while flashing to MICAZ,and
reports "Could not find symbol TOS_LOCAL_ADDRESS"

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
<http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar
/features/mail/>  alerts you the instant new Mail arrives. Check it out.
<http://us.rd.yahoo.com/evt=49937/*http://tools.search.yahoo.com/toolbar
/features/mail/> 

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to