Alexander Becher | 1 Mar 01:54 2008
Picon
Picon

Re: Output Power levels CC2420

* bender.13 <at> wright.edu:
>Now, I have a related question, Does anyone know what the default power
>level on the CC2420 is?
>
>i.e. If I just turn on the mote and start sending data, what is the RF
>power set to?

You can set the default output power in the Makefile of your
application, with a line like this:

PFLAGS += -DCC2420_DEF_RFPOWER=7

If you do not define CC2420_DEF_RFPOWER, the default is 3, I think: the
lowest TX power setting defined in the datasheet. Look in the CC2420
driver for details (just search for CC2420_DEF_RFPOWER in the TinyOS
source tree to find the right spot).

Regards,
Alexander
Janos Sallai | 1 Mar 06:39 2008
Picon

RE: AVR GCC compiler problems

Function arguments, from left to right, are passed in registers r25 to r8. All arguments take up even number
of registers, so if you have a 8-bit argument, then the upper register of the register pair is not used.
Stack is only used if the arguments can't be fit into the available registers, or for variable-lenght
argument lists.

In this specific case, channel is allocated in r24, id in r23:r22:r21:r20 and mask in r19:r18:r17:r16. As
you can see, r24 and r23:r22:r21:r20 are properly set for the second call, but r19:r18:r17:r16 are not.
For some reason, avr-gcc assumes that r19:r18:r17:r16 are not changed by the function that is called.

Can you check where in the called function r19:r18:r17:r16 are changed?

Janos

________________________________

From: tinyos-help-bounces <at> millennium.berkeley.edu on behalf of José Moyano
Sent: Fri 2/29/2008 3:00 PM
To: tinyos-help <at> millennium.berkeley.edu
Subject: Rv: [Tinyos-help] AVR GCC compiler problems

Below this words, there is the last mail that I sent to tinyos-help. Check the last two "push" at address
00000A4A and 00000A4B. The pushed registers, shouldn't be R18 and R19 instead of R28 and R29? I'm using
AT90CAN128, and TinyOS 1.1

----- Mensaje reenviado ----
De: José Moyano <josehmoyano <at> yahoo.com.ar>
Para: tinyos-help <at> Millennium.Berkeley.EDU
Enviado: jueves 28 de febrero de 2008, 15:35:43
Asunto: Re: [Tinyos-help] AVR GCC compiler problems

(Continue reading)

Supasate Choochaisri | 1 Mar 06:48 2008
Picon

Re: lost packets and nss file

Maybe your line ending in .nss topology file is carriage return (0x0D) + line feed (0x0A) (Windows)

In .nss file, line ending must be a line feed (0x0A) only (Unix)

Hope that helps

--Supasate

On Fri, Feb 29, 2008, funofnet Funofnet wrote:

Hi every body,
I don't now if my question has been asked before but I urgently want to know the answer.
When I ran surge application, the DBG route didn't show me lost packet as it is viewed bellow:
3: MultiHopLEPSM: Updating Nbr 4. ExpTotl = 5, rcvd= 43, missed = 0
3: MultiHopLEPSM: Updating Nbr 1. ExpTotl = 5, rcvd= 43, missed = 0
3: MultiHopLEPSM: Updating Nbr 0. ExpTotl = 5, rcvd= 4, missed = 0
3: MultiHopLEPSM: Updating Nbr 2. ExpTotl = 5, rcvd= 41, missed = 0
Always (zero).

In addition, although I defined .nss file like this:
0:1:0.555
0:4:1
1:2:0.666
1:3:1
2:3:1
2:0:1
3:4:0.750
4:0:0.250
4:1:1

my topology showed me only connections between Node N° 0 and others (neither links between 1 and 3 nor 1 and 2 etc...)
I will be very grateful if you answer very soon
Thanks a lot.

