Madhu Mudigonda | 1 Nov 02:13 2006
Picon

Reg. Sending Messages from lower layer

Hello,

I'm working on Telos tmotes with CC2420 radio.I'm trying to send messages from a layer above the Radio layer i.e above CC2420RadioC. I'm able to send messages, but having hard time receiving messages. I'm setting all the required fields in TOS_Msg in my layer before sending messages over the radio.But, still once a mote receives a msg at that layer, its going to frozen state( i.e. it's not even sending messages).

I appreciate, any kind of help on this?

Thanks--
Madhu Mudigonda
Research Assistant,
SE-Lab,Fenn College, CSU.
Ph.# 216-856-0127
Fax.#: 360-233-0127

<div><p>Hello,<br><br>I'm working on Telos tmotes with CC2420 radio.I'm trying to send messages from a layer above the Radio layer i.e above CC2420RadioC. I'm able to send messages, but having hard time receiving messages. I'm setting all the required fields in TOS_Msg in my layer before sending messages over the 
radio.But, still once a mote receives a msg at that layer, its going to frozen state( i.e. it's not even sending messages).<br><br>I appreciate, any kind of help on this?<br><br>Thanks-- <br>Madhu Mudigonda<br>Research Assistant,
<br>SE-Lab,Fenn College, CSU.<br>Ph.# 216-856-0127<br>Fax.#: 360-233-0127
</p></div>
Philip Levis | 1 Nov 03:04 2006
Picon

Re: CC2420 ack transmission causes SFD capture?

On Oct 27, 2006, at 12:39 PM, Chris Merlin wrote:

> Hi,
> I am looking at the software ACK mechanism in CC2420. In  
> CC2420RadioM.nc, when a packet is received and if it requests an  
> ACK, the command strobe SACK is issued.
>
> (in doRXFIFODoneBody
>   // if ack is requested, must pass CRC and match our address
>   if ((rxbufptr->fcfhi & (1 << CC2420_DEF_FCF_BIT_ACK)) &&
>   (rxbufptr->crc) &&
>   (rxbufptr->addr == TOS_LOCAL_ADDRESS)) {
>     call HPLChipcon.cmd(rh, CC2420_SACK);
>   }
> )
> And let's say that stateRadio is IDLE_STATE (before and after  
> receiving the packet).
>

Just to check: this is Boomerang, right, not TinyOS?

Phil
Leon Zhou | 1 Nov 02:16 2006
Picon

How to wake up a MICA2 sensor

Hi,
 
 We're doing a temperature detection project with MICA2 and TinyOS.
 In order to save power, our idea is to let the sensors sleep or be idle until the base station sends a wake-up signal to wake them up.
 We would like to know if it is possible to do this with MICA2 and TinyOS, if yes, how to do it?
 
 Thanks
 
Haijia 
<div>
<div>Hi,</div>
<div>&nbsp;</div>
<div>&nbsp;We're doing a temperature detection project with MICA2 and TinyOS.</div>
<div>&nbsp;In order to save power, our idea is to let the sensors sleep or be idle until the base station sends a wake-up signal to wake them up.</div>
<div>&nbsp;We would like to know if it is possible to do this with MICA2 and TinyOS, if yes, how to do it?</div>
<div>&nbsp;</div>
<div>&nbsp;Thanks</div>
<div>&nbsp;</div>
<div>Haijia&nbsp;</div>
</div>
Tie Luo | 1 Nov 09:35 2006
Picon

very strange code of sending on micaZ, Tinyos2.0

Dear All, my questions are w.r.t to a strange function in CC2420TransmitP.nc, attached below.
 
Questions:
Line 3: why check status again, provided line 1 already got it?
Line 6: if congestion is true, even m_cca==false can enter S_SAMPLE_CCA state, which is wrong.
Line 7: I do not find where the macro PLATFORM_MICAZ is defined.  And, if it is defined, then micaz will always backoff regardless of congestion, which is a bit wield.
 
Thanks in advance for any clarification.
 
  void attemptSend() {

    uint8_t status;
    bool congestion = TRUE;

    call CSN.clr();

1    status = m_cca ? call STXONCCA.strobe() : call STXON.strobe();
2    if ( !( status & CC2420_STATUS_TX_ACTIVE ) ) {
3      status = call SNOP.strobe();
4      if ( status & CC2420_STATUS_TX_ACTIVE )
5    congestion = FALSE;
    }
6    atomic m_state = congestion ? S_SAMPLE_CCA : S_SFD;

    call CSN.set();

    if ( congestion ) {
      releaseSpiResource();
      congestionBackoff();
    }
7 #ifdef PLATFORM_MICAZ
    else {
      startBackoffTimer(CC2420_ABORT_PERIOD);
    }
#endif

  }



--
Regards,
Tie
<div>
<div>Dear All, my questions are w.r.t to&nbsp;a strange function in CC2420TransmitP.nc, attached below.</div>
<div>&nbsp;</div>
<div>Questions:</div>
<div>Line 3: why check status again, provided line 1 already got it?</div>
<div>Line 6: if congestion is true, even m_cca==false can enter S_SAMPLE_CCA&nbsp;state, which is wrong.</div>
<div>Line 7: I do not find where the macro PLATFORM_MICAZ is defined.&nbsp; And, if it is defined, then micaz will always backoff regardless of congestion, which is a bit wield.</div>
<div>&nbsp;</div>
<div>Thanks in advance for any clarification.</div>
<div>&nbsp;</div>
<div>&nbsp; void attemptSend() {</div>
<p>&nbsp;&nbsp;&nbsp; uint8_t status;<br>&nbsp;&nbsp;&nbsp; bool congestion = TRUE;</p>
<p>&nbsp;&nbsp;&nbsp; call CSN.clr();</p>
<p>1&nbsp;&nbsp;&nbsp; status = m_cca ? call STXONCCA.strobe() : call STXON.strobe();<br>2&nbsp;&nbsp;&nbsp; if ( !( status &amp; CC2420_STATUS_TX_ACTIVE ) ) {<br>3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; status = call SNOP.strobe();<br>4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( status &amp; CC2420_STATUS_TX_ACTIVE )
<br>5&nbsp;&nbsp;&nbsp; congestion = FALSE;<br>&nbsp;&nbsp;&nbsp; }<br>6&nbsp;&nbsp;&nbsp; atomic m_state = congestion ? S_SAMPLE_CCA : S_SFD;</p>
<p>&nbsp;&nbsp;&nbsp; call CSN.set();</p>
<p>&nbsp;&nbsp;&nbsp; if ( congestion ) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; releaseSpiResource();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; congestionBackoff();<br>&nbsp;&nbsp;&nbsp; }<br>7 #ifdef PLATFORM_MICAZ<br>&nbsp;&nbsp;&nbsp; else {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; startBackoffTimer(CC2420_ABORT_PERIOD);<br>&nbsp;&nbsp;&nbsp; }<br>#endif</p>
<p>&nbsp; }<br></p>
<div>
<br clear="all"><br>-- <br>Regards,<br>Tie </div>
</div>
Ole Bischoff | 1 Nov 10:24 2006
Picon
Picon

