Okay.  This is a h/w question and about how network devices are interfaced
to the rest of the system.  On the Mica2 platform, there are two off node
mechanisms available.  Serial and the radio, a CC1000.  There are drivers in
place for both of these devices and they have specific interfacing
requirements.  To understand how those work in detail you should take a look
at the source code.

But it sounds like you are starting out in TinyOS and that would suggest a
different way to come up to speed.

You should take a look at and work through the tutorials on docs.tinyos.net.

eric


On Mon, Mar 2, 2009 at 10:15 PM, Mohammed Al-Saleh <[email protected]>wrote:

>  Hi Eric,
>
> To be honest, I don't know if it s/w or h/w and I don't know how things
> work, that is why
>
> my question might appear strange.
>
> What I want to understand is how the MCU gets the data off the network and
> stores it
>
> in the data memory. Is there any specific port through which the MCU gets
> the data?
>
> if yes what is it, if no, then how the data eventually gets into the data
> memory.
>
> I've checked all the instruction set of the AVR architecture (bcz I am
> interested in mica2 platform), I did not find
>
> any instruction that might get the data off the bus or radio or ... . The
> IN instruction just brings data from I/O space into register file
>
> and the OUT instruction brings the data from register file into the I/O
> space.
>
> I might still not explain things well, but any hint about "how the network
> data flows in the system" would be very helpful.
>
> Thanks in advance for any help!
>
> ...Mohammed
>
> **
>
> *On Mon, 2 Mar 2009 21:56:27 -0800, Eric Decker wrote*
> > On Mon, Mar 2, 2009 at 3:31 PM, Mohammed Al-Saleh <[email protected]>wrote:
> >
>
>> Hi all,
>> >
>> > Does any body know the ports (may be one specific port) through which
>> the
>> > network data come from into the I/O space?
>
>
> >
> > Is this a h/w or s/w question?
> >
> > If h/w, it depends on how the h/w is built and what platform one is
> talking about?
> >
> > Can you ask your question a different way with more detail?
> >
> > eric
> >
>>
>>
>> > Thanks,
>> >
>> > ...Mohammed
>> >
>> >
>> > --
>> >
>> > _______________________________________________
>> > Tinyos-help mailing list
>> > [email protected]
>> >
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>> >
>
>
> >
>
> > --
> > Eric B. Decker
> > Senior (over 50 :-) Researcher
> > Autonomous Systems Lab
> > Jack Baskin School of Engineering
> > UCSC
>
>
> --
>
>


-- 
Eric B. Decker
Senior (over 50 :-) Researcher
Autonomous Systems Lab
Jack Baskin School of Engineering
UCSC
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to