Re: [Tinyos-help] IRIS SPI lockup

2012-12-12 Thread Oldrine Lewis
get to the test the fix asap. Regards, Lewis -Original Message- From: mmar...@gmail.com [mailto:mmar...@gmail.com] On Behalf Of Miklos Maroti Sent: Monday, December 10, 2012 2:55 PM To: Oldrine Lewis Cc: Eric Decker; tinyos-help@millennium.berkeley.edu; Philip Levis; Janos Sallai

[Tinyos-help] IRIS Radio lockup

2012-12-10 Thread Oldrine Lewis
I have been experiencing some lockups with the radio recently. The problem seems to occur when RandomCollisionLayerP::SubSend.send() is called by MessageBufferLayerP, but RandomCollisionLayerP never calls RF230DriverHwAckP::RadioSend.send(). MessageBufferLayerP ends up waiting forever for SendDone

Re: [Tinyos-help] IRIS SPI lockup

2012-12-06 Thread Oldrine Lewis
Hi Miklos, Thanks for the updates. I just downloaded the new files. Will test and keep you posted. Thanks, Lewis -Original Message- From: mmar...@gmail.com [mailto:mmar...@gmail.com] On Behalf Of Miklos Maroti Sent: Wednesday, December 05, 2012 1:35 PM To: Eric Decker Cc: Oldrine Lewis

Re: [Tinyos-help] IRIS SPI lockup

2012-11-30 Thread Oldrine Lewis
should get fixed. That would mean that the following as submitted is a work around and not an actual fix. thoughts? On Fri, Nov 30, 2012 at 12:58 PM, Oldrine Lewis wrote: Recently, I have been experiencing frequent lockups with the IRIS nodes. I discovered that the lockup occurred in

[Tinyos-help] IRIS SPI lockup

2012-11-30 Thread Oldrine Lewis
Recently, I have been experiencing frequent lockups with the IRIS nodes. I discovered that the lockup occurred in Atm128SpiP.nc, looping infinitely onwhile ( !( SPSR & 0x80 ) ); This bug, manifests if a task calls Resource.immediateRequest(), and an interrupt occurs after the task calls Res

[Tinyos-help] fixes for RF230 drivers

2012-11-07 Thread Oldrine Lewis
I have been doing some testing with the RF230 drivers (IRIS motes) for a while now and ran into a few glitches. The drivers usually work fine, but in a congested RF environment where multiple nodes might be trying to transmit at the same time, I noticed that quite a few few packets were lost due

[Tinyos-help] Iris RF230 does not enter TRX_OFF state

2012-11-05 Thread Oldrine Lewis
I am trying to turn-off the receiver while I upload a message to the microcontroller. In RF230DriverHwAckP.nc:ServiceRadio(), I force the RF230 to the state TRX_OFF by executing writeRegister(RF230_TRX_STATE, RF230_FORCE_TRX_OFF). I also read the Status register to confirm the new state. I howev

Re: [Tinyos-help] iris radio locked - returns BUSY forever

2012-10-29 Thread Oldrine Lewis
Maroti Cc: Oldrine Lewis; tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] iris radio locked - returns BUSY forever Hi Guys, This is probably irrelevant, but I never had the time to check it: On the rf212 radio with RADIO_DEBUG turned on, I get an assert sometimes: The driver gets a

Re: [Tinyos-help] iris radio locked - returns BUSY forever

2012-10-29 Thread Oldrine Lewis
, VA-20166. Ph: 1-703-406-2800 extn. 340 Fax: 1-703-406-2801 -Original Message- From: András Bíró [mailto:andras.b...@unicomp.hu] Sent: Wednesday, October 24, 2012 2:52 PM To: Miklos Maroti Cc: Oldrine Lewis; tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] iris radio lo

Re: [Tinyos-help] iris radio locked - returns BUSY forever

2012-10-25 Thread Oldrine Lewis
only the Lock but is set without the TRX_END bit. Thanks, Lewis -Original Message- From: András Bíró [mailto:andras.b...@unicomp.hu] Sent: Wednesday, October 24, 2012 2:52 PM To: Miklos Maroti Cc: Oldrine Lewis; tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] iris radio

Re: [Tinyos-help] iris radio locked - returns BUSY forever

2012-10-24 Thread Oldrine Lewis
It seems that on multiple occasions when my radio locked up the variable state had value 7 (STATE_PLL_ON_2_RX_ON) -Original Message- From: András Bíró [mailto:andras.b...@unicomp.hu] Sent: Wednesday, October 24, 2012 2:52 PM To: Miklos Maroti Cc: Oldrine Lewis; tinyos-help

Re: [Tinyos-help] iris radio locked - returns BUSY forever

