Hi,

Motes like the Mica2Dot have a microcontroller, such as the Atmel 
ATmega128. This controller is the core of the node and stores and runs 
all the executable code. In most modes this is the only programmable 
part. So everything written in nesC is converted to C code and then 
compiled for the microcontroller of the mote. The binary code is then 
programmed into the microcontroller. When you write a program in nesC, 
the TinyOS compiler combines your program with the source code of TinyOS 
while transforming it to C code. The microcontroller executes 
everything, including your temperature sensing application and the 
network protocols from TinyOS.

On simple motes, such as the Mica2Dot, the microcontroller sends single 
bytes over the radio (radio, here is a byte, please send it for me). On 
other platforms, such as the MIcaZ, Iris or TelosB, the microcontroller 
copies entire packets to the radio and then tells the radio to send 
them. In these cases the radio also performs part of the MAC protocol 
and does things like checksum calculation and address recognition. 
However, the radio cannot be reprogrammed.

Cheers,
Urs


On 10/18/10 11:40 AM, JEBARI Mohamed wrote:
>
> Hi all,
>      I request the message because nobody has respond to it, probably that is 
> due of lost or other reasons...
> I would like just to know the response of this stupid question may be! which 
> is as follow:
> I have to program a mote such as Mica2Dot of Crossbow. My question is easy:
>
>   In which device of the mote a protocol program (writed with nesC/TinyOS2.1) 
> is stored?
>
> and, in which part of devices within a mote a simple application ( such
> detecting temperature from the environment) of the upper layer in the
> OSI is installed?
>
>
>
> Thanks for any help.
> Cheers.
>
> From: [email protected]
> To: [email protected]
> Date: Fri, 10 Sep 2010 21:20:04 +0000
> Subject: [Tinyos-help] Setup of a protocol and application with nesC/TinyOS
>
>
>
>
>
>
>
>
> Hi all,
>
>     I have to program a mote such as Mica2Dot of Crossbow. My question is 
> easy:
>
>   In which device of the mote a protocol program (writed with nesC/TinyOS2.1) 
> is stored?
>
> and, in which part of devices within a mote a simple application ( such 
> detecting temperature from the environment) of the upper layer in the OSI is 
> installed?
>
>
>
> Thanks for any help.
>
>
>
> Regards
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to