Re: Another Question about SurgeTelos

Dear Meiying Su,
 
in the TinyOS mail archive you can find some excellent answers from Cory Sharp to your
questions/nesC warnings.
 
 
Also there are a lot of useful information in the "TinyOS Programming Manual"
 
 
Regards,
            OLE
 
----- Original Message -----
From: Meiying Su
Sent: Wednesday, November 01, 2006 6:11 AM
Subject: Another Question about SurgeTelos

Dear Ole,
 i hava another question about the SurgeTelos application.when i make the application,it will show these message in bash,
[messages]

Administrator <at> mysu /opt/tinyos-1.x/contrib/ucb/apps/surgetelos
$ make telosb
mkdir -p build/telosb
    compiling Surge to a telosb binary
ncc -o build/telosb/main.exe -O -I%T/../contrib/ucb/tos/lib/MultiHopLQI -I%T/../
tos/lib/Queue -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb -
fnesc-cfile=build/telosb/app.c -board= -I%T/lib/Deluge -Wl,--section-start=.text
=0x4800,--defsym=_reset_vector__=0x4000 -DIDENT_PROGRAM_NAME=\"Surge\" -DIDENT_U
SER_ID=\"Administrator\" -DIDENT_HOSTNAME=\"mysu\" -DIDENT_USER_HASH=0x1a661d0cL
 -DIDENT_UNIX_TIME=0x45482805L -DIDENT_UID_HASH=0x7d9c05cfL -mdisable-hwmul -I/o
pt/tinyos-1.x/tos/lib/CC2420Radio Surge.nc -lm
nesc1: warning: calls to Receive.receive in CC2420RadioM are uncombined
nesc1: warning: calls to ReceiveCombined.receive in FramerAckM are uncombined
C:/PROGRA~1/UCB/cygwin/opt/tinyos- 1.x/tos/platform/msp430/ADCM.nc:139: warning:
`MSP430ADC12Single.bind' called asynchronously from `triggerConversion'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/lib/CC2420Radio/CC2420RadioM.nc:116: w
arning: `Send.sendDone' called asynchronously from `sendFailed'
    compiled Surge to build/telosb/main.exe
           26390 bytes in ROM
            1422 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe build/telosb/main.ihex

    writing TOS image
i am very confused by the warning message, could you give me some advice ?how can i  remove these warning message?

best regard

Meiying Su 

