[Tinyos-help] Help needed: BlinkToRadio on Motes‏

2014-06-09 Thread Priyank
Hi,

I m trying to use BlinkToRadio program on motes. I have successfully
Uploaded the BlinkToRadio code on node. I have successfully uploaded the
BaseStation Code on the node at gateway node.
After this I have used MIG tool for generating java file.
Now I have written a java program that listens the serial port and displays
the output.

At Base Station I am receiving the packets but the problem is in the output.

Actual output:
serial@/dev/ttyUSB2:57600: resynchronising
Node=3: Value= 0: Source= 256
Node=3: Value= 256: Source= 256
Node=3: Value= 512: Source= 256
Node=3: Value= 768: Source= 256
Node=3: Value= 1024: Source= 256
Node=3: Value= 1280: Source= 256
Node=3: Value= 1536: Source= 256
Node=3: Value= 1792: Source= 256
Node=3: Value= 2048: Source= 256
Node=3: Value= 2304: Source= 256
Node=3: Value= 2560: Source= 256
Node=3: Value= 2816: Source= 256
Node=3: Value= 3072: Source= 256
Node=3: Value= 3328: Source= 256
Node=3: Value= 3584: Source= 256
Node=3: Value= 3840: Source= 256
Node=3: Value= 4096: Source= 256
Node=3: Value= 4352: Source= 256

Expected Output:
serial@/dev/ttyUSB2:57600: resynchronising
Node=3: Value= 0: Source= 3
Node=3: Value= 1: Source= 3
Node=3: Value= 2: Source= 3
Node=3: Value= 3: Source= 3
Node=3: Value= 4: Source= 3
Node=3: Value= 5: Source= 3
Node=3: Value= 6: Source= 3
Node=3: Value= 7: Source= 3
Node=3: Value= 8: Source= 3
Node=3: Value= 9: Source= 3
Node=3: Value= 10: Source= 3
Node=3: Value= 11: Source= 3
Node=3: Value= 12: Source= 3
Node=3: Value= 13: Source= 3
Node=3: Value= 14: Source= 3
Node=3: Value= 15: Source= 3
Node=3: Value= 16: Source= 3
Node=3: Value= 17: Source= 3

My Queries are:
Question 1: Can anybody explain me Why the output no showing the correct
value at base station?
Question 2: Is there any need to modify Base Station Code for this program?
If Yes what modifications must be done?
Question 3: How can I get the correct output at BaseStation?
Question 4: What is the relation Between AM_TYPE an Data Packet structure??



--
View this message in context: 
http://tinyos-help.10906.n7.nabble.com/Help-needed-BlinkToRadio-on-Motes-tp24391.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Help Needed: Power Analysis in TinyOS 2.x

2013-11-29 Thread nivedita datta
Hi all,

As I have seen in documentations, we can install PowerTossmZ for TinyOS
1.x. However, I could not find any power analysis module for tinyos2.x. Can
anyone let me know how to do power analysis in tinyos 2.x.

The following link works fine for TinyOS 1.x. I need something similar for
TinyOS 2.x. Please help !!!

http://www.eecs.harvard.edu/~shnayder/ptossim/install.html
(Note: the site says PowerTossim is no longer supported so I need an
equivalent of this for TinyOS 2.x)

Thanks  Regards,
Nivedita Datta
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Help Needed: Power Analysis in TinyOS 2.x

2013-11-29 Thread Eric Decker
I strongly suspect you will have to port it.

I haven't heard anything about it already being done.

If you do port it, and do a decent job, I'll sponsor putting it into the
repository.



On Fri, Nov 29, 2013 at 1:33 PM, nivedita datta sweetniv...@gmail.comwrote:

 Hi all,

 As I have seen in documentations, we can install PowerTossmZ for TinyOS
 1.x. However, I could not find any power analysis module for tinyos2.x. Can
 anyone let me know how to do power analysis in tinyos 2.x.

 The following link works fine for TinyOS 1.x. I need something similar for
 TinyOS 2.x. Please help !!!

 http://www.eecs.harvard.edu/~shnayder/ptossim/install.html
 (Note: the site says PowerTossim is no longer supported so I need an
 equivalent of this for TinyOS 2.x)

 Thanks  Regards,
 Nivedita Datta

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




-- 
Eric B. Decker
Senior (over 50 :-) Researcher
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Help needed regarding TOSSIM

2013-03-04 Thread Indranil Chakraborty
Hello Sir,
 I am new to this mailing system. I have recently started
learning Tinyos and using Tossim on tinyos applications. I want to know if
there any detailed tutorial on Tossim with examples of python programs ,
available. I am facing some problems in using two different applications
together in Tossim. Any help in this regard would be highly appreciated.
Regards,
  Indranil

-- 
Indranil Chakraborty
4th yr, Electronics And Telecommunications Engg,
Jadavpur University
Kolkata,India
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] help needed to assume value in simulation

2012-12-04 Thread rajesh mukherjee
Hi All,
i actually doing simulation of routing algorithm in WSN using tossim. i
have already successfully implemented the algorithm in tossim. plz suggest
me about followings:

1) What will be the packet length which i will route in the network?
2) what will i set as a maximum communication range of a node?
3) what value will i set as a initial energy?
4) how to calculate energy remain after send  receive?
5) what will be the threshold energy of node?


 thanks in advance.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] HELP NEEDED REGARDING SURGE IN TINYOS VERSION 1

2012-01-20 Thread rabail kazi
Hi,

I have tested surge application with micaz motes and everything works fine. I
am able to
see the network topology in the GUI and photo sensor values are correctly
reported. But,
I found that the command buttons such as focus, unfocus, Send sleep, send
wakeup etc.,
are not activated in the java application. I could see the functions for all
these
commands, but they are commented in the MainFrame.java file. I guess, that part
of
implementation was left incompleted for some reason.

Can anybody in the list help me getting a modified java files for surge
application such
that these commands buttons also works fine.

Regards,
RABAIL KAZI
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] help needed

2011-06-03 Thread shikha singh
hello,
can anyone help me getting code for RBS, TPSN, FTSP(Time
synchronization protocols).
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Help Needed

2011-04-21 Thread Omprakash Gnawali
On Wed, Apr 6, 2011 at 8:08 AM, ashish bhagat
bhagat_kumar_ash...@yahoo.co.in wrote:

 Hi,

 I am working with TinyOS 2.x from a long time.

 1. I have found the Timer interface as a non-premptive interface. In two way 
 communication, a timer was set between the time the sender sends a packet and 
 waits for the acknowledgement to be received. The sender is not able to 
 receive the acknowledgement since the timer is non preemptive event and thus 
 does not allow the mote to preempt in between to receive the packet. Is this 
 conclusion correct. Or am I doing something wrong. If the conclusion is 
 correct, what else can a use for check on timeout.

 2. On Zigbee kit, I want the kit to have some ID, how can one associate the 
 kit with these IDs.

 3. The CTP protocol implemented does not work. Can you suggest the reason for 
 the same.

You should provide more details before someone can help you determine
why CTP does not work.

- om_p

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Help Needed

2011-04-07 Thread ashish bhagat
Hi,



I am working with TinyOS 2.x from a long time.



1. I have found the Timer interface as a non-premptive interface. In two
 way communication, a timer was set between the time the sender sends a 
packet and waits for the acknowledgement to be received. The sender is 
not able to receive the acknowledgement since the timer is non 
preemptive event and thus does not allow the mote to preempt in between 
to receive the packet. Is this conclusion correct. Or am I doing 
something wrong. If the conclusion is correct, what else can a use for 
check on timeout.



2. On Zigbee kit, I want the kit to have some ID, how can one associate the kit 
with these IDs. 



3. The CTP protocol implemented does not work. Can you suggest the reason for 
the same.



Thanks and Regards,

Ashish Bhagat___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Help needed implementing Link Quality Estimation Simulator

2011-03-31 Thread umut altun
Hi,

After days of struggling to implement TinyOS both on Ubuntu and windows
(cygwin), I can finally run Blink app successfully (In Ubuntu at least).
However I need help on a specific case. I am getting the same error on both
Ubuntu and windows.

Please could you look at the output below (I know it is long, sorry) and
just throw and idea what the heck is wrong with this ilqeAppC?

Thanks,

