[Tinyos-help] MIB510/micaz problems
Charles
charles2p at gmail.com
Mon Apr 2 09:57:17 PDT 2007
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
More information about the Tinyos-help
mailing list