<div>
<div>
<div>Dear Meiying Su,</div>
<div>&nbsp;</div>
<div>in the TinyOS mail archive you can find some excellent answers&nbsp;from 
Cory Sharp to your </div>
<div>questions/nesC warnings.</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp; 1) uncombined&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; <a href="https://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-May/016881.html">https://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-May/016881.html</a>
</div>
<div>&nbsp;&nbsp;&nbsp; 2) asynchronously =&gt; <a href="https://mail.millennium.berkeley.edu/pipermail/tinyos-help/2004-August/005092.html">https://mail.millennium.berkeley.edu/pipermail/tinyos-help/2004-August/005092.html</a>
</div>
<div>&nbsp;</div>
<div>Also&nbsp;there are a lot of useful information in the&nbsp;"TinyOS 
Programming Manual" </div>
<div>(<a href="http://csl.stanford.edu/~pal/pubs/tinyos-programming.pdf">http://csl.stanford.edu/~pal/pubs/tinyos-programming.pdf</a>)</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>
<div>Regards,</div>
<div>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; OLE</div>
<div>&nbsp;</div>
</div>
</div>
<blockquote dir="ltr">
  <div>----- Original Message ----- </div>
  <div>From: 
  <a title="meiying.su <at> gmail.com" href="mailto:meiying.su <at> gmail.com">Meiying 
  Su</a> </div>
  <div>To: <a title="s01item2 <at> item.uni-bremen.de" href="mailto:s01item2 <at> item.uni-bremen.de">Ole Bischoff</a> </div>
  <div>Sent: Wednesday, November 01, 2006 6:11 
  AM</div>
  <div>Subject: Another Question about 
  SurgeTelos</div>
  <div><br></div>
  <div>Dear Ole,</div>
  <div>&nbsp;i hava another question about the SurgeTelos application.when i 
  make the application,it will show these message in bash,</div>
  <div>[messages]</div>
  <div>
  <p><a href="mailto:Administrator <at> mysu">Administrator <at> mysu</a> 
  /opt/tinyos-1.x/contrib/ucb/apps/surgetelos<br>$ make telosb<br>mkdir -p 
  build/telosb<br>&nbsp;&nbsp;&nbsp; compiling Surge to a telosb binary<br>ncc 
  -o build/telosb/main.exe -O -I%T/../contrib/ucb/tos/lib/MultiHopLQI -I%T/../ 
  <br>tos/lib/Queue -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all 
  -target=telosb -<br>fnesc-cfile=build/telosb/app.c -board= -I%T/lib/Deluge 
  -Wl,--section-start=.text<br>=0x4800,--defsym=_reset_vector__=0x4000 
  -DIDENT_PROGRAM_NAME=\"Surge\" -DIDENT_U <br>SER_ID=\"Administrator\" 
  -DIDENT_HOSTNAME=\"mysu\" 
  -DIDENT_USER_HASH=0x1a661d0cL<br>&nbsp;-DIDENT_UNIX_TIME=0x45482805L 
  -DIDENT_UID_HASH=0x7d9c05cfL -mdisable-hwmul 
  -I/o<br>pt/tinyos-1.x/tos/lib/CC2420Radio <a href="http://Surge.nc">Surge.nc</a> -lm<br>nesc1: warning: calls to 
  Receive.receive in CC2420RadioM are uncombined<br>nesc1: warning: calls to 
  ReceiveCombined.receive in FramerAckM are 
  uncombined<br>C:/PROGRA~1/UCB/cygwin/opt/tinyos- 
  1.x/tos/platform/msp430/ADCM.nc:139: warning:<br>`MSP430ADC12Single.bind' 
  called asynchronously from 
  `triggerConversion'<br>C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/lib/CC2420Radio/CC2420RadioM.nc:116: 
  w<br>arning: `Send.sendDone' called asynchronously from 
  `sendFailed'<br>&nbsp;&nbsp;&nbsp; compiled Surge to 
  build/telosb/main.exe<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  26390 bytes in 
  ROM<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1422 
  bytes in RAM<br>msp430-objcopy --output-target=ihex build/telosb/main.exe 
  build/telosb/main.ihex </p>
  <p>&nbsp;&nbsp;&nbsp; writing TOS image<br>i am very confused by the warning 
  message, could you give me some advice ?how can i&nbsp; remove these warning 
  message?</p>
  <p>best regard</p>
  <p>Meiying Su&nbsp;</p>
</div>
</blockquote>
</div>
xiaoyan yang | 1 Nov 12:50 2006
Picon

Questions about application MultihopOscilloscope(T2)

Dear TinyOS users,

I'm running MultihopOscilloscope in TOSSIM(T2). The event Receive.receive is supposed to be signaled at the root node only when it receives a new message. However, now every node will receive messages through this interface and it seems that snoop.receive is never signaled. I also add an intercept interface to the MultihopOscilloscope application and imlement the event Intercept.forward. However it is never signaled either.

I have also added one dbg(); in the file: ForwardingEngineP.nc as follows:

 event message_t*
  SubReceive.receive(message_t* msg, void* payload, uint8_t len) {
  ....
 if (duplicate) {
        call CollectionDebug.logEvent(NET_C_FE_DUPLICATE_QUEUE);
        return msg;
    }

    // If I'm the root, signal receive.
    else if (call RootControl.isRoot()){
      dbg("Test1", "Test1: Signal Receive.receive event. \n");   //--------TEST--------
      return signal Receive.receive[collectid](msg,
                        call Packet.getPayload(msg, &netlen),
                        call Packet.payloadLength(msg));}
    // I'm on the routing path and Intercept indicates that I
    // should not forward the packet.
    else if (!signal Intercept.forward[collectid](msg,
                        call Packet.getPayload(msg, &netlen),
                        call Packet.payloadLength (msg)))
      return msg;
    else {
      dbg("Route", "Forwarding packet from %hu.\n", hdr->origin);
      return forward(msg);
    }...

but found no DEBUG information containing "Test1: Signal Receive.receive event. \n" and ""Route", "Forwarding packet from %hu.\n", hdr->origin ".

Could anyone help me fix this problem? Thanks.

Regards,
-Xiaoyan

<div><p>Dear TinyOS users,<br><br>I'm running MultihopOscilloscope in TOSSIM(T2). The event Receive.receive is supposed to be signaled at the root node only when it receives a new message. However, now every node will receive messages through this interface and it seems that 
snoop.receive is never signaled. I also add an intercept interface to the MultihopOscilloscope application and imlement the event Intercept.forward. However it is never signaled either. <br><br>I have also added one dbg(); in the file: 
ForwardingEngineP.nc as follows:<br><br>&nbsp;event message_t* <br>&nbsp; SubReceive.receive(message_t* msg, void* payload, uint8_t len) {<br>&nbsp; ....<br>&nbsp;if (duplicate) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; call CollectionDebug.logEvent(NET_C_FE_DUPLICATE_QUEUE);
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return msg;<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; // If I'm the root, signal receive. <br>&nbsp;&nbsp;&nbsp; else if (call RootControl.isRoot()){<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbg("Test1", "Test1: Signal Receive.receive event. \n");&nbsp;&nbsp;  //--------TEST--------
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return signal Receive.receive[collectid](msg, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; call Packet.getPayload(msg, &amp;netlen), <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; call Packet.payloadLength(msg));}<br>&nbsp;&nbsp;&nbsp; // I'm on the routing path and Intercept indicates that I
<br>&nbsp;&nbsp;&nbsp; // should not forward the packet.<br>&nbsp;&nbsp;&nbsp; else if (!signal Intercept.forward[collectid](msg, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; call Packet.getPayload(msg, &amp;netlen), <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; call Packet.payloadLength
(msg)))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return msg;<br>&nbsp;&nbsp;&nbsp; else {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbg("Route", "Forwarding packet from %hu.\n", hdr-&gt;origin);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return forward(msg);<br>&nbsp;&nbsp;&nbsp; }...<br><br>but found no DEBUG information containing "Test1: Signal 
Receive.receive event. \n" and ""Route", "Forwarding packet from %hu.\n", hdr-&gt;origin ". <br><br>Could anyone help me fix this problem? Thanks.<br><br>Regards,<br>-Xiaoyan<br></p></div>
umar hafeez | 1 Nov 13:30 2006
Picon