/opt/tinyos-2.x/apps/CompSimStudy--Scenario1
$ make micaz sim-cygwin
mkdir -p build/micaz
compiling ilqeAppC to a micaz binary
ncc -o build/micaz/main.exe  -Os -fnesc-separator=__ -Wall -Wshadow
-Wnesc-all -
target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
-DDEFINED_TOS_AM_GROUP
=0x22 --param max-inline-insns-single=10 -DPACKET_LINK
-DIDENT_APPNAME=\ilq
eAppC\ -DIDENT_USERNAME=\ualtun\ -DIDENT_HOSTNAME=\TRISTN0TR0800\
-DIDENT_U
SERHASH=0xd7b2e519L -DIDENT_TIMESTAMP=0x4d9312b7L
-DIDENT_UIDHASH=0x09f00060L -f
nesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
-fnesc-dump='referenced(i
nterfacedefs, components)' -fnesc-dumpfile=build/micaz/wiring-check.xml
ilqeAppC
.nc -lm
In file included from ilqeAppC.nc:32:
MsgStructure.h:23: syntax error before `float_t'
MsgStructure.h:23: warning: no semicolon at end of struct or union
MsgStructure.h:30: syntax error before `}'
MsgStructure.h:30: warning: type defaults to `int' in declaration of
`neighbor_e
ntry'
MsgStructure.h:30: warning: data definition has no type or storage class
In file included from ilqeAppC.nc:47:
In component `ilqeC':
ilqeC.nc:36: syntax error before `NeighborTable'
ilqeC.nc: In function `initNeighbor':
ilqeC.nc:65: `NeighborTable' undeclared (first use in this function)
ilqeC.nc:65: (Each undeclared identifier is reported only once
ilqeC.nc:65: for each function it appears in.)
ilqeC.nc:65: subscripted value is neither array nor pointer
ilqeC.nc:66: subscripted value is neither array nor pointer
ilqeC.nc:67: subscripted value is neither array nor pointer
ilqeC.nc:68: subscripted value is neither array nor pointer
ilqeC.nc:70: subscripted value is neither array nor pointer
ilqeC.nc:71: subscripted value is neither array nor pointer
ilqeC.nc: In function `initNeighbor2':
ilqeC.nc:77: `NeighborTable' undeclared (first use in this function)
ilqeC.nc:77: subscripted value is neither array nor pointer
ilqeC.nc:78: subscripted value is neither array nor pointer
ilqeC.nc: In function `computelinkquality':
ilqeC.nc:86: implicit declaration of function `printf'
ilqeC.nc:86: implicit declaration of function `sim_time_string'
ilqeC.nc:89: `NeighborTable' undeclared (first use in this function)
ilqeC.nc:89: subscripted value is neither array nor pointer
ilqeC.nc:89: subscripted value is neither array nor pointer
ilqeC.nc:93: subscripted value is neither array nor pointer
ilqeC.nc:93: subscripted value is neither array nor pointer
ilqeC.nc:93: subscripted value is neither array nor pointer
ilqeC.nc:97: subscripted value is neither array nor pointer
ilqeC.nc:98: subscripted value is neither array nor pointer
ilqeC.nc:100: subscripted value is neither array nor pointer
ilqeC.nc:100: subscripted value is neither array nor pointer
ilqeC.nc:101: subscripted value is neither array nor pointer
ilqeC.nc:105: subscripted value is neither array nor pointer
ilqeC.nc:106: subscripted value is neither array nor pointer
ilqeC.nc:107: subscripted value is neither array nor pointer
ilqeC.nc:110: subscripted value is neither array nor pointer
ilqeC.nc:117: subscripted value is neither array nor pointer
ilqeC.nc:118: subscripted value is neither array nor pointer
ilqeC.nc:123: subscripted value is neither array nor pointer
ilqeC.nc:123: subscripted value is neither array nor pointer
ilqeC.nc:137: subscripted value is neither array nor pointer
ilqeC.nc:138: subscripted value is neither array nor pointer
ilqeC.nc:140: subscripted value is neither array nor pointer
ilqeC.nc:140: subscripted value is neither array nor pointer
ilqeC.nc:141: subscripted value is neither array nor pointer
ilqeC.nc: In function `updatelinkmetric':
ilqeC.nc:152: `NeighborTable' undeclared (first use in this function)
ilqeC.nc:152: subscripted value is neither array nor pointer
ilqeC.nc:153: subscripted value is neither array nor pointer
ilqeC.nc:155: subscripted value is neither array nor pointer
ilqeC.nc:158: subscripted value is neither array nor pointer
ilqeC.nc:159: subscripted value is neither array nor pointer
ilqeC.nc:160: subscripted value is neither array nor pointer
ilqeC.nc:160: wrong type argument to increment
ilqeC.nc:161: subscripted value is neither array nor pointer
ilqeC.nc:162: subscripted value is neither array nor pointer
ilqeC.nc:163: subscripted value is neither array nor pointer
ilqeC.nc:164: subscripted value is neither array nor pointer
ilqeC.nc:165: subscripted value is neither array nor pointer
ilqeC.nc:165: subscripted value is neither array nor pointer
ilqeC.nc:165: subscripted value is neither array nor pointer
ilqeC.nc:166: subscripted value is neither array nor 

[Tinyos-help] Help needed regarding computation time calculation in Microseconds for Atmega128 Processor

2011-03-15 Thread Sobit Thapa
I am using Timer3 as code posted below. I call startCounting() before a task
executes and I call stopCounting after task executes.

But, I am getting variable result. Is there any mistake in my code or
somebody can provide code performing similar job.

#include printf.h

uint16_t coarseValues;
uint16_t fineValues;
uint16_t COARSECOMPARE = 0x7FFF;
uint16_t fineOffset = 0x000E;
uint16_t coarseOffset = 0x0021;
uint16_t coarseWasCalled = 0;

module ClockCount
{
   provides
   {
  interface TaskCount as TC;
   }

   uses interface HplAtm128Compareuint16_t;
}

implementation
{

   async event void HplAtm128Compare.fired()
   {
  TCCR3B = 0x00;
  atomic coarseWasCalled++;
  atomic coarseValues++;
  TCNT3 = 0x; //Counter3 clear
  TCCR3B = 0x09;
   }

   async command void TC.startCounting()
   {
  atomic coarseValues = 0;
  atomic fineValues = 0;

  //Actual Timer/Counter
  TCNT3 = 0x;

  //Set counter clear on match (Couter Control Registers)
  TCCR3A = 0x80;
  TCCR3B = 0x09;
  //Interupt mask set (Extended Timer Interrupt Mask Register)
  ETIMSK = 0x10;

  //Compare values (Output Compare Register)
  OCR3A = COARSECOMPARE;

   }

   void calculateFine()
   {
  uint16_t callOffset = (coarseWasCalled * coarseOffset)/COARSECOMPARE;
  //Was Commented
  atomic coarseValues = coarseValues + callOffset;

  if (coarseWasCalled)
  {
 atomic fineValues = TCNT3 - coarseOffset;
 atomic coarseWasCalled = 0;
  }
  else
  {
 //there is a 13 overhead on running the counter
 atomic fineValues = TCNT3 - fineOffset;
  }
   }

   async command void TC.stopCounting()
   {
  TCCR3B = 0x00;
  calculateFine();
   }

   command unsigned int TC.getCoarseValue() {atomic return coarseValues;}
   command unsigned int TC.getFineValue() {atomic return fineValues; }

   command void TC.setCoarseCompare(uint16_t newCompare)
   {
 COARSECOMPARE = newCompare;
 OCR3A = newCompare;
   }

   command void TC.setFineOffset(uint16_t off)
   {
  atomic fineOffset = off;
   }

   command void TC.setCoarseOffset(uint16_t off)
   {
  atomic coarseOffset = off;
   }

   command void TC.sendValuesToScreen()
   {
  printf(Fine Value is %u:\n, fineValues);
  printf(Coarse Value is %u:\n, coarseValues);
  printfflush();
   }
}
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Help needed Mote to Pc Communication

2011-02-10 Thread lulu cheng

hi i'm new to tinyos and i was looking @ lesson four so that i can learn to 
pass parameter on demand by writing a C file that will be able to pass the 
inputs from the user to the App for the tinyos to process.
I would greatly appreciate a simple example on how the parameters are passed in 
the c file and how the connection is established.

thanks in advance for looking at my problem 
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Help needed Mote to Pc Communication

2011-02-10 Thread Sergio Valcarcel
Hi Lulu,

I assume you are familiar with MIG. If it is not the case you should
have a look at:

http://www.tinyos.net/tinyos-1.x/doc/nesc/mig.html
http://docs.tinyos.net/index.php/Mote-PC_serial_communication_and_SerialForwarder
http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson6.html

I usually use Java, so I can not help you that much with the automatic
functions generated by C. But I imagine that the mechanics may be
familiar.

In Java, a new class is automatically generated that includes both the
corresponding methods for setting or getting each of the parameters of
the struct that you are using as message.

