[Tinyos-help] Another question on Radio Settings for mica2 tinyos-2.x

Ali Mir wsntinyos at gmail.com
Sun Mar 25 00:03:49 PDT 2007


Thanks Dr.Philip Levis for your help.

 The problem was exactly as what you said. Later I programmed the motes
using the command as CFLAGS=-DCC1K_DEF_FREQ=916400000 make mica2
install.0mib510,/dev/ttyUSB0.

This solved the problem. I would like to know instead of typing the whole
thing again and again cant we do it in another way such that one need not
set the freq each time he programs the mote. For example in Tinyos-1.x there
was a file Makelocal in apps directory. To select the desired frequency one
would just uncomment that particular line. Am I correct ? If yes then can we
do the same thing in tinyos-2.x. Can I just copy that file in apps directory
of tinyos-2.x

Thanking You
MMA

On 3/24/07, Philip Levis <pal at cs.stanford.edu> wrote:
>
> On Mar 24, 2007, at 5:22 AM, Ali Mir wrote:
>
> > Hello friends,
> >
> > I am working on mica2 motes on tinyos-2.x platform. I think I have
> > a problem with the Radio as I am unable to receive any packets from
> > the motes. I tried testing the mote Radio with BlinkToRadio
> > application from the apps directory of tinyos-2.x. The programmed
> > motes does nothing. It just sits idle without any blinking of LEDs.
> > I even tried using my own program to test the Radio but still I
> > cant make it work.
> >
> > Earlier I worked using Tinyos-1.x and the motes worked well. But
> > now none of the motes' Radio works. I checked the  SerialForwarder
> > and even tested the TestSerial program. All of these just work fine.
> >
> > Can anyone tell me what mistake I am doing. I must be ignoring some
> > vital thing which is causing all this. Can anyone tell me what must
> > be wrong.
> >
>
> Please check your frequency. There are two kinds of mica2 nodes, and
> you have to make sure that the RF frequency setting is correct. There
> are lots of messages in the archives on how to do this. You can also
> look at tos/chips/cc1000/CC1000Const.h.
>
> Phil
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070325/a002c679/attachment.htm


More information about the Tinyos-help mailing list