Re: installing uisp and correction toscheck warnings

I tried adding the following lines in bashrc file

export PATH="/usr/bin:$PATH"

after that didn't work then:

export gmake="/usr/bin"
export gnumake="/usr/bin"

Neither gave any improvment on the error messages recieved.

Do i need to install a package...  I have already installed automake, gnusetup and make

when i queried make, i got the following installed files:

/.
/usr
/usr/bin
/usr/bin/make
/usr/lib
/usr/share
/usr/share/info
/usr/share/info/make.info-2.gz
/usr/share/info/make.info.gz
/usr/share/info/make.info-1.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/make.1.gz
/usr/share/doc
/usr/share/doc/make
/usr/share/doc/make/changelog.Debian.gz
/usr/share/doc/make/changelog.gz
/usr/share/doc/make/NEWS.gz
/usr/share/doc/make/NEWS.Debian.gz
/usr/share/doc/make/copyright
/usr/share/doc/make/README.gz
/usr/share/doc/make/Explanations.gz
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/make


Thus do i need to type

export make="/usr/bin"

instead of export gmake and export gnumake???

Thanks...


----- Original Message ----
From: sujay malhar <sujaymalhar <at> gmail.com>
To: umar hafeez <umarhafeez <at> yahoo.com>
Sent: Saturday, 28 October, 2006 7:44:49 PM
Subject: Re: [Tinyos-help] installing uisp and correction toscheck warnings

 Hi
      Go on with mathews installation..it's perfect..Only problem you have is with the PATH.include the gmake and gnumake(/usr/bin) to the $path variable ..
 
 cheers
Sujay.M.S

 
On 10/27/06, umar hafeez <umarhafeez <at> yahoo.com> wrote:
hi,

As I am using ubuntu i used  chad metcalf's guide to install tinyos from following

http://www.chadmetcalf.com/tinyos-1x-on-ubuntu/

I omitted the section of related to tmote because I want to use mica and according to mathews's guide i need uisp and not TOSComm (thus i also skipped TOSComm from Chad's guide)

When i try to compile uisp from mathews guide (using the ./COMPILE command) I got the following error

./COMPILE: line 8: gnumake: command not found
./COMPILE: line 8: gmake: command not found
make: *** No targets specified and no makefile found.  Stop.


Then i found one uisp package from ubuntu's synaptic package manager and installed it


I ran the toscheck script, i got following warnings

--> WARNING: The ncc found by toscheck is not version 1.1. Please update your nesc version to 1.1 tinyos.
--> WARNING: The avr-gcc found by toscheck is not 3.3-tinyos. Please update your avr-gcc compiler to 3.3-tinyos.
--> WARNING: The uisp version found by toscheck is not '20030820tinyos'. Please update your uisp version. The source for uisp version 20030820tinyos can be found in the TinyOS 1.1.0 distribution.
--> WARNING: The graphviz (dot) version found by toscheck is not 1.10. Please update your graphviz version if you'd like to use the nescdoc documentation generator.
--> WARNING: The avr-as version found by toscheck is not 2.13.2.1 Please update your avr-as version by updating your avr-binutils package.