For instance, in your AMSender and AMReceiver you could use the
channel AM_FROMANDTOPCMSG, which must be a valid constant likely
defined inside an enum in your header. In the same header you may have
the corresponding message type for this channel (e.g. something like
typedef struct FromAndToPcMSG {
int8_t values [10];
uint16_t command
} FromAndToPcMSG;

Now, using MIG you create the Java class with the methods
(set_values_element, get_values_element, set_command and get_command)
that will be called inside your JAVA program. After MIG just compile
your JAVA program and run it in the corresponding serial port.

Cheers!!!
Sergio

2011/2/10 lulu cheng lulu66_...@hotmail.com:
 hi i'm new to tinyos and i was looking @ lesson four so that i can learn to
 pass parameter on demand by writing a C file that will be able to pass the
 inputs from the user to the App for the tinyos to process.
 I would greatly appreciate a simple example on how the parameters are passed
 in the c file and how the connection is established.

 thanks in advance for looking at my problem 

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] help needed with UartByte

2010-11-24 Thread Kosti Lepojärvi
Hello.


I'm using Zolertia Z1 mote and my goal is to use UART0-port to read values
from external frequency converter with modbus. (there's MAX232 -circuit
connected to UART-port and after that RS-232/485 converter, which connects
to external frequency converter.
However, I'm confused with how to configure Uart speed parity and so on..

with my *C.nc -file I declare (only relevant parts mentioned)

uses interface UartStream as Uart;
uses interface UartByte as Byte;

and with *AppC.nc -file there is

components new Msp430Uart0C() as Uart;
components new Msp430Uart0C() as Byte;
components PlatformSerial() as Plat;
App.Uart - Uart;
App.Byte - Byte;


I've implemented all the events UartByte and stream require, but I'm not
able to
configure serial connection speed etc. and because of that I can't get
connection working
I tried to use Msp430UartConfigure -interface as well, but it always ended
up with compiling mistakes.

Also I wonder, what's the purpose of UartControl -interface, since it's not
mentioned often at the forum...

best regards
Kosti
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Help needed: Unable to run MViz with TOSSIM

2010-07-26 Thread Hindol Adhya
Is there a way to actually run *MViz* with TOSSIM simulated mote network?
In TinyOS ver. 1, simulation builds are made using - *make pc*, but this
has changed is TinyOS ver. 2. I have found a few guides that describe how to
use tossim-serial in TinyOS ver. 1. How do I make TOSSIM create a simulated
serial port? Can anyone please provide me with a thorough guide?
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Help Needed (Urgent) : How to restart the Counter after overflow?

2010-05-04 Thread Kartik Siddhabathula
Hi All,

I am using a counter interface which stops after overflow. I want it to run 
after the overflow, so how to do it? There are commands and events for overflow 
but how to make it run is what I am unable to do!

Thanks in advance,
Kartik





  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] help needed on simulating Deluge on TOSSIM

2010-04-28 Thread rui zhang
Spam detection software, running on the system mail.Millennium.Berkeley.EDU, 
has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  Hi, I am a novice to tinyos. Currently I need simulate Deluge
   on TOSSIM. I am using Tinyos 2.0.2. Currently make micaz in 
apps/test/deluge/GlodenImage
   is successful, but make micaz sim produces a lot of error. Below are just
   the last few lines of the compilation results. [...] 

Content analysis details:   (3.6 points, 3.3 required)

 pts rule name  description
 -- --
 3.2 FH_DATE_PAST_20XX  The date is grossly in the future.
 0.0 WEIRD_PORT URI: Uses non-standard port number for HTTP
 0.0 HTML_MESSAGE   BODY: HTML included in message
-0.7 BAYES_20   BODY: Bayesian spam probability is 5 to 20%
[score: 0.1165]
 1.1 DNS_FROM_OPENWHOIS RBL: Envelope sender listed in bl.open-whois.org.

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.

---BeginMessage---
Hi,

 I am a novice to tinyos. Currently I need simulate Deluge on TOSSIM. I
am using Tinyos 2.0.2.
 Currently  make micaz in apps/test/deluge/GlodenImage is successful,
but make micaz sim produces a lot of error. Below are just the last few
lines of the compilation results.

/opt/tinyos-2.x/tos/lib/net/Deluge/extra/micaz/TOSBoot_platform.h:39:
`SPM_PAGES
IZE' undeclared here (not in a function)
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/micaz/TOSBoot_platform.h:39:
enumerator
 value for `TOSBOOT_INT_PAGE_SIZE' not integer constant
In file included from
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/avr/InternalFlash
C.nc:31:
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/micaz/InternalFlash.h:39:24: error:
avr
/eeprom.h: No such file or directory
In file included from
/opt/tinyos-2.x/tos/lib/net/Deluge/FlashVolumeManager/Flas
hVolumeManagerC.nc:61,
 from /opt/tinyos-2.x/tos/lib/net/Deluge/DelugeC.nc:41,
 from GoldenImageC.nc:31:
In component `NetProgC':
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgC.nc:43: failed to
preprocess /o
pt/tinyos-2.x/tos/lib/net/Deluge/extra/avr/InternalFlashC.nc
In file included from
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgC.nc:44,
 from
/opt/tinyos-2.x/tos/lib/net/Deluge/FlashVolumeManager/Flas
hVolumeManagerC.nc:61,
 from /opt/tinyos-2.x/tos/lib/net/Deluge/DelugeC.nc:41,
 from GoldenImageC.nc:31:
In component `NetProgM':
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgM.nc:45: interface
CC2420Config
not found
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgM.nc: In function
`Init.init':
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgM.nc:88: interface has no
comman
d or event named `setShortAddr'
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgM.nc:89: interface has no
comman
d or event named `sync'
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgM.nc: In function
`NetProg.progr
amImgAndReboot':
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgM.nc:116: interface has no
comma
nd or event named `getPhysicalAddress'
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgM.nc:116: subscripted value
is n
either array nor pointer
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgM.nc: At top level:
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgM.nc:136: `syncDone' is not
in i
nterface `CC2420Config'
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgM.nc:138: syntax error
before `D
elugeStorage'
In file included from
/opt/tinyos-2.x/tos/lib/net/Deluge/FlashVolumeManager/Flas
hVolumeManagerC.nc:61,
 from /opt/tinyos-2.x/tos/lib/net/Deluge/DelugeC.nc:41,
 from GoldenImageC.nc:31:
In component `NetProgC':
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgC.nc:58: component
CC2420Control
P not found
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgC.nc:52: no match
/opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgC.nc:59: no match
In component `FlashVolumeManagerC':
/opt/tinyos-2.x/tos/lib/net/Deluge/FlashVolumeManager/FlashVolumeManagerC.nc:52:
 cannot find `BlockRead'
/opt/tinyos-2.x/tos/lib/net/Deluge/FlashVolumeManager/FlashVolumeManagerC.nc:53:
 cannot find `BlockWrite'
/opt/tinyos-2.x/tos/lib/net/Deluge/FlashVolumeManager/FlashVolumeManagerC.nc:54:
 cannot find `BlockRead'
/opt/tinyos-2.x/tos/lib/net/Deluge/FlashVolumeManager/FlashVolumeManagerC.nc:55:
 cannot find `BlockWrite'