<div>
<p>Maybe your line ending in .nss topology file is carriage return (0x0D) + line feed (0x0A) (Windows)<br><br>In .nss file, line ending must be a line feed (0x0A) only (Unix)<br><br>Hope that helps<br><br>--Supasate<br><br></p>
<div class="gmail_quote">
On Fri, Feb 29, 2008, funofnet Funofnet wrote:<br><blockquote class="gmail_quote"> <br>
Hi every body,<br>
I don't now if my question has been asked before but I urgently want to know the answer.<br>
When I ran surge application, the DBG route didn't show me lost packet as it is viewed bellow:<br>
3: MultiHopLEPSM: Updating Nbr 4. ExpTotl = 5, rcvd= 43, missed = 0<br>
3: MultiHopLEPSM: Updating Nbr 1. ExpTotl = 5, rcvd= 43, missed = 0<br>
3: MultiHopLEPSM: Updating Nbr 0. ExpTotl = 5, rcvd= 4, missed = 0<br>
3: MultiHopLEPSM: Updating Nbr 2. ExpTotl = 5, rcvd= 41, missed = 0<br>
Always (zero).<br><br>
In addition, although I defined .nss file like this:<br>
0:1:0.555<br>
0:4:1<br>
1:2:0.666<br>
1:3:1<br>
2:3:1<br>
2:0:1<br>
3:4:0.750<br>
4:0:0.250<br>
4:1:1<br><br>
my topology showed me only connections between Node N&Acirc;&deg; 0 and others (neither links between 1 and 3 nor 1 and 2 etc...)<br>
I will be very grateful if you answer very soon<br>
Thanks a lot.<br>
</blockquote>
</div>
<br>
</div>
kou ksk | 1 Mar 10:57 2008
Picon

what is significance of fuses ??

Hi All,
Can you please tell me what is the significance of fuses which we play around with
while programming a mote ??
uisp --wr_fuse_h
uisp --rd_fuses
 
 
best,
kou.

Save all your chat conversations. Find them online.
<div>
<div>
<div>Hi All,</div>
<div>Can you please tell me what is the significance of fuses which we play around with</div>
<div>while programming a mote ??</div>
<div>uisp --wr_fuse_h</div>
<div>uisp --rd_fuses</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>best,</div>
<div>kou.</div>
</div>
<br> Save all your chat conversations. <a href="http://in.rd.yahoo.com/tagline_webmessenger_3/*http://in.messenger.yahoo.com/webmessengerpromo.php">Find them online.</a>
</div>
Enrico Perla | 1 Mar 13:10 2008
Picon
Picon

Re: Output Power levels CC2420




You can set the default output power in the Makefile of your
application, with a line like this:

PFLAGS += -DCC2420_DEF_RFPOWER=7

If you do not define CC2420_DEF_RFPOWER, the default is 3, I think: the
lowest TX power setting defined in the datasheet. Look in the CC2420
driver for details (just search for CC2420_DEF_RFPOWER in the TinyOS
source tree to find the right spot).


Just as a side note, the default value for CC2024_DEF_RFPOWER is 31 if nothing else is specified
From  tos/chips/cc2420/CC2420.h :

#ifndef CC2420_DEF_RFPOWER
#define CC2420_DEF_RFPOWER 31
#endif

Cheers
    
                - Enrico
 

Regards,

Alexander

_______________________________________________
Tinyos-help mailing list
Tinyos-help <at> millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


<div>
<br><br><div>
<span class="gmail_quote"></span><blockquote class="gmail_quote">
<br>You can set the default output power in the Makefile of your<br>
 application, with a line like this:<br><br> PFLAGS += -DCC2420_DEF_RFPOWER=7<br><br> If you do not define CC2420_DEF_RFPOWER, the default is 3, I think: the<br> lowest TX power setting defined in the datasheet. Look in the CC2420<br>
 driver for details (just search for CC2420_DEF_RFPOWER in the TinyOS<br> source tree to find the right spot).</blockquote>
<div>
<span class="gmail_quote"></span><br><br>Just as a side note, the default value for CC2024_DEF_RFPOWER is 31 if nothing else is specified <br>
From&nbsp; tos/chips/cc2420/CC2420.h :<br><br>#ifndef CC2420_DEF_RFPOWER<br>
#define CC2420_DEF_RFPOWER 31<br>#endif<br><br>Cheers <br>&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - Enrico<br>&nbsp;</div>
<br><blockquote class="gmail_quote">
 Regards,<br><br>Alexander<br><br>_______________________________________________<br> Tinyos-help mailing list<br><a href="mailto:Tinyos-help <at> millennium.berkeley.edu">Tinyos-help <at> millennium.berkeley.edu</a><br><a href="https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help">https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help</a><br><br>
</blockquote>
</div>
<br>
</div>
Nashwa Abo Elneel | 1 Mar 19:50 2008
Picon

message received in TOSBase from OscilloscopeRF

Hi,

I have a question regarding the radio message received by the TOSbase application from the oscilloscopeRF application.