2012-10-24 Thread Oldrine Lewis
...@gmail.com [mailto:mmar...@gmail.com] On Behalf Of Miklos Maroti Sent: Wednesday, October 24, 2012 2:11 PM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] iris radio locked - returns BUSY forever I am just wondering how the user level code is written, maybe the bug

Re: [Tinyos-help] iris radio locked - returns BUSY forever

2012-10-24 Thread Oldrine Lewis
il.com] On Behalf Of Miklos Maroti Sent: Wednesday, October 24, 2012 1:58 PM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] iris radio locked - returns BUSY forever Can you post your code too? Miklos On Wed, Oct 24, 2012 at 12:53 PM, Oldrine Lewis wrote: > I h

[Tinyos-help] iris radio locked - returns BUSY forever

2012-10-24 Thread Oldrine Lewis
I have four Iris nodes and all are broadcasting (flooding the network) a message. Each node after receiving a msg waits for a random period and re-broadcasts the msg. I noticed that after a few seconds the radio stack locks up and returns EBUSY forever. I put a few debug statements in RadioSend.s

Re: [Tinyos-help] Tinyos Ram shortage

2012-06-05 Thread Oldrine Lewis
Hi Johny, Thanks for the insight. I have moved all consts to pgm memory and accessed them with macros, so able to liberate a few hundred bytes of RAM I also noticed that all my const array of structs are being stored in RAM. Is there any way to force const them into program memory Yes, bu

Re: [Tinyos-help] Tinyos Ram shortage

2012-06-03 Thread Oldrine Lewis
I also noticed that all my const array of structs are being stored in RAM. Is there any way to force const them into program memory ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listi

[Tinyos-help] Tinyos Ram shortage

2012-06-03 Thread Oldrine Lewis
I am currently working on the Iris motes and running very low on RAM. I added a new command to one of the modules and noticed the RAM usage (reported at the end of the make process) increased by abt 40 bytes even though I did not have any local variables in the function. I checked app.c and found t

[Tinyos-help] force compilation of unused variables

2012-05-13 Thread Oldrine Lewis
Hi, I am writing a small component to simplify reading from EEPROM. I have all the variables in a header file, which I would like to read as a block from the EEPROM. The problem I have is that if some variable is defined in the header file, but not used, the compiler detects this and does n

Re: [Tinyos-help] Question regarding generic components

2012-04-24 Thread Oldrine Lewis
Hi Eric, I guess I too am struggling with explaining the scenario I have here. Lemme give it one last try. Please don't get me wrong, I truly appreciate the time and patience on your side. Now I understand that what I was trying to implement is not possible. So I am implementing a workaround

Re: [Tinyos-help] Question regarding generic components

2012-04-24 Thread Oldrine Lewis
ined (typedef type) in each module , I expected the compiler would be aware of the data type. Thanks, Lewis From: Eric Decker [mailto:cire...@gmail.com] Sent: Monday, April 23, 2012 11:23 PM To: Oldrine Lewis Cc: tinyos-help@mille

Re: [Tinyos-help] Question regarding generic components

2012-04-24 Thread Oldrine Lewis
module , I expected the compiler would be aware of the data type. Thanks, Lewis From: Eric Decker [mailto:cire...@gmail.com] Sent: Monday, April 23, 2012 11:23 PM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Question regarding generic components On

Re: [Tinyos-help] Question regarding generic components

2012-04-23 Thread Oldrine Lewis
...@gmail.com] Sent: Monday, April 23, 2012 10:13 PM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Question regarding generic components On Mon, Apr 23, 2012 at 7:05 PM, Oldrine Lewis wrote: Hi, Can I access the members in a user defined type inside a

[Tinyos-help] Question regarding generic components

2012-04-23 Thread Oldrine Lewis
Hi, Can I access the members in a user defined type inside a generic module? typedef struct { uint8_t m_count; }MyStruct; generic module MyModuleM(typedef type) { provides interface MyInterface; } implementation { command void MyInterface.TestStructAccess(

Re: [Tinyos-help] IRIS motes corrupted data received - CRC check

2012-03-27 Thread Oldrine Lewis
] On Behalf Of Miklos Maroti Sent: Monday, March 26, 2012 12:47 AM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] IRIS motes corrupted data received - CRC check Hi Lewis, On Mon, Mar 26, 2012 at 5:42 AM, Oldrine Lewis wrote: > > > Hi Miklos, >

Re: [Tinyos-help] IRIS motes corrupted data received - CRC check

2012-03-26 Thread Oldrine Lewis
removing the CSMA / transmission retries however. Keeping my fingers crossed. -Original Message- From: Martin Cerveny [mailto:mar...@c-home.cz] Sent: Monday, March 26, 2012 3:47 PM To: Oldrine Lewis Cc: Miklos Maroti; tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] IRIS motes

