[Tinyos-help] not sending after some time

2007-04-29 Thread siva prasad

Hi

I have posted these questions a few times but never got any clear
answers. I would be pleased if someone could give me some answers this time.

I have a problem with a program I wrote for a Telos mote.I am sending the
data using Multihop routing technique.I have loaded the application into 2
modules, one with ' 0' address and another with ' 1' address..!!

The mote connected to the USB( ' 0' address) is sending the data
continuously...the other mote (1-address) is sending the data only for a
short duration..!!!
suppose if i have connected the mote(1-address) to the USB port,it is
signalling that it is sending the data continuously..if i
hav checked with the batteries, its sending only for a short interval of
time..why

one more observation i have done..when running LISTEN tool..
i am sending parent ID in the data packet..the node with address-1 is
showing the value as FF (for the first 15 packets roughly)-during this
time the code on this node is working fine..!!
once the node is showing the parent ID as-' 0'--it is sending some duplicate
packets..and after some time..it is completely stop sending the data..!!!

Any idea would be really appreciated...
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] not sending after some time..!!

2007-03-16 Thread siva prasad

hi all,

i am working on tmote-sky modules..my requirement is to sample two 50Hz
signals at 1kHz through external ADC ports...and calculating a value(which
is the multiplication of both the external sensors data) over 100 samples
and sending tht value (means need to send 10 samples/sec using MULTIHOP
technique)...i hav prepared my application ..it was sending the data only
for a short interval of time..can u please suggest me what might be the
reasons for sending the data only for a short duration...???

can u please give me the reason(bug),why it is stop sending the data after
some time..here i am attaching my code..please hav a look at my code..i hav
been struggling with this problem from the last one month..n..already asked
this question previously ..but didnt get any help..!!

any help is greatly appreciated..!!!
https://mail.google.com/mail/?auth=DQAAAHMAAAB6i1nsY-xVniB8vQDPw1-04H_2bR4bpxNPsy2BLc_kaYlp9OHYe8vHz3A44mjE9TsDZiuKx2NYgBqo2WX00lRkCPVtH_cSdNbnvBEvlgRGLKWKmWb2N0Bc0qV5C9aHjoBr8bfVmS0tdVzDYEwbYqmQcgBGvTAHnxqcnLsxGLz9jgzx=e6j4514doys5shva=1
#include MultiHop.h

enum
{
  TOS_ADC_my1_PORT = unique(ADCPort),

TOSH_ACTUAL_ADC_my1_PORT = ASSOCIATE_ADC_CHANNEL(
INPUT_CHANNEL_A0,
REFERENCE_VREFplus_AVss,
REFVOLT_LEVEL_1_5
  ),
  
  TOS_ADC_my2_PORT = unique(ADCPort),

TOSH_ACTUAL_ADC_my2_PORT = ASSOCIATE_ADC_CHANNEL(
INPUT_CHANNEL_A1,
REFERENCE_VREFplus_AVss,
REFVOLT_LEVEL_1_5
  ),

  AM_COUNTMSG = 16
};

typedef struct
{ 
  uint16_t reading1;
  uint16_t reading2;
  uint32_t sum;
  uint32_t sum1;
  uint16_t src;
  uint16_t parent;
  //uint8_t neighborsize;
  //uint8_t retransmissions;
  //uint16_t neighbors[MHOP_PARENT_SIZE];
  //uint16_t quality[MHOP_PARENT_SIZE];
}CountMsg_t;



extADC3pC.nC
Description: Cdf file


extADC3pM.nC
Description: Cdf file
VALID_PLATFORMS = telos telosa telosb tmote
VALID_TARGETS = $(VALID_PLATFORMS) clean help
ifeq ($(filter $(VALID_TARGETS),$(MAKECMDGOALS)),)
$(error ERROR: Invalid platform!  Valid platforms: $(VALID_PLATFORMS))
endif

COMPONENT = extADC3pC
DEFAULT_LOCAL_GROUP = 0x32
include $(MAKERULES)
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] ...not sending after some time..!!

2007-02-16 Thread siva prasad

hi all

i am working on tmote-sky modules..my requirement is to sample two 50Hz
signals at 1kHz through external ADC ports...and calculating a value(which
is the multiplication of both the external sensors data) over 100 samples
and sending tht value (means need to send 10 samples/sec using MULTIHOP
technique)...i hav prepared my application ..it was sending the data only
for a short interval of time..can u please suggest me what might be the
reasons for sending the data only for a short duration...???

I wil be thankful to you ..
can u please give me the reason(bug),why it is stop sending the data after
some time..here i am attaching my code..please hav a look at my code..i hav
been struggling with this problem from the last one month..i hope u wil help
me...pls..!!
#include MultiHop.h

enum
{
  TOS_ADC_my1_PORT = unique(ADCPort),

TOSH_ACTUAL_ADC_my1_PORT = ASSOCIATE_ADC_CHANNEL(
INPUT_CHANNEL_A0,
REFERENCE_VREFplus_AVss,
REFVOLT_LEVEL_1_5
  ),
  
  TOS_ADC_my2_PORT = unique(ADCPort),

TOSH_ACTUAL_ADC_my2_PORT = ASSOCIATE_ADC_CHANNEL(
INPUT_CHANNEL_A1,
REFERENCE_VREFplus_AVss,
REFVOLT_LEVEL_1_5
  ),

  AM_COUNTMSG = 12
};

typedef struct
{ 
  //uint16_t reading1;
  //uint16_t reading2;
  uint32_t sum;
  uint32_t sum1;
  uint16_t src;
  uint16_t parent;
  //uint8_t neighborsize;
  //uint8_t retransmissions;
  //uint16_t neighbors[MHOP_PARENT_SIZE];
  //uint16_t quality[MHOP_PARENT_SIZE];
}CountMsg_t;



extADC3pC.nC
Description: Cdf file


extADC3pM.nC
Description: Cdf file
VALID_PLATFORMS = telos telosa telosb tmote
VALID_TARGETS = $(VALID_PLATFORMS) clean help
ifeq ($(filter $(VALID_TARGETS),$(MAKECMDGOALS)),)
$(error ERROR: Invalid platform!  Valid platforms: $(VALID_PLATFORMS))
endif

COMPONENT = extADC3pC
DEFAULT_LOCAL_GROUP = 0x32
include $(MAKERULES)
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] not sending after some time..!!

2007-02-05 Thread Michael Schippling

Your program probably crashed...
Maybe you ran out of memory due to not freeing message buffers,
or something on that order. I would sprinkle LED flashes or some
other local signal throughout the code to see what is still running.

MS


siva prasad wrote:

hi all,
 
i am working on tmote-sky modules..my requirement is to sample two 50Hz 
signals at 1kHz through external ADC ports...and calculating a 
value(which is the multiplication of both the external sensors 
data) over 100 samples and sending tht value (means need to send 10 
samples/sec using MULTIHOP technique)...i hav prepared my application 
..it was sending the data only for a short interval of time..can u 
please suggest me what might be the reasons for sending the data only 
for a short duration...???
 
any help is greatly appreciated..!!!





___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] not sending after some time..!!

2007-02-04 Thread siva prasad

hi all,

i am working on tmote-sky modules..my requirement is to sample two 50Hz
signals at 1kHz through external ADC ports...and calculating a value(which
is the multiplication of both the external sensors data) over 100 samples
and sending tht value (means need to send 10 samples/sec using MULTIHOP
technique)...i hav prepared my application ..it was sending the data only
for a short interval of time..can u please suggest me what might be the
reasons for sending the data only for a short duration...???

any help is greatly appreciated..!!!
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help