/opt/tinyos-2.x/tos/lib/net/Deluge/FlashVolumeManager/FlashVolumeManagerC.nc:56:
 cannot find `SerialAMSender'

[Tinyos-help] Help needed for TOSSIM Error

2009-06-23 Thread bharat naik
Hi,

I read almost every post on complation error related to Blink and have
still not come up with a correct solution. Could someone enlighten me on the
problem I'm facing. Even 'why', the problem is occurring will be greatly
helpful. I think it has to do with setting the PFLAGS, but I'm not sure what
to set it to, especially for the errors related to the interfaces.

Here's the output of ncc -v:
/usr/bin/nescc -DPLATFORM_MICA -fnesc-include=tos -topdir=/opt/tinyos-1.x -v
-gcc=avr-gcc -mmcu=atmega103 -fnesc-target=avr -fnesc-no-debug
-I/opt/tinyos-1.x/tos/lib/Flash -I/opt/tinyos-1.x/tos/lib/Flash/AT45DB
-I/opt/tinyos-1.x/tos/platform/mica -I/opt/tinyos-1.x/tos/platform/avrmote
-I/opt/tinyos-1.x/tos/interfaces -I/opt/tinyos-1.x/tos/types
-I/opt/tinyos-1.x/tos/system
avr-gcc -specs=/usr/lib/ncc/tdspecs -DPLATFORM_MICA -_fnesc-include=tos -v
-mmcu=atmega103 -_fnesc-target=avr -_fnesc-no-debug
-I/opt/tinyos-1.x/tos/lib/Flash -I/opt/tinyos-1.x/tos/lib/Flash/AT45DB
-I/opt/tinyos-1.x/tos/platform/mica -I/opt/tinyos-1.x/tos/platform/avrmote
-I/opt/tinyos-1.x/tos/interfaces -I/opt/tinyos-1.x/tos/types
-I/opt/tinyos-1.x/tos/system -DNESC=112
Reading specs from /usr/local/lib/gcc-lib/avr/3.3-tinyos/specs
Reading specs from /usr/lib/ncc/tdspecs
Configured with: ./configure --target=avr --disable-nls
Thread model: single
gcc version 3.3-tinyos

To reiterate, string.h, stdio.h,etc are present in : /usr/local/avr/include.
However, when i tried 'locate pthread.h', it came up with nothing.

The output of make pc is:

In file included from /opt/tinyos-1.x/tos/platform/pc/nido.h:77:
/opt/tinyos-1.x/tos/platform/pc/event_queue.h:61:21: error: pthread.h: No
such file or directory
/opt/tinyos-1.x/tos/platform/pc/nido.h:85:22: error: sys/time.h: No such
file or directory
/opt/tinyos-1.x/tos/platform/pc/Nido.nc:44: failed to preprocess
/opt/tinyos-1.x/tos/platform/pc/nido.h
In file included from /opt/tinyos-1.x/tos/platform/pc/Nido.nc:48:
/opt/tinyos-1.x/tos/interfaces/ReceiveMsg.nc:75: only commands and events
can be defined in interfaces
/opt/tinyos-1.x/tos/interfaces/ReceiveMsg.nc:75: warning: return-type
defaults to `int'
/opt/tinyos-1.x/tos/interfaces/ReceiveMsg.nc:75: parse error before
`receive'
In file included from /opt/tinyos-1.x/tos/platform/pc/Nido.nc:49:
/opt/tinyos-1.x/tos/interfaces/BareSendMsg.nc:58: only commands and events
can be defined in interfaces
/opt/tinyos-1.x/tos/interfaces/BareSendMsg.nc:58: warning: return-type
defaults to `int'
/opt/tinyos-1.x/tos/interfaces/BareSendMsg.nc:58: parse error before `send'
/opt/tinyos-1.x/tos/interfaces/BareSendMsg.nc:67: only commands and events
can be defined in interfaces
/opt/tinyos-1.x/tos/interfaces/BareSendMsg.nc:67: warning: return-type
defaults to `int'
/opt/tinyos-1.x/tos/interfaces/BareSendMsg.nc:67: redefinition of `result_t'
/opt/tinyos-1.x/tos/interfaces/BareSendMsg.nc:67: parse error before
`sendDone'
In file included from /opt/tinyos-1.x/tos/platform/pc/Nido.nc:53:
/opt/tinyos-1.x/tos/interfaces/Pot.nc:78: only commands and events can be
defined in interfaces
/opt/tinyos-1.x/tos/interfaces/Pot.nc:78: warning: return-type defaults to
`int'
/opt/tinyos-1.x/tos/interfaces/Pot.nc:78: parse error before `init'
/opt/tinyos-1.x/tos/interfaces/Pot.nc:87: only commands and events can be
defined in interfaces
/opt/tinyos-1.x/tos/interfaces/Pot.nc:87: warning: return-type defaults to
`int'
/opt/tinyos-1.x/tos/interfaces/Pot.nc:87: redefinition of `result_t'
/opt/tinyos-1.x/tos/interfaces/Pot.nc:87: parse error before `set'
/opt/tinyos-1.x/tos/interfaces/Pot.nc:96: only commands and events can be
defined in interfaces
/opt/tinyos-1.x/tos/interfaces/Pot.nc:96: warning: return-type defaults to
`int'
/opt/tinyos-1.x/tos/interfaces/Pot.nc:96: redefinition of `result_t'
/opt/tinyos-1.x/tos/interfaces/Pot.nc:96: parse error before `increase'
/opt/tinyos-1.x/tos/interfaces/Pot.nc:105: only commands and events can be
defined in interfaces
/opt/tinyos-1.x/tos/interfaces/Pot.nc:105: warning: return-type defaults to
`int'
/opt/tinyos-1.x/tos/interfaces/Pot.nc:105: redefinition of `result_t'
/opt/tinyos-1.x/tos/interfaces/Pot.nc:105: parse error before `decrease'
/opt/tinyos-1.x/tos/interfaces/Pot.nc:112: only commands and events can be
defined in interfaces
/opt/tinyos-1.x/tos/interfaces/Pot.nc:112: warning: return-type defaults to
`int'
/opt/tinyos-1.x/tos/interfaces/Pot.nc:112: parse error before `get'
In file included from /opt/tinyos-1.x/tos/platform/pc/Nido.nc:54:
/opt/tinyos-1.x/tos/platform/pc/PowerState.nc:14: only commands and events
can be defined in interfaces
/opt/tinyos-1.x/tos/platform/pc/PowerState.nc:14: warning: return-type
defaults to `int'
/opt/tinyos-1.x/tos/platform/pc/PowerState.nc:14: parse error before `init'
/opt/tinyos-1.x/tos/platform/pc/PowerState.nc:18: only commands and events
can be defined in interfaces
/opt/tinyos-1.x/tos/platform/pc/PowerState.nc:18: warning: return-type
defaults to `int'

Re: [Tinyos-help] Help needed

2009-04-23 Thread shirish
My problem is solved, and for future when ever some one gets this problem ,
go to /localization/Makefile and in the place where you find Makerules,
replace that with MakeCalamari...
But again after doing that i am facing one more problem when i do make pc i
receive an error
In component `CalamariSetRangingCmdC':
build/CalamariSetRangingCmdC.nc:20: cannot find `CommandHood_private'
build/CalamariSetRangingCmdC.nc:21: cannot find `NeighborhoodComm'
build/CalamariSetRangingCmdC.nc:22: cannot find `NeighborhoodComm'
make: *** [exe0] Error 1

Need help again..

On Thu, Apr 23, 2009 at 1:51 AM, shirish shirishredd...@gmail.com wrote:

 Hi every one,

 I am new to this mailing list and I am doing a project on localization i
 found out about calamari, i get lots of errors in trying to do so can any
 one please help me, I am running this on xubuntos 2.0, i have set up the
 environment to tinyos 1.x when i go to calamari/localilzation and do make pc
 first i got the error makerules not found, i copied the makerules from the
 apps directory to the calamari directory and it seemed to work but i get
 errors.

 Thanks in advance, looking forward for a reply :)

 sincerely
 shirish.


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] help needed on uint64_t type

2009-02-06 Thread BAI LI
Hi,

Thanks for your solution. It is a method. But when you use UNION structure,
every time you only can store one varialbe in that UNION structure. You have
to overwrite that memory address Which made it a bit inconvenience. BUt it
is a good method when you break a 64 bits message into two 32 bits messages
though. Thanks. :)

Regards,
Bai
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] help needed on uint64_t type

2009-02-05 Thread BAI LI
Hi All,

I just tested it. I guess prinf couldn't print 64 bits variables but low 32
btis instead. By moving the  variable 32 bits left, it can print the high 32
bits. such as a32. it made the debugging work a bit harder but still ok.
Anyone kowns how to print the whole variable instead breaking it into two
parts. Let me know. Thanks.

Regards,
Bai

On Thu, Feb 5, 2009 at 5:56 PM, kiseop Lee aco...@gmail.com wrote:

 Hi,
 This is tested in Visual C++ in the Windows. but I don't know it in tinyos
 compiler.
 Only refer to your work...

  char sql[100];

 __int64 var1=0x12345678ABCDABCD;
  sprintf(sql,%I64x,var1);   //not L. Upper case of i[ai]...
 sprintf(sql,%I64d,var1);

 Best regards,
 K.S.Lee

  2009/2/5 BAI LI libai0...@gmail.com

 Hi All,

 I have defined a uint64_t type variable as follows:

 uint64_t a;
 a=0x;
 printf(a= %lld /n,a);
 printf(a= %llx /n,a);

 the result displayed as follows:

 a= -1
 a= 

 The compilation didn't show any error. What is the problem? Does printf
 support to display the uint64_t type? Any help would be appreciated!

 Regards,
 Bai


 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] help needed on uint64_t type

2009-02-05 Thread BAI LI
Hi Andrey,

I just tested it. it didn't work though. What the flag you used in printf?
Is that llx? Right? It still displayed low 32 bits. Confusing.

Regards,
Bai

On Fri, Feb 6, 2009 at 3:27 AM, Andrey Gursky andrey.gur...@online.uawrote:

 Bai, you should explicit write ULL at the end of the such big number
 (tested in C):
 a=0xULL;

 Best wishes,
 Andrey

  Hi All,

 I have defined a uint64_t type variable as follows:

 uint64_t a;
 a=0x;
 printf(a= %lld /n,a);
 printf(a= %llx /n,a);

 the result displayed as follows:

 a= -1
 a= 

 The compilation didn't show any error. What is the problem? Does printf
 support to display the uint64_t type? Any help would be appreciated!

 Regards,
 Bai



___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] help needed on uint64_t type

2009-02-05 Thread Eric Decker
I don't think the tinyos printf handles 64 bit objects.

eric


