You seem to have a syntax error in your command line. There should be
no space between the comma and the node ID. The correct syntax should
be,
        make micaz install,0
Giri

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Charles
Sent: Monday, April 02, 2007 9:57 AM
To: [email protected]
Subject: [Tinyos-help] MIB510/micaz problems

Dear all,

We have encountered a problem with our MIB510 programmer.

Our set is a a MICAz MOTE-KIT2400 consisting of a programmer MIB510 and
some motes (8 micaz MPR2400).

We installed everything according to the Getting Started Guide manual of
Crossbow, our OS is WindowsXP Professional.
We use the serial port COM1.

When we tried to install something to the micaz mote, for example:

make micaz install, mib510, COM1
or
make micaz install, MIB510, COM1
or
make micaz install, MIB510, /dev/ttyS0

The system returned back an error message:
================================================================
/opt/tinyos-1.x/tools/make/avr/mib510.extra:5: *** MIB510 must be
defined, try "make mica2 help". Stop.
================================================================
Could you please tell me how to deal with this problem?


We checked the MakeXbowlocal file, it has the following two lines:
-------------------------
DEFAULT_PROGRAM = mib510
MIB510=COM1
-------------------------

The "Makefile" file also has the following line:
-------------------------
include $(TOSROOT)/tools/make/Makerules
-------------------------

Later we tried:
-------------------------
export MAKERULES=/opt/tinyos-1.x/tools/make/Makerules
make micaz install, MIB510, COM1
-------------------------
or
-------------------------
export MAKERULES=/opt/tinyos-1.x/tools/make/Makerules
make micaz install, MIB510, /dev/ttyS0
-------------------------

But the results were the same.

However, when we inputed:
-------------------------
export MIB510=COM1
make micaz install
-------------------------

The application can be successfully installed. But by this style we
cannot set the ID of a mote.

When we try the "SerialForwarder", we have to install the TOSBase to the
sink, if we use
-------------------------
export MIB510=COM1
make micaz install, 0
-------------------------
It won't set the ID of the mote to be 0. What's more, we used "make
micaz install, n" to set the other motes, but their IDs turned out to be
the same.

How can we correctly assign an ID to the corresponding mote?

Thank you very much for your help!

Charles

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

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

Reply via email to