You may be able to use the same TOSish mechanism to set IDs.
Here's an example from a recent tmote build:

/opt/tinyos-1.x/tools/make/msp/set-mote-id --objcopy msp430-objcopy
  --objdump msp430-objdump --target ihex build/tmote/main.ihex
  build/tmote/main.ihex.out-0 0

There is a similar version for micas, but I blew away my ATMEGA devsys
in order to play with the tmotes and haven't restored things to working
order yet. "set-mote-id" overwrites the right location in the SREC file,
which I presume is the same file downloaded by JTAG.

However you should probably just "get with the program" and use the TOS
tools and makefiles or you will eventually find some insurmountable
issue...

To test the radio you need a receiver program. CntToRfm... is just
a transmitter, and it probably doesn't matter what the MoteIDs are.
There is the RfmToLeds demo app for just this purpose. Or you could use
a TOSBase mote attached to your host serial/USB port and try using
the Listen java tool.

MS


Abdullah Kadri wrote:
I downloaded the application on the first micaz mote and it worked fine. The leds go on according to the counter. I need now to see how the message is transmitted to another mote using Rfm. I need to download the program on another mote. What is the method to change the address of the second mote? I am using JTag to download the program and can not use “make micaz install.<addr>”

Abdullah Kadri, P.Eng., Ph.D. Candidate
The University of Western Ontario
Department of Electrical and Computer Engineering
Phone: (519) 661-2111 ext. 81271


------------------------------------------------------------------------

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

Reply via email to