On Thu, Feb 5, 2009 at 1:32 PM, BAI LI libai0...@gmail.com wrote:

 Hi All,

 I just tested it. I guess prinf couldn't print 64 bits variables but low 32
 btis instead. By moving the  variable 32 bits left, it can print the high 32
 bits. such as a32. it made the debugging work a bit harder but still ok.
 Anyone kowns how to print the whole variable instead breaking it into two
 parts. Let me know. Thanks.

 Regards,
 Bai

 On Thu, Feb 5, 2009 at 5:56 PM, kiseop Lee aco...@gmail.com wrote:

 Hi,
 This is tested in Visual C++ in the Windows. but I don't know it in tinyos
 compiler.
 Only refer to your work...

  char sql[100];

 __int64 var1=0x12345678ABCDABCD;
  sprintf(sql,%I64x,var1);   //not L. Upper case of i[ai]...
 sprintf(sql,%I64d,var1);

 Best regards,
 K.S.Lee

  2009/2/5 BAI LI libai0...@gmail.com

 Hi All,

 I have defined a uint64_t type variable as follows:

 uint64_t a;
 a=0x;
 printf(a= %lld /n,a);
 printf(a= %llx /n,a);

 the result displayed as follows:

 a= -1
 a= 

 The compilation didn't show any error. What is the problem? Does printf
 support to display the uint64_t type? Any help would be appreciated!

 Regards,
 Bai


 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




-- 
Eric B. Decker
Senior (over 50 :-) Researcher
Autonomous Systems Lab
Jack Baskin School of Engineering
UCSC
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] help needed on uint64_t type

2009-02-05 Thread Andrey Gursky
Hi Bai!  I've tried it only in pure C (not nesC) with %lld and %llx.Regards,Andrey  Hi Andrey,  I just tested it. it didn't work though. What the flag you used in printf? Is that llx? Right? It still displayed low 32 bits. Confusing.  Regards, Bai On Fri, Feb 6, 2009 at 3:27 AM, Andrey Gursky andrey.gur...@online.ua wrote: Bai, you should explicit write ULL at the end of the such big number (tested in C):a=0xULL; Best wishes,Andrey  Hi All,  I have defined a uint64_t type variable as follows:  uint64_t a; a=0x; printf("a= %lld /n",a); printf("a= %llx /n",a);  the result displayed as follows:  a= -1 a=   The compilation didn't show any error. What is the problem? Does printf support to display the uint64_t type? Any help would be appreciated!   Regards,Bai   
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] help needed on uint64_t type

2009-02-05 Thread ivi610
Hello
i had the same problem with uint64_t on zigbit modules which include an 
atmega1281 mcu.
i did it with an union :
something like that just check the union type in c language!
union {

uint32 a[2];
uint64 a64;
} aunion;

print( a[0])
print(a[1])

something like that sould work.
it's pseudo code but it did it for me in C.

 Cyril





De : tinyos-help-requ...@millennium.berkeley.edu 
tinyos-help-requ...@millennium.berkeley.edu
À : tinyos-help@millennium.berkeley.edu
Envoyé le : Vendredi, 6 Février 2009, 0h51mn 13s
Objet : Tinyos-help Digest, Vol 70, Issue 12

Send Tinyos-help mailing list submissions to
tinyos-help@millennium.berkeley.edu

To subscribe or unsubscribe via the World Wide Web, visit
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

or, via email, send a message with subject or body 'help' to
tinyos-help-requ...@millennium.berkeley.edu

You can reach the person managing the list at
tinyos-help-ow...@millennium.berkeley.edu

When replying, please edit your Subject line so it is more specific
than Re: Contents of Tinyos-help digest...


Today's Topics:

   1. Deluge T2 dissemination problem on XubunTOS-2.1.0
  (Mehmet Akif Antepli)
   2. Re: help needed on uint64_t type (BAI LI)
   3. Re: help needed on uint64_t type (BAI LI)
   4. Re: help needed on uint64_t type (Eric Decker)
   5. tossim acknowledgement when TOS_NODE_ID is differentfrom AM
  address (Jung Woo Lee)
   6. Re: tossim acknowledgement when TOS_NODE_ID isdifferent from
  AM address (Philip Levis)
   7. Mote-PC serial communication and SerialForwarder (Andrew C. Jung)


--

Message: 1
Date: Thu, 5 Feb 2009 22:55:00 +0200
From: Mehmet Akif Antepli akifante...@gmail.com
Subject: [Tinyos-help] Deluge T2 dissemination problem on
XubunTOS-2.1.0
To: tinyos help tinyos-help@millennium.berkeley.edu
Message-ID:
f7db91190902051255y55edbdc7rccda4ff5c0248...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1

Hi,

Could anybody help me with the following? I got stuck with the
dissemination problem below!


I am working on XubunTOS-2.1 and using two motes; one is a MICAz and
the other is a TelosB mote.

I am using MICAz as base-station and trying to program TelosB using
Deluge T2 with the following steps:

1-) In order to load GoldenImage into MICAz, I use the following
command on the console opened in the GoldenImage directory;

CFLAGS+=DDELUGE_BASESTATION make micaz install,0 mib520,/dev/ttyUSB0

2-)  Then I load GoldenImage into TelosB, also. I use the following
command on the console opened in the GoldenImage directory;

CFLAGS+=DDELUGE_LIGHT_BASESTATION make telosb install,1 bsl,/dev/ttyUSB2

3-) After loading GoldenImage to both motes, I build
/opt/tinyos-2.1.0/apps/tests/deluge/Blink application for Telosb
whom I will insert into MICAz's flash and try to disseminate it
so that I hope I would reboot TelosB with that Blink image. I use the
following command on the console opened in the Blink directory;

make telosb

3-) Then, I load Blink application image (build for TelosB) as 1st
image into MICAz's flash with the following command;

tos-deluge /dev/ttyUSB1 micaz -i 1
/opt/tinyos-2.1.0/apps/tests/deluge/Blink/build/telosb/tos_image.xml

4-) Then I ping MICAz base-station with the following command;

tos-deluge /dev/ttyUSB1 micaz -p 1

and i see that MICAz is loaded with  GoldenImage and Blink application
image is on its flash as the 1st image.

Also pinging TelosB with tos-deluge /dev/ttyUSB2 telosb -p 0 command
shows that GoldenImage is loaded.

Therefore, upto now, all the steps work. However, the problem is in
the last step!

5-) Finally, I try to disseminate Blink image and reboot telosB. I run
the following two commands;

tos-deluge /dev/ttyUSB1 micaz -d 1
tos-deluge /dev/ttyUSB1 micaz -dr 1

For both command, it got the following message,

Command is sent

Then, I assume that dissemination is finished and TelosB would reboot
itself. However, nothing happens on TelosB (It does not blink!)

Then, I ping TelosB and see nothing more than GoldenImage! Disseminate
does not work. Blink application image did not loaded to TelosB

I couldn't figure out the wrong thing here.

Any suggestions?

Thanks in advence,

Mehmet Akif Antepli
Graduate Student
Dept. of Electrical-Electronics Eng.
METU


--

Message: 2
Date: Fri, 6 Feb 2009 07:32:18 +1000
From: BAI LI libai0...@gmail.com
Subject: Re: [Tinyos-help] help needed on uint64_t type
To: kiseop Lee aco...@gmail.com
Cc: Tinyos-Help tinyos-help@millennium.berkeley.edu
Message-ID:
1254364b0902051332q63b3d89au924f312c9f4a2...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

Hi All,

I just tested it. I guess prinf couldn't print 64 bits variables but low 32
btis instead. By moving the  variable 32 bits left, it can print the high 32
bits. such as a32. it made the debugging work

[Tinyos-help] help needed on uint64_t type

2009-02-04 Thread BAI LI
Hi All,

I have defined a uint64_t type variable as follows:

uint64_t a;
a=0x;
printf(a= %lld /n,a);
printf(a= %llx /n,a);

the result displayed as follows:

a= -1
a= 

The compilation didn't show any error. What is the problem? Does printf
support to display the uint64_t type? Any help would be appreciated!

Regards,
Bai
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] help needed on uint64_t type

2009-02-04 Thread kiseop Lee
Hi,
This is tested in Visual C++ in the Windows. but I don't know it in tinyos
compiler.
Only refer to your work...

char sql[100];

__int64 var1=0x12345678ABCDABCD;
 sprintf(sql,%I64x,var1);   //not L. Upper case of i[ai]...
sprintf(sql,%I64d,var1);

Best regards,
K.S.Lee

2009/2/5 BAI LI libai0...@gmail.com

 Hi All,

 I have defined a uint64_t type variable as follows:

 uint64_t a;
 a=0x;
 printf(a= %lld /n,a);
 printf(a= %llx /n,a);

 the result displayed as follows:

 a= -1
 a= 

 The compilation didn't show any error. What is the problem? Does printf
 support to display the uint64_t type? Any help would be appreciated!

 Regards,
 Bai


 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] help needed