in the TOSBaseM module UARTSendTask, the uartQueueBufs represents the message received from the radio. does the UARTSendTask sends this message to the UART with its originally computed CRC (CRC computed before being transmitted over the radio) ? or it omits this radio CRC and sends the 31 byte length message coming from the oscilloscopeRF application without its original CRC and computes another one based on the UART data format?

in other words, i need to edit the data received from the radio by the TOSBase module before sending it to the UART (for example divide it into two packets and call the sending task twice), does anybody know where exactly can i edit this data before calling the UARTSend.send task? in case i edited this data, shall i recompute the CRC for it again before giving it to the UARTSend.send task or the UARTSend.send task will do the job?

in case i need to re-compute the CRC shall this be done for the whole TOS_MSG (header and payload)

i hope i made myself clear.

many thanks in advance,
Nashwa

Never miss a thing. Make Yahoo your homepage.
<div>
<p>Hi,<br><br>I have a question regarding the radio message received by the TOSbase application from the oscilloscopeRF application.<br><br>in the TOSBaseM module UARTSendTask, the uartQueueBufs represents the message received from the radio. does the UARTSendTask sends this message to the UART with its originally computed CRC (CRC computed before being transmitted over the radio) ? or it omits this radio CRC and sends the 31 byte length message coming from the oscilloscopeRF application without its original CRC and computes another one based on the UART data format?<br><br>in other words, i need to edit the data received from the radio by the TOSBase module before sending it to the UART (for example divide it into two packets and call the sending task twice), does anybody know where exactly 
 can i edit this data before calling the UARTSend.send task? in case i edited this data, shall i recompute the CRC for it again before giving it to the UARTSend.send task or the
 UARTSend.send task will do the job? <br><br>in case i need to re-compute the CRC shall this be done for the whole TOS_MSG (header and payload)<br><br>i hope i made myself clear.<br><br>many thanks in advance,<br>Nashwa<br></p>
<p> 

      </p>Never miss a thing.  <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>
</div>
hukang | 2 Mar 07:53 2008
Picon

Photo sensor on telosb ( tinyos-2.x )

Dear All:
I am working on Tinyos-2.x using telosb and need the data from the
onboard sensor HamamatsuS1087. Since the DemoSensorC in 2.x is not wired
to HamamatsuS1087, I have to modify it as follows in Oscilloscope.
{
     //new DemoSensorC() as Sensor,
    , new HamamatsuS10871TsrC() as Sensor
    ...
    OscilloscopeC.Read -> Sensor;
}
Then I got the returned values by java net.tinyos.tools.Listen like
 03 E8
 04 45
 04 59
 04 45
 04 47
 04 39
 00 02
 00 02
 00 02
 00 03
 00 02
 00 01
 00 04
Converting to decimal the brightest is 1113 (04 59) and the darkest is 1
(00 01). Does anyone know if these data are valid?
And what is the unit of these value. is it Lux? Thanks.

Steven

jiwen zhang | 2 Mar 14:55 2008
Picon

about power detect

Hello all:
  I am using tinyos-2.x, i want to know how to detect how much power is left in the node or how we know whetherpower of a node will exhaust?
<div>
<div>Hello all:</div>
<div>&nbsp; I am using tinyos-2.x, i want to know how to detect how much power is left in the node or how we know whetherpower of a node will exhaust?</div>
</div>
Michael Schippling | 2 Mar 18:49 2008

Re: what is significance of fuses ??

They make various configuration selections on the controller chip,
such as clock speed and source. For the Atmega you can find a table
of values at around page 290 of the chip manual (in the version that
I have anyway).
MS

kou ksk wrote:
> Hi All,
> Can you please tell me what is the significance of fuses which we play 
> around with
> while programming a mote ??
> uisp --wr_fuse_h
> uisp --rd_fuses
>  
>  
> best,
> kou.
> 
> ------------------------------------------------------------------------
> Save all your chat conversations. Find them online. 
> <http://in.rd.yahoo.com/tagline_webmessenger_3/*http://in.messenger.yahoo.com/webmessengerpromo.php>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help <at> millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

--

-- 
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew

Michael Schippling | 2 Mar 18:50 2008

Re: about power detect

Search back on this list for a lot of discussion on battery life.
But the basic answer is: you can't.
MS

jiwen zhang wrote:
> Hello all:
>   I am using tinyos-2.x, i want to know how to detect how much power is 
> left in the node or how we know whetherpower of a node will exhaust?
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help <at> millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

--

-- 
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew


Gmane