[Tinyos-help] MIB510/micaz problems
Bibudh Lahiri
bibudh at gmail.com
Mon Apr 2 10:20:55 PDT 2007
I don't work on MICAZ, I work with MICA2, but I think the syntax should be
MIB510=COM1 make micaz install
On 4/2/07, Charles <charles2p at gmail.com> wrote:
>
> 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
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070402/f74b1fca/attachment-0001.htm
More information about the Tinyos-help
mailing list