2009-02-01 Thread mahendra nimishakavi
I have installed tinyos-1.x and trying to build a simulation for an example
using* make micaz sim.
 *But nothing seems to work. The following error occurs:

Blink.nc:42: component Main not found
In file included from Blink.nc:42:
In component `BlinkM':
BlinkM.nc:41: too few arguments to interface `Timer'
In file included from Blink.nc:42:
BlinkM.nc:52: syntax error before `StdControl'
In file included from Blink.nc:42:
In component `SingleTimer':
SingleTimer.nc:47: too few arguments to interface `Timer'
SingleTimer.nc:52: component TimerC not found
SingleTimer.nc:54: cannot find `Timer'
SingleTimer.nc:55: no match
In component `Blink':
Blink.nc:43: cannot find `StdControl'
Blink.nc:44: cannot find `StdControl'
Blink.nc:45: cannot find `Timer'
Blink.nc:46: cannot find `Leds'
make: *** [sim-exe] Error 1

Please help me with this. Thanks in advance.

N.Mahendra.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] help needed in Blink

2009-01-31 Thread Razvan Musaloiu-E.
Hi!

On Sat, 31 Jan 2009, mahendra nimishakavi wrote:

 Hello iam very new to TinyOS. I have been struggling to run the Blink
 application. I have used tinyos-1.x and tinyos-2.x. But did not work. Please
 help me. I work on Ubuntu-8.04 system.


Can you give some more details about the error you get?

A good starting point in getting a tinyos-2.x to work are the 
'Getting started' section from wiki:
http://docs.tinyos.net/index.php/Getting_started#Installing_TinyOS_2.1

--
Razvan ME
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Help needed regarding tmote and telosb.

2008-08-15 Thread MITTAL,ASHISH

I am working on a sensor networks project where the nodes measure 
wind pressures during hurricanes. I have a board which has a 
pressure sensor and other conditioning stuff to amplify that 
signal. I use this voltage from the board and put it on the ADC of 
the tmote. I sample this ADC from tmote to transmit data to the 
receiver.

Now since tmote has been discontinued I have ordered telosb from 
crossbow technologies. I was wondering if I could burn the same 
code on them without any changes (except for specifying the target 
for burning as telosb instead of tmote). I tried it and am getting 
some warnings saying atomic reads and writes or something. The 
packet size does not change even on changing the Oscope.h file (I 
used the Oscilloscope and modified it a bit for my ADC sampling). 
Can anyone help please?

--
MITTAL,ASHISH

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Help needed regarding tmote and telosb.

2008-08-15 Thread Eric Keller
I don't see why you weren't getting a warning about atomic reads
if there were non-atomic reads in the code.  Maybe they were hidden by
the previous build settings?  It's not the end of the world to have
non-atomic reads, although you should probably fix those.

As far as the message length, did you try a make clean?
You will also have to rebuild the java code.

I have been using telosb code with my tmotes under Tos2 without
problems.


Eric


On Fri, Aug 15, 2008 at 2:16 PM, MITTAL,ASHISH [EMAIL PROTECTED] wrote:

 I am working on a sensor networks project where the nodes measure
 wind pressures during hurricanes. I have a board which has a
 pressure sensor and other conditioning stuff to amplify that
 signal. I use this voltage from the board and put it on the ADC of
 the tmote. I sample this ADC from tmote to transmit data to the
 receiver.

 Now since tmote has been discontinued I have ordered telosb from
 crossbow technologies. I was wondering if I could burn the same
 code on them without any changes (except for specifying the target
 for burning as telosb instead of tmote). I tried it and am getting
 some warnings saying atomic reads and writes or something. The
 packet size does not change even on changing the Oscope.h file (I
 used the Oscilloscope and modified it a bit for my ADC sampling).
 Can anyone help please?

 --
 MITTAL,ASHISH

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Help Needed [Collision of Packets]

2008-07-20 Thread Qasim Mansoor
Hello,
I am trying to see the behaviour of packets after collisions.I am sending
packets from two motes A and B at the same time by synchronizing them and
receiving them at third mote C[connected to PC via serial].I have also
disabled the CRC and CSMA but still i am unable to see any collided packets
at the receiver.
I have tried to increase the packet size but still there were no
collisions.The problem is that either i receive packets from mote A or i
receive packets from mote B.and when i am receiving packets from one mote
say A then packets from mote B are dropped [ i have added packet sequence
numbers for that] and then after some time packets from mote B are received
and packets from mote A are dropped.
I think that the mote having high signal strength is able to deliver packet
successfully to the receiver than the one having weak signal.I am using same
motes with same distance form the receiver but still no collisions.
If anyone has an idea that whats going wrong than please help.
Thanks in Advance
Regards.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Help Needed [Collisions]

2008-07-19 Thread Qasim Mansoor
Hello,
I am trying to see the behaviour of packets after collisions.I am sending
packets from two motes A and B at the same time by synchronizing them and
receiving them at third mote C[connected to PC via serial].I have also
disabled the CRC and CSMA but still i am unable to see any collided packets
at the receiver.
I have tried to increase the packet size but still there were no
collisions.The problem is that either i receive packets from mote A or i
receive packets from mote B.and when i am receiving packets from one mote
say A then packets from mote B are dropped [ i have added packet sequence
numbers for that] and then after some time packets from mote B are received
and packets from mote A are dropped.
I think that the mote having high signal strength is able to deliver packet
successfully to the receiver than the one having weak signal.I am using same
motes with same distance form the receiver but still no collisions.
If anyone has an idea that whats going wrong than please help.
Thanks in Advance
Regards.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Help needed [collisions in TinyOS] !!!

2008-06-26 Thread Qasim Mansoor
Hello,
I am new to TinyOS environment, i am working on a project in which i
want to collide packets originating from 2 motes. I have disabled the
CSMA and CRC but still i am unable to see any collided packets.In my
case i am sending packets from two and recieve them at third mote
which is connected to pc via serial cable.The 2 originating motes seem
to be synchronized but still no collision is detected at the third
mote.If someone has an idea about the problem or has worked on it then
please help.
Thanks in Advance
Regards.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Help needed [collisions in TinyOS] !!!

2008-06-26 Thread David Valencia
Qasim,

Should check out this paper RID: Radio Interference Detection in Wireless
Sensor Networks:  http://www.cs.virginia.edu/papers/RIDPaper.pdf.

David

 Message: 3
 Date: Thu, 26 Jun 2008 20:57:32 +0500
 From: Qasim Mansoor [EMAIL PROTECTED]
 Subject: [Tinyos-help] Help needed [collisions in TinyOS] !!!
 To: tinyos-help@millennium.berkeley.edu
 Message-ID:
   [EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1

 Hello,
 I am new to TinyOS environment, i am working on a project in which i
 want to collide packets originating from 2 motes. I have disabled the
 CSMA and CRC but still i am unable to see any collided packets.In my
 case i am sending packets from two and recieve them at third mote
 which is connected to pc via serial cable.The 2 originating motes seem
 to be synchronized but still no collision is detected at the third
 mote.If someone has an idea about the problem or has worked on it then
 please help.
 Thanks in Advance
 Regards.

-- 
Development environment:  CYGWIN
Platform:  TelosB (tinyos-2.x:  cvs disribution)

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Help Needed

2008-05-21 Thread sam george
hi,
How do v get the system time in TinyOS application...

Regards,
Sam Geo
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Help Needed

2008-05-21 Thread Janos Sallai
Sam,

 

You can get the system time (it's 32-bit wide and of binary millisecond
precision) via the LocalTime interface of HilTimerMilliC.

 

Janos

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of sam
george
Sent: Wednesday, May 21, 2008 10:33 AM
To: tinyos-help@millennium.berkeley.edu
Subject: [Tinyos-help] Help Needed

 

hi,

How do v get the system time in TinyOS application...

 

Regards,

Sam Geo

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] HELP NEEDED INSTALLING AGILLA

2008-04-01 Thread sam george
We are working on fedora core 7 (linux platform) and are encountering a lot
of problems in installing agilla. We would be grateful for any step by step
installation guidelines.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] help needed... how to set up the hardware??

2007-08-25 Thread jothi jothi
Dear sir,
   
  I am a student developing a system in wirelsess sensor nodes.Recently i am 
doing some work with the crossbow products..(micaz2,MIB5100,MIB600,TMS300,,,)
   
  At first i use MIB510,usg the serial connector...i just install the micaz to 
mib 510(just fix it on the top of it,using the 51 pin..).But then i dont know 
how to install the sensor bodes onto micaz2.When i refer to the guideline which 
was in the pdf format,sensor boards have to connect/install with the 
micaz...But how?
   
  So what i did it is,i saw there is another 51 pins at another side of 
MIB510,so i just install the sensor to it...Is that correct??
   
   
  Second ,i use the the MIB600...i am having the same problem here...i dont 
know how the sensor boards have to be installed with micaz...there are housing 
provided for the sensor boardswhere the housing have battery on bottom of 
the housing...sensor boards have to installed with mote assembly board an dthen 
only placed it in the housingBut i couldnt find the mote assembly...??we 
bought the hardware as one full set...
   
   
  Sir ,can u explain in brief,how i can use the MIB600,Micaz,sensor 
boards.I really need help...since here in my college nobody have used these 
tool before..my project is basically about detecting the environmental 
changeslike temperature,humidity...now the main problem is i dont know 
about the setup of the tool...and how it works??By the way i am using Mote 
view,to collect and view data...
   
  I had been sending mails to quite number of peoples who involved in this ,but 
until now there is no reply...
   
   
  Hope that i will ger a reply...Your explaination very much appreciated
   
  Thank you...

   
-
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] help needed... how to set up the hardware??

2007-08-25 Thread Peizhao Hu

With regard to your first question:
To my understanding, MicaZ or Mica2 is battery powered. so you have 
access to the 51 Pin connector for your sensor board. The reasons you 
want to connect your Micaz/Mica2 to the MIB500 programming board are 
either you want to reprogram the TinyOS application or to use the serial 
communication just like a server/client kind communication.


Overall, I will suggest you to follow the Official TinyOS tutorials.
Thinking what you are trying to do. I will say Lesson 4 and 5 are what 
you are looking for at

http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/index.html

Enjoy :-)

regards;

Peizhao


jothi jothi wrote:

Dear sir,
 
I am a student developing a system in wirelsess sensor nodes.Recently i 
am doing some work with the crossbow 
products..(micaz2,MIB5100,MIB600,TMS300,,,)
 
At first i use MIB510,usg the serial connector...i just install the 
micaz to mib 510(just fix it on the top of it,using the 51 pin..).But 
then i dont know how to install the sensor bodes onto micaz2.When i 
refer to the guideline which was in the pdf format,sensor boards have to 
connect/install with the micaz...But how?
 
So what i did it is,i saw there is another 51 pins at another side of 
MIB510,so i just install the sensor to it...Is that correct??
 
 
Second ,i use the the MIB600...i am having the same problem here...i 
dont know how the sensor boards have to be installed with micaz...there 
are housing provided for the sensor boardswhere the housing have 
battery on bottom of the housing...sensor boards have to installed with 
mote assembly board an dthen only placed it in the housingBut i 
couldnt find the mote assembly...??we bought the hardware as one full set...
 
 
Sir ,can u explain in brief,how i can use the MIB600,Micaz,sensor 
boards.I really need help...since here in my college nobody have 
used these tool before..my project is basically about detecting the 
environmental changeslike temperature,humidity...now the main 
problem is i dont know about the setup of the tool...and how it 
works??By the way i am using Mote view,to collect and view data...
 
I had been sending mails to quite number of peoples who involved in this 
,but until now there is no reply...
 
 
Hope that i will ger a reply...Your explaination very much appreciated
 
Thank you...



Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center. 
http://us.rd.yahoo.com/evt=48246/*http://autos.yahoo.com/green_center/;_ylc=X3oDMTE5cDF2bXZzBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW4tY2VudGVy 






___
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] help needed regarding tinyviz

2006-10-26 Thread Farhana Jabeen
HelloI need help regarding testtinyviz application. I could not run the make Pc command in the apps/testtinyviz application. what steps should i follow to run the testtinyviz applicationthanksfarhana 
		Do you Yahoo!? Everyone is raving about the  all-new Yahoo! Mail.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] help needed regarding tinyviz

2006-10-26 Thread Sarfraz Nawaz
What error output are you getting?On 10/27/06, Farhana Jabeen [EMAIL PROTECTED] wrote:
HelloI need help regarding testtinyviz application. I could not run the make Pc command in the apps/testtinyviz application. what steps should i follow to run the testtinyviz applicationthanks
farhana 
		Do you Yahoo!? Everyone is raving about the 
 all-new Yahoo! Mail.
___Tinyos-help mailing listTinyos-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] help needed, problem with upgrading tinyos

2006-06-29 Thread Esmaeil Nadimi
Hi all
I have tried to upgrade my TinyOS environment from TinyOS 1.1.0
tinyos1.1.10Jan2005...) to CVS tinyos1.1.15DEC2005... but I have got
problems. What I have done was 
1) Upgrading cygwin and installing all the new packages 
2) Installing CVS snapshot in the rpm directory.
Now that I want to program the motes (Micaz) under directory
XSensorMTS300, I can't compile the program because the error happens as
follows:
Component voltage not found!
Expected component 'voltage', but got component 'HPLUARTOM'
I have also downloaded the file HPL0USART0M.nc and I copied in the
msp430 directory.
Could someone please say what I am doing wrong?
Any help will be appreciated.
Best
Esmaeil 

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


[Tinyos-help] Help Needed with Packetizer

2006-06-25 Thread bhushan bhatt
Hi all, I have modified the TOSBase and SimpleCmd to perform the opreation as i need. I am not sure where in the code is the wiring done to invoke the Serial Forwarder. I think it calls the Packetizer.JAVA file. Can anyone give me some hint as how to get the serial forwarder working for my own code Thanks in advance,Bhushan 
		Want to be your own boss? Learn how on  Yahoo! Small Business. 
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Help needed to set position for nodes in TOSSIM

2006-05-30 Thread Tao Wu
Hi everyone:
 I want to do some multiple hops simulations in TOSSIM, yet I do not know how to set nodes' position.
After make pc, run ./build/pc/main.exe -l=1 5. It
seems that by default every node can hear each other. Would you please
tell how to set nodes' position in TOSSIM and what is the transmission
range. I canot find this information in any document. Any help is
greatly appreciated. Thanks a lot in advance.

Regards,
Tao

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


[Tinyos-help] Help needed to set position for nodes in TOSSIM

2006-05-30 Thread Tao Wu
Hi everyone:
I want to do some multiple hops simulations in TOSSIM, yet I do not know how to set nodes' position.

After make pc, run ./build/pc/main.exe -l=1 5. It
seems that by default every node can hear each other. Would you please
tell how to set nodes' position in TOSSIM and what is the transmission
range. I canot find this information in any document. Any help is
greatly appreciated. Thanks a lot in advance.

Regards,
Tao



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


Re: [Tinyos-help] Help needed, urgently

2006-04-09 Thread Abid Ali Minhas
Hello Chandresh Parekh,Correct transmission frequency is important.Please try the following provided that you have not tried it already. •Users must compile in the correct base radio frequency otherwise radio communication will fail. The correct frequency is selected by modifying the line 213 in the /tos/platform/mica2/CC1000Const.h file: 
[212] #ifndef CC1K_DEF_PRESET [213] #define CC1K_DEF_PRESET (CC1K_freq_MHZ) [214] #endif Change the freq to one of the values listed in the table below that matches your motes frequency


For example, 433_002 is for a mote with radio set at 433,002,000 Hz

Please also read the manual Getting started Guide

Code in my file is as follow: #ifdef CC1K_DEFAULT_FREQ #define CC1K_DEF_FREQ (CC1K_DEFAULT_FREQ) #endif #ifdef CC1K_MANUAL_FREQ #define CC1K_DEF_FREQ (CC1K_MANUAL_FREQ) 
#endif #ifndef CC1K_DEF_PRESET #define CC1K_DEF_PRESET (CC1K_915_998_MHZ) #endifHope it will work.Regards,Abid Ali Minhas==
On 4/8/06, chandresh parekh [EMAIL PROTECTED] wrote:
Hi all,I updated my tinyos version from 1.1.7 to 1.1.15 (rpm),recently. Now, nothing seams to work. Any in built application doesn't work, which was previously working. I guess the problem is with communication part somewhere.
  Blink and CntToLeds apps work ok. But CntToRfmAndLeds - RfmToLeds don't work. TinyDB GUI appears but no data is displayed even after 10 min. of run. Trying to run   
  XSensorMDA300 gives error make[2].Any application that requires motes to communicate over radio doesn't seam to work, in short.Here is an excerpt of what happened when I tried to install CntToRfmAndLeds on one mote and then RfmToLeds on the other mote.
  [EMAIL PROTECTED] /opt/tinyos-1.x/apps/CntToLedsAndRfm$ make mica2 install,10
 mib510,COM1mkdir -p build/mica2 compiling CntToLedsAndRfm to a mica2 binaryncc -o build/mica2/main.exe -Os -I%T/lib/Counters -finline-limit=10 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2
/app.c -board=micasb -DCC1K_DEF_FREQ91670 -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\CntToLedsAndRfm\ -DIDENT_USER_ID=\Administrator\ -DIDENT_HOSTNAME=\piloo\ -DIDENT_USER_HASH=0x0a75adf5L -DIDENT_UNIX_TIME=0x44378ba9L -DIDENT_UID_HASH
=0xe6dfadf9L CntToLedsAndRfm.nc -lm compiled CntToLedsAndRfm to build/mica2/main.exe 11008 bytes in ROM 448 bytes in RAMavr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srec
avr-objcopy --output-target=ihex build/mica2/main.exe build/mica2/main.ihex
 writing TOS imageset-mote-id build/mica2/main.srec build/mica2/main.srec.out-10 10 installing mica2 binary using mib510uisp -dprog=mib510 -dserial=COM1 --wr_fuse_h=0xd8 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=build/mica2/main.srec.out-10
Firmware Version: 2.1Atmel AVR ATmega128 is found.Uploading: flash  Fuse High Byte set to 0xd8  Fuse Extended Byte set to 0xffrm -f build/mica2/main.exe.out-10 build/mica2/main.srec.out-10
 installing mica2 bootloader using mib510uisp -dprog=mib510 -dserial=COM1 --wr_fuse_h=0xd8 -dpart=ATmega128 --wr_fuse_e=ff --upload if=/opt/tinyos-1.x/tos/lib/Deluge/TOSBoot/build/mica2/main.ihexFirmware Version: 
2.1Atmel AVR ATmega128 is found.Uploading: flash  Fuse High Byte set to 0xd8  Fuse Extended Byte set to 0xff  and then.. 
   [EMAIL PROTECTED] /opt/tinyos-1.x/apps/RfmToLeds$ make mica2 install,15 mib510,COM1
mkdir -p build/mica2 compiling RfmToLeds to a mica2 binaryncc -o build/mica2/main.exe -Os -I%T/lib/Counters -finline-limit=10 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2
/app.c -board=micasb -DCC1K_DEF_FREQ91670 -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\RfmToLeds\ -DIDENT_USER_ID=\Administrator\ -DIDENT_HOSTNAME=\piloo\ -DIDENT_USER_HASH=0x0a75adf5L -DIDENT_UNIX_TIME=0x44378c29L -DIDENT_UID_HASH=0xc82
b3b11L RfmToLeds.nc -lm compiled RfmToLeds to build/mica2/main.exe 10400 bytes in ROM 390 bytes in RAMavr-objcopy --output-target=srec build/mica2/main.exe
 build/mica2/main.srecavr-objcopy --output-target=ihex build/mica2/main.exe build/mica2/main.ihex writing TOS imageset-mote-id build/mica2/main.srec build/mica2/main.srec.out-15 15 installing mica2 binary using mib510
uisp -dprog=mib510 -dserial=COM1 --wr_fuse_h=0xd8 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=build/mica2/main.srec.out-15Firmware Version: 2.1Atmel AVR ATmega128 is found.Uploading: flash
  Fuse High Byte set to 0xd8  Fuse Extended Byte set to 0xffrm -f build/mica2/main.exe.out-15 build/mica2/main.srec.out-15 installing mica2 bootloader using mib510uisp -dprog=mib510 -dserial=COM1 --wr_fuse_h=0xd8 -dpart=ATmega128 --wr_fuse_e=f
f --upload if=/opt/tinyos-1.x/tos/lib/Deluge/TOSBoot/build/mica2/main.ihexFirmware Version: 2.1Atmel AVR ATmega128 is found.Uploading: flash  Fuse High Byte set to
 0xd8  Fuse Extended Byte set to 0xff  Interestingly...'Uploading flash' operation takes place twice! Which I believe is redundant.Help is badly needed 

[Tinyos-help] Help needed, urgently

2006-04-08 Thread chandresh parekh
Hi all,I updated my tinyos version from 1.1.7 to 1.1.15 (rpm),recently. Now, nothing seams to work. Any in built application doesn't work, which was previously working. I guess the problem is with communication part somewhere.  Blink and CntToLeds apps work ok. But CntToRfmAndLeds - RfmToLeds don't work. TinyDB GUI appears but no data is displayed even after 10 min. of run. Trying to run XSensorMDA300 gives error make[2].Any application that requires motes to communicate over radio doesn't seam to work, in short.Here is an excerpt of what happened when I tried to install CntToRfmAndLeds on one mote and then RfmToLeds on the other mote.  [EMAIL PROTECTED] /opt/tinyos-1.x/apps/CntToLedsAndRfm$ make mica2 install,10
 mib510,COM1mkdir -p build/mica2 compiling CntToLedsAndRfm to a mica2 binaryncc -o build/mica2/main.exe -Os -I%T/lib/Counters -finline-limit=10 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb -DCC1K_DEF_FREQ91670 -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"CntToLedsAndRfm\" -DIDENT_USER_ID=\"Administrator\" -DIDENT_HOSTNAME=\"piloo\" -DIDENT_USER_HASH=0x0a75adf5L -DIDENT_UNIX_TIME=0x44378ba9L -DIDENT_UID_HASH=0xe6dfadf9L CntToLedsAndRfm.nc -lm compiled CntToLedsAndRfm to build/mica2/main.exe 11008 bytes in ROM 448 bytes in RAMavr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srecavr-objcopy --output-target=ihex build/mica2/main.exe build/mica2/main.ihex
 writing TOS imageset-mote-id build/mica2/main.srec build/mica2/main.srec.out-10 10 installing mica2 binary using mib510uisp -dprog=mib510 -dserial=COM1 --wr_fuse_h=0xd8 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=build/mica2/main.srec.out-10Firmware Version: 2.1Atmel AVR ATmega128 is found.Uploading: flash  Fuse High Byte set to 0xd8  Fuse Extended Byte set to 0xffrm -f build/mica2/main.exe.out-10 build/mica2/main.srec.out-10 installing mica2 bootloader using mib510uisp -dprog=mib510 -dserial=COM1 --wr_fuse_h=0xd8 -dpart=ATmega128 --wr_fuse_e=ff --upload if=/opt/tinyos-1.x/tos/lib/Deluge/TOSBoot/build/mica2/main.ihexFirmware Version: 2.1Atmel AVR ATmega128 is found.Uploading: flash  Fuse High Byte set to 0xd8  Fuse Extended Byte set to 0xff  and then.. 
   [EMAIL PROTECTED] /opt/tinyos-1.x/apps/RfmToLeds$ make mica2 install,15 mib510,COM1mkdir -p build/mica2 compiling RfmToLeds to a mica2 binaryncc -o build/mica2/main.exe -Os -I%T/lib/Counters -finline-limit=10 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb -DCC1K_DEF_FREQ91670 -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"RfmToLeds\" -DIDENT_USER_ID=\"Administrator\" -DIDENT_HOSTNAME=\"piloo\" -DIDENT_USER_HASH=0x0a75adf5L -DIDENT_UNIX_TIME=0x44378c29L -DIDENT_UID_HASH=0xc82b3b11L RfmToLeds.nc -lm compiled RfmToLeds to build/mica2/main.exe 10400 bytes in ROM 390 bytes in RAMavr-objcopy --output-target=srec build/mica2/main.exe
 build/mica2/main.srecavr-objcopy --output-target=ihex build/mica2/main.exe build/mica2/main.ihex writing TOS imageset-mote-id build/mica2/main.srec build/mica2/main.srec.out-15 15 installing mica2 binary using mib510uisp -dprog=mib510 -dserial=COM1 --wr_fuse_h=0xd8 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=build/mica2/main.srec.out-15Firmware Version: 2.1Atmel AVR ATmega128 is found.Uploading: flash  Fuse High Byte set to 0xd8  Fuse Extended Byte set to 0xffrm -f build/mica2/main.exe.out-15 build/mica2/main.srec.out-15 installing mica2 bootloader using mib510uisp -dprog=mib510 -dserial=COM1 --wr_fuse_h=0xd8 -dpart=ATmega128 --wr_fuse_e=ff --upload if=/opt/tinyos-1.x/tos/lib/Deluge/TOSBoot/build/mica2/main.ihexFirmware Version: 2.1Atmel AVR ATmega128 is found.Uploading: flash  Fuse High Byte set to
 0xd8  Fuse Extended Byte set to 0xff  Interestingly...'Uploading flash' operation takes place twice! Which I believe is redundant.Help is badly needed as I have few days left to complete my assignment.Thanks in advanceRegards,  Chandres   
	
		Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Help needed in driver setup for MTS420CA sensorboard.

2006-02-20 Thread Ravilochan G S
Hello Everybody,
 I am trying to use the MTS420CA sensorboard on Mica2
motes. I have changed the directory setting in the makefile to point to
the directory mts400 in the sensorboard directory. I think I need to
include the attribute - AttrHumidity in TinyDBAttr.nc file in the
tos\lib\TinyDB directory. But, I am not sure whether I will have to
include it specifically for the MTS420CA sensor board. Can someone help
me?-- regards,ravi
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help