Because these were warnings and not errors as i saw it, I try to compile Blink but i got lots of errors (i have just copied the bigenning but looks like good 50 - 80 errors from assembler)

mkdir -p build/mica2
   compiling Blink to a mica2 binary
ncc -o build/mica2/main.exe -Os -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"Blink\" -DIDENT_USER_ID=\"umar\" -DIDENT_HOSTNAME=\"umar-laptop\" -DIDENT_USER_HASH=0x29948730L -DIDENT_UNIX_TIME=0x45421423L -DIDENT_UID_HASH=0x8963c5deL Blink.nc -lm
/tmp/ccpqWLxZ.s: Assembler messages:
/tmp/ccpqWLxZ.s:10: Error: unknown opcode `disablecou'
/tmp/ccpqWLxZ.s:12: Error: unrecognized symbol type ""
/tmp/ccpqWLxZ.s:12: Error: unknown opcode `disablecou'
/tmp/ccpqWLxZ.s:13: Error: expected comma after name `HPLPowerManagementM' in .size directive

So i think maybe i have a problem with uisp,,, is there any different way to install it for ubuntu??? or is it a different problem???

Tha






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


<div><div><div>I tried adding the following lines in bashrc file<br><br>export PATH="/usr/bin:$PATH"<br><br>after that didn't work then:<br><br>export gmake="/usr/bin"<br>export gnumake="/usr/bin"<br><br>Neither gave any improvment on the error messages recieved.<br><br>Do i need to install a package...&nbsp; I have already installed automake, gnusetup and make<br><br>when i queried make, i got the following installed
 files:<br><br>/.<br>/usr<br>/usr/bin<br>/usr/bin/make<br>/usr/lib<br>/usr/share<br>/usr/share/info<br>/usr/share/info/make.info-2.gz<br>/usr/share/info/make.info.gz<br>/usr/share/info/make.info-1.gz<br>/usr/share/man<br>/usr/share/man/man1<br>/usr/share/man/man1/make.1.gz<br>/usr/share/doc<br>/usr/share/doc/make<br>/usr/share/doc/make/changelog.Debian.gz<br>/usr/share/doc/make/changelog.gz<br>/usr/share/doc/make/NEWS.gz<br>/usr/share/doc/make/NEWS.Debian.gz<br>/usr/share/doc/make/copyright<br>/usr/share/doc/make/README.gz<br>/usr/share/doc/make/Explanations.gz<br>/usr/share/lintian<br>/usr/share/lintian/overrides<br>/usr/share/lintian/overrides/make<br><br><br>Thus do i need to type<br><br>export make="/usr/bin"<br><br>instead of export gmake and export gnumake???<br><br>Thanks...<br><br><br><div>----- Original Message ----<br>From: sujay malhar &lt;sujaymalhar <at> gmail.com&gt;<br>To: umar hafeez
 &lt;umarhafeez <at> yahoo.com&gt;<br>Sent: Saturday, 28 October, 2006 7:44:49 PM<br>Subject: Re: [Tinyos-help] installing uisp and correction toscheck warnings<br><br><div>&nbsp;Hi</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Go on with mathews installation..it's perfect..Only problem you have is with the PATH.include the gmake and gnumake(/usr/bin) to the $path variable&nbsp;..</div>
<div>&nbsp;</div>
<div>&nbsp;cheers</div>
<div>Sujay.M.S<br><br>&nbsp;</div>
<div>
<span class="gmail_quote">On 10/27/06, umar hafeez &lt;<a rel="nofollow" target="_blank" href="mailto:umarhafeez <at> yahoo.com">umarhafeez <at> yahoo.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote">hi,<br><br>As I am using ubuntu i used&nbsp;&nbsp;chad metcalf's guide to install tinyos from following<br><br><a rel="nofollow" target="_blank" href="http://www.chadmetcalf.com/tinyos-1x-on-ubuntu/">
http://www.chadmetcalf.com/tinyos-1x-on-ubuntu/</a><br><br>I omitted the section of related to tmote because I want to use mica and according to mathews's guide i need uisp and not TOSComm (thus i also skipped TOSComm from Chad's guide)
<br><br>When i try to compile uisp from mathews guide (using the ./COMPILE command) I got the following error<br><br>./COMPILE: line 8: gnumake: command not found<br>./COMPILE: line 8: gmake: command not found<br>make: *** No targets specified and no makefile found.&nbsp;&nbsp;Stop.
<br><br><br>Then i found one uisp package from ubuntu's synaptic package manager and installed it<br><br><br>I ran the toscheck script, i got following warnings<br><br>--&gt; WARNING: The ncc found by toscheck is not version 
1.1. Please update your nesc version to 1.1 tinyos.<br>--&gt; WARNING: The avr-gcc found by toscheck is not 3.3-tinyos. Please update your avr-gcc compiler to 3.3-tinyos.<br>--&gt; WARNING: The uisp version found by toscheck is not '20030820tinyos'. Please update your uisp version. The source for uisp version 20030820tinyos can be found in the TinyOS 
1.1.0 distribution.<br>--&gt; WARNING: The graphviz (dot) version found by toscheck is not 1.10. Please update your graphviz version if you'd like to use the nescdoc documentation generator.<br>--&gt; WARNING: The avr-as version found by toscheck is not 
<a rel="nofollow" target="_blank" href="http://2.13.2.1">2.13.2.1</a> Please update your avr-as version by updating your avr-binutils package.<br><br>Because these were warnings and not errors as i saw it, I try to compile Blink but i got lots of errors (i have just copied the bigenning but looks like good 50 - 80 errors from assembler)
<br><br>mkdir -p build/mica2<br>&nbsp;&nbsp; compiling Blink to a mica2 binary<br>ncc -o build/mica2/main.exe -Os -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"Blink\" -DIDENT_USER_ID=\"umar\" -DIDENT_HOSTNAME=\"umar-laptop\" -DIDENT_USER_HASH=0x29948730L -DIDENT_UNIX_TIME=0x45421423L -DIDENT_UID_HASH=0x8963c5deL 
<a rel="nofollow" target="_blank" href="http://Blink.nc">Blink.nc</a> -lm<br>/tmp/ccpqWLxZ.s: Assembler messages:<br>/tmp/ccpqWLxZ.s:10: Error: unknown opcode `disablecou'<br>/tmp/ccpqWLxZ.s:12: Error: unrecognized symbol type ""<br>/tmp/ccpqWLxZ.s:12: Error: unknown opcode `disablecou'
<br>/tmp/ccpqWLxZ.s:13: Error: expected comma after name `HPLPowerManagementM' in .size directive<br><br>So i think maybe i have a problem with uisp,,, is there any different way to install it for ubuntu??? or is it a different problem???
<br><br>Tha<br><br><br><br><br><br><br>_______________________________________________<br>Tinyos-help mailing list<br><a rel="nofollow" target="_blank" href="mailto:Tinyos-help <at> Millennium.Berkeley.EDU">Tinyos-help <at> Millennium.Berkeley.EDU</a><br><a rel="nofollow" target="_blank" href="https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help">
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help</a><br>
</blockquote>
</div>
<br>
</div>
<br>
</div></div></div>
Thomas Falck | 1 Nov 15:04 2006
Picon

CFP: 4th Intl. Workshop on Wearable & Implantable Body Sensor Networks (BSN 2007)



                     2nd CALL FOR PAPERS

 The 2007 International Workshop on Body Sensor Networks (BSN 2007)

                  jointly organised by
  RWTH Aachen University and Philips Research Laboratories,
                     Aachen, Germany

                   March 26-28, 2007

            http://bsn2007.rwth-aachen.de


Sponsored by the IEEE EMB Society, IFMBE, and VDE DGBMT Society

               Important Dates:

 * Paper Submission deadline:    November 10, 2006
 * Notification of acceptance:   December 15, 2006
 * Camera ready copy due:        January 12, 2007
 * Workshop:                     March 26-28, 2007

Enclosed you will find the 2nd call for papers for the 4th International
Workshop on Body Sensor Networks (BSN 2007). We welcome papers (4-6
pages) referring to wearable and domestic medical devices including
issues like communication, textile integration, power scavenging, data
security, clinical applications, etc.

Instructions for authors will be posted on the website within the next
few days. Electronic paper submission will be opened soon. All accepted
papers will be published by Springer.

We established a new paper category which will allow participating in
the "young investigator contest". To be eligible for the Best Young
Investigator Paper Award, the following criteria must be met:
- the candidate must be younger than 35 years old,
- the candidate must be the main author and
- the candidate must be the presenter of the paper

Please check the website <http://bsn2007.rwth-aachen.de/> for further
details and updates.

Following the established tradition, we plan to have pre-workshop
sessions. If you are interested in organising such a pre-workshop
session (e.g. tutorials), please contact us directly.

As social event of BSN 2007 we will arrange a dinner in the so called
"Kroenungssaal" - the prestigious almost 1,000 square metres large
Coronation Hall inside the magnificent Aachen Gothic city hall was
formerly used for crowning ceremonies which relates back to the medieval
times of Charlemagne. Along with a splendid scientific program, we
believe that this event and historical background of Aachen will make
BSN 2007 an unforgettable event.

General & Program Committee Co-chairs
* Steffen Leonhardt - RWTH Aachen University, Germany
* Petri Mähönen - RWTH Aachen University, Germany
* Thomas Falck - Philips Research Europe, Germany

Program Committee
* Paolo Bonato - Harvard Medical School, Boston, USA
* Terry Dishongh - Intel, USA
* Leonard Fass - GE Healthcare, UK
* Thomas Gries - RWTH Aachen University, Germany
* Bert Gyselinckx - IMEC, Leuven, Belgium
* Holger Karl - University of Paderborn, Germany
* Malte Kelm - RWTH Aachen University Clinic, Germany
* David Krebs - MIT, Cambridge, USA
* Torsten Linz - Fraunhofer IZM, Berlin, Germany
* Nigel Lovell - University of New South Wales, Australia
* Paul Lukowicz - University of Passau, Germany
* Andreas Lymberis - European Commission, Brussels, Belgium
* Winfried Mokwa - RWTH Aachen University, Germany
* Wolfgang Niederlag - Krankenhaus Dresden-Friedrichstadt, Germany
* Joe Paradiso - MIT Media Lab, Boston, USA
* Adrian Perrig - Carnegie Mellon University, Pittsburgh, USA
* Ivo Salmärä - Microsoft, Redmond, USA
* Thomas Schmitz-Rode - RWTH Aachen University Clinic, Germany
* Frank Siegemund - European Microsoft Innovation Centre, Aachen, Germany
* Morris Sloman - Imperial College, London, UK
* Wilhelm Stork - Karlsruhe University, Germany
* Chris Toumazou - Imperial College, London, UK
* Gerhard Troester - ETH Zurich, Switzerland
* Martin Westhofen - RWTH Aachen University Clinic, Germany
* Hans-Jürgen Wildau - Biotronik, Berlin, Germany
* Paul Wright, University of California at Berkeley, USA
* Guang-Zhong Yang - Imperial College, London, UK
* Yuan-Ting Zhang - The Chinese University of Hong Kong, China

Apologies if you received this email more than once. Hope to see you in
Aachen next spring.

On behalf of the organizing committee:
Best regards from Aachen
______________________________________________________

Thomas Falck
Senior Scientist, Connectivity Systems Group, Philips Research

Weisshausstrasse 2, 52066 Aachen, Germany
Tel: +49 241 6003-549, Fax: +49 241 6003-518
E-mail: thomas.falck <at> philips.com, www.research.philips.com
<div>
<br><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;2nd CALL FOR PAPERS<br><br>
 &nbsp;The 2007 International Workshop on Body Sensor Networks (BSN 2007)<br><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; jointly
organised by<br>
 &nbsp; RWTH Aachen University and Philips Research Laboratories,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;Aachen, Germany<br><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;March
26-28, 2007<br><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; http://bsn2007.rwth-aachen.de<br><br><br>
Sponsored by the IEEE EMB Society, IFMBE, and VDE DGBMT Society<br><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Important Dates:<br><br>
 &nbsp;* Paper Submission deadline: &nbsp; &nbsp;November 10, 2006<br>
 &nbsp;* Notification of acceptance: &nbsp; December 15, 2006<br>
 &nbsp;* Camera ready copy due: &nbsp; &nbsp; &nbsp; &nbsp;January 12,
2007<br>
 &nbsp;* Workshop: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; March 26-28, 2007<br><br>
Enclosed you will find the 2nd call for papers for the 4th International
<br>
Workshop on Body Sensor Networks (BSN 2007). We welcome papers (4-6 <br>
pages) referring to wearable and domestic medical devices including <br>
issues like communication, textile integration, power scavenging, data
<br>
security, clinical applications, etc.<br><br>
Instructions for authors will be posted on the website within the next
<br>
few days. Electronic paper submission will be opened soon. All accepted
<br>
papers will be published by Springer.<br><br>
We established a new paper category which will allow participating in <br>
the "young investigator contest". To be eligible for the Best
Young <br>
Investigator Paper Award, the following criteria must be met:<br>
- the candidate must be younger than 35 years old,<br>
- the candidate must be the main author and<br>
- the candidate must be the presenter of the paper<br><br>
Please check the website &lt;http://bsn2007.rwth-aachen.de/&gt; for further
<br>
details and updates.<br><br>
Following the established tradition, we plan to have pre-workshop <br>
sessions. If you are interested in organising such a pre-workshop <br>
session (e.g. tutorials), please contact us directly.<br><br>
As social event of BSN 2007 we will arrange a dinner in the so called <br>
"Kroenungssaal" - the prestigious almost 1,000 square metres
large <br>
Coronation Hall inside the magnificent Aachen Gothic city hall was <br>
formerly used for crowning ceremonies which relates back to the medieval
<br>
times of Charlemagne. Along with a splendid scientific program, we <br>
believe that this event and historical background of Aachen will make <br>
BSN 2007 an unforgettable event.<br><br>
General &amp; Program Committee Co-chairs<br>
* Steffen Leonhardt - RWTH Aachen University, Germany<br>
* Petri M&auml;h&ouml;nen - RWTH Aachen University, Germany<br>
* Thomas Falck - Philips Research Europe, Germany<br><br>
Program Committee<br>
* Paolo Bonato - Harvard Medical School, Boston, USA<br>
* Terry Dishongh - Intel, USA<br>
* Leonard Fass - GE Healthcare, UK<br>
* Thomas Gries - RWTH Aachen University, Germany<br>
* Bert Gyselinckx - IMEC, Leuven, Belgium<br>
* Holger Karl - University of Paderborn, Germany<br>
* Malte Kelm - RWTH Aachen University Clinic, Germany<br>
* David Krebs - MIT, Cambridge, USA
<br>* Torsten Linz - Fraunhofer IZM, Berlin, Germany<br>
* Nigel Lovell - University of New South Wales, Australia<br>
* Paul Lukowicz - University of Passau, Germany<br>
* Andreas Lymberis - European Commission, Brussels, Belgium<br>
* Winfried Mokwa - RWTH Aachen University, Germany<br>
* Wolfgang Niederlag - Krankenhaus Dresden-Friedrichstadt, Germany<br>
* Joe Paradiso - MIT Media Lab, Boston, USA<br>
* Adrian Perrig - Carnegie Mellon University, Pittsburgh, USA<br>
* Ivo Salm&auml;r&auml; - Microsoft, Redmond, USA<br>
* Thomas Schmitz-Rode - RWTH Aachen University Clinic, Germany<br>
* Frank Siegemund - European Microsoft Innovation Centre, Aachen, Germany<br>
* Morris Sloman - Imperial College, London, UK<br>
* Wilhelm Stork - Karlsruhe University, Germany<br>
* Chris Toumazou - Imperial College, London, UK<br>
* Gerhard Troester - ETH Zurich, Switzerland<br>
* Martin Westhofen - RWTH Aachen University Clinic, Germany<br>
* Hans-J&uuml;rgen Wildau - Biotronik, Berlin, Germany
<br>* Paul Wright, University of California at Berkeley,
USA<br>
* Guang-Zhong Yang - Imperial College, London, UK<br>
* Yuan-Ting Zhang - The Chinese University of Hong Kong, China<br><br>
Apologies if you received this email more than once. Hope to see you in
<br>
Aachen next spring.<br><br>
On behalf of the organizing committee:<br>
Best regards from Aachen<br>
______________________________________________________<br><br>
Thomas Falck<br>
Senior Scientist, Connectivity Systems Group, Philips Research<br><br>
Weisshausstrasse 2, 52066 Aachen, Germany<br>
Tel: +49 241 6003-549, Fax: +49 241 6003-518<br>
E-mail: thomas.falck <at> philips.com, www.research.philips.com</div>
Cormac Duffy | 1 Nov 15:51 2006
Picon

tinyos-2.x - ignoring unknown packet type 45

Hi I am running the beta-2 version of tinyos-2.x.
I can't seem to get any results from the serial forwarder or Listener java applications,
they both issues the following error:

serial <at> /dev/ttyUSB0:115200: ignoring unknown packet type 45

I am using the tmote-sky platform which i compile as make telosb
I am running the BaseStation application on node 1 and RadioCountToLeds on node 2

regards
Cormac

___________________________________________________
Cormac Duffy M.Sc B.Sc
Computer Science Dept.
University College Cork
College rd.
Cork
Ireland

email:             c.duffy <at> cs.ucc.ie
web:               www.cs.ucc.ie/~cd5
mobile:          +353-87-2039750


<div>Hi I am running the beta-2 version of tinyos-2.x.<div>I can't seem to get any results from the serial forwarder or Listener java applications,</div>
<div>they both issues the following error:</div>
<div><br class="khtml-block-placeholder"></div>
<div>serial <at> /dev/ttyUSB0:115200: ignoring unknown packet type 45<br><div> <span class="Apple-style-span"><div><br class="khtml-block-placeholder"></div>
<div>I am using the tmote-sky platform which i compile as make telosb</div>
<div>I am running the BaseStation application on node 1 and RadioCountToLeds on node 2</div>
<div><br class="khtml-block-placeholder"></div>
<div>regards</div>
<div>Cormac</div>
<div><br class="khtml-block-placeholder"></div>
<div><span class="Apple-style-span">___________________________________________________</span></div>
<div><span class="Apple-style-span">Cormac Duffy M.Sc B.Sc</span></div>
<div><span class="Apple-style-span">Computer Science Dept.</span></div>
<div><span class="Apple-style-span">University College Cork</span></div>
<div><span class="Apple-style-span">College rd.</span></div>
<div><span class="Apple-style-span">Cork</span></div>
<div><span class="Apple-style-span">Ireland</span></div>
<div><br></div>
<div>
<span class="Apple-style-span">email: </span><span class="Apple-style-span">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><a href="mailto:c.duffy <at> cs.ucc.ie"><span class="Apple-style-span">c.duffy <at> cs.ucc.ie</span></a>
</div>
<div>
<span class="Apple-style-span">web: </span><span class="Apple-style-span">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><a href="http://www.cs.ucc.ie/~cd5"><span class="Apple-style-span">www.cs.ucc.ie/~cd5</span></a>
</div>
<div>
<span class="Apple-style-span">mobile:</span><span class="Apple-style-span">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span class="Apple-style-span">+353-87-2039750</span>
</div>
<br class="Apple-interchange-newline"></span> </div>
<br>
</div>
</div>
Osman Ugus | 1 Nov 18:25 2006
Picon

Fwd: Timer-SysTimeC in TinyOs-2.X

Hello,

I am implementing ECC Arithmetic on micaz motes with tinyOS-2.X. I want 
to mesasure the timing efficiency of my methods. I want to get the time 
just before calling the method and just after finishing the method.

There was a component called SysTimeC in tinyOs-1.x and I think that 
could be used for my purpose, but SysTimeC does not exist in tinyOs-2.X 
any more.

Which component should I use in tinyOs-2.X to be able to get as much 
precision as by using SysTimeC in tinyOs-1.X.

Thanks a lot for your help

Osman Ugus

Gmane