Re: [Tinyos-help] IRIS motes corrupted data received - CRC check

2012-03-26 Thread Oldrine Lewis
ay, March 26, 2012 12:47 AM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] IRIS motes corrupted data received - CRC check Hi Lewis, On Mon, Mar 26, 2012 at 5:42 AM, Oldrine Lewis wrote: > > > Hi Miklos, > > I have not tested with lower data rates

Re: [Tinyos-help] IRIS motes corrupted data received - CRC check

2012-03-25 Thread Oldrine Lewis
: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] IRIS motes corrupted data received - CRC check Hi Lewis, Very interesting. The RF230 should not have done that: in section 8.2.4 it says: "In RX_AACK states, if FCS of the received frame is not valid, the

Re: [Tinyos-help] IRIS motes corrupted data received - CRC check

2012-03-25 Thread Oldrine Lewis
-Original Message- From: mmar...@gmail.com [mailto:mmar...@gmail.com] On Behalf Of Miklos Maroti Sent: Wednesday, March 21, 2012 2:01 AM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] IRIS motes corrupted data received - CRC check Hi Lewis, On Tue, Mar 20

Re: [Tinyos-help] IRIS motes corrupted data received - CRC check

2012-03-19 Thread Oldrine Lewis
, Lewis -Original Message- From: mmar...@gmail.com [mailto:mmar...@gmail.com] On Behalf Of Miklos Maroti Sent: Tuesday, March 20, 2012 12:04 AM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] IRIS motes corrupted data received - CRC check Hi Lewis

Re: [Tinyos-help] IRIS motes corrupted data received - CRC check

2012-03-19 Thread Oldrine Lewis
might cause data to get corrupted under some circumstances? Thanks, Lewis -Original Message- From: mmar...@gmail.com [mailto:mmar...@gmail.com] On Behalf Of Miklos Maroti Sent: Sunday, March 18, 2012 8:45 PM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re

[Tinyos-help] IRIS motes corrupted data received - CRC check

2012-03-18 Thread Oldrine Lewis
Hi, I have a simple test where one node broadcasts packets and it is received by multiple nodes. I noticed that I was occassionally receiving some corrupted packets. The packets were transmitted correctly because one of the other nodes received the packet correctly. On doing a little investigati

[Tinyos-help] Iris stops receiving messages after a while

2012-02-22 Thread Oldrine Lewis
Hi, I am a novice with TinyOS. I am trying to build a small multihop network. I am currently testing a component of my routing engine where one of the nodes just broadcasts requests and intermediate nodes rebroadcast it. The problem is that after a while( sometimes a few minutes, sometime a few ho

Re: [Tinyos-help] Iris stops receiving messages after a while

2012-02-21 Thread Oldrine Lewis
[mailto:mmar...@gmail.com] On Behalf Of Miklos Maroti Sent: Monday, February 20, 2012 11:37 AM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Iris stops receiving messages after a while Hi! Just to clarify, your code works fine without LPL? Are you sure that the bug

Re: [Tinyos-help] Iris stops receiving messages after a while

2012-02-20 Thread Oldrine Lewis
$(MAKERULES) Thanks, Lewis -Original Message- From: mmar...@gmail.com [mailto:mmar...@gmail.com] On Behalf Of Miklos Maroti Sent: Monday, February 20, 2012 11:37 AM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Iris stops receiving messages after a

Re: [Tinyos-help] Iris stops receiving messages after a while

2012-02-20 Thread Oldrine Lewis
...@gmail.com] On Behalf Of Miklos Maroti Sent: Monday, February 20, 2012 10:04 AM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Iris stops receiving messages after a while Hi Lewis, This might solve your problem: try adding this to your Makefile: CFLAGS

Re: [Tinyos-help] Iris stops receiving messages after a while

2012-02-20 Thread Oldrine Lewis
: Monday, February 20, 2012 10:04 AM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Iris stops receiving messages after a while Hi Lewis, This might solve your problem: try adding this to your Makefile: CFLAGS += -DTASKLET_IS_TASK The uart module has some

Re: [Tinyos-help] Iris stops receiving messages after a while

2012-02-20 Thread Oldrine Lewis
from the congihuartion PlatformSerialC. Thanks, -Original Message- From: mmar...@gmail.com [mailto:mmar...@gmail.com] On Behalf Of Miklos Maroti Sent: Monday, February 20, 2012 10:04 AM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Iris stops

[Tinyos-help] Iris stops receiving messages after a while

2012-02-20 Thread Oldrine Lewis
Hi, I am a novice with TinyOS. I am trying to build a small multihop network. I am currently testing a component of my routing engine where one of the nodes just broadcasts requests and intermediate nodes rebroadcast it. The problem is that after a while( sometimes a few minutes, sometime a few