[Tinyos-help] Signal Strength Measurement

2006-01-17 Thread Manik Gupta
Hello,   Can anyone please tell me how do we use the strength field in TOS_Msg structure. I want to use this field in a TOSSIM simulation and whenever I try to use this field the strength value comes out to be zero.   Thanks.   Regards, Manik Gupta___

[Tinyos-help] StorageManager problem in tmotesky

2006-01-17 Thread Javier Puiggros V.
Hi all, we are working in a dataloger application and we are using the external flash. We defined one volume with 15 sectors, and we can verify the mount getting the volume size correctly. We also can write and read from the flash. Our problem is when we want to delete the volume, we only can erase

Re: [Tinyos-help] Problem with Implementing GUI for Listen Programme

2006-01-17 Thread Michael Schippling
OK. I am way confused This code that you sent is in a file named net/tinyos/tools/Listen.java in the tools/java directory? Or what? And where are you trying to run the program from? What is the exact command? What is the exact error from the javac compile and the appletviewer run? What is y

[Tinyos-help] Sensor Readings using TOSSIM

2006-01-17 Thread Manik Gupta
Hello,   Well I am trying to gather sensor readings in a TOSSIM simulation.I wanted to know whether the readings which we get during the simulationcan be assumed to be similar the actual readings or just any random numbers generated by the simulator.   Thanks.   Regards,Manik gupta___

[Tinyos-help] Deluge Question

2006-01-17 Thread raj raj
 Hi all,I have been using Deluge 1.0  for some time now. I have DelugeBasic as image 0 and my application as image 1. I have upgraded the image 1 many times. Now all of a sudden when I try to inject new application as image 1 , it saysNode requesting version 126, wrong version.I dont

[Tinyos-help] Problem with Implementing GUI for Listen Programme

2006-01-17 Thread nandy jones
Hi,        I m trying Circle.java programme in the tools directory & its workin fine ( compilation & running ). But whenever I m trying to add the following import statement Its giving me error That class could not be found though its compiling successfully.       package net.tiny

Re: [Tinyos-help] I m getting NOclassDefinationFound Exception

2006-01-17 Thread nandy jones
Hi,    This is nandy again... As per my knowledge CLASSPATH=. will  set the class path for the currnet folder but older classpath will be lost with this.   so tried with this but coulnd't work. I m getting same error.   Help me out.  Thanks in advance.   Michael Schippling <[EMAIL PROTE

Re: [Tinyos-help] I m getting NOclassDefinationFound Exception

2006-01-17 Thread nandy jones
Hi,    As per the previous discussion I have tried simple applet progarmme in the tools directoroy & I m able to compile & run it successfully( So It can find the class file ). But When ever I m going to modify that programme with Listen Programme logic Its givning me errors that It cannot dete

Re: [Tinyos-help] I m getting NOclassDefinationFound Exception

2006-01-17 Thread Michael Schippling
you _should_ be able to set a classpath in your environment before starting appletviewer...I think. The easiest might be to try: export CLASSPATH=. and then run the viewer from tools/java where it will then search down net/tinyos/... Or include the full path to your tools/java in the CP and yo

Re: [Tinyos-help] TOSH Commands

2006-01-17 Thread Michael Schippling
They are generated by a macro mechanism that run two or three levels deep, so there is basically no hope of finding the actual definition without searching on each _*_ sub-string. Good luck with that... In any case there is one more missing component you haven't stumbled over yet (this is not the

[Tinyos-help] I m getting NOclassDefinationFound Exception

2006-01-17 Thread nandy jones
 Hi,  I m trying to modify the Listen.java file for fetching the light value as its done in oscilloscope application. In which I have modified some of the content of Listen.java file. I have made it extended with applets. So when I  m trying to run it with appletviewer Listen.java

[Tinyos-help] Hi I m getting Exception for NoClassDefFound

2006-01-17 Thread nandy jones
Hi, I m trying to modify the Listen.java file for fetching the light value as its done in oscilloscope application. In which I have modified some of the content of Listen.java file. I have made it extended with applets. So when I  m trying to run it with appletviewer Listen.java  It

[Tinyos-help] CountSleepRadio on TOSSIM in tinyos-1.x

2006-01-17 Thread Farzad H. Eskafi
Hi, I'm using the lastest version of tinyos-1.x from sourceforge. I played with the CountSleepRadio files in TOSSIM and surprisingly found that the radios are NOT powered on and off in it, at least in TOSSIM!! According to the code, we call CommControl.start and .stop towards GenericComm to powe

Re: [Tinyos-help] Error loading data to telosb mote

2006-01-17 Thread Chris Pettus
The thing to remember about using the infomem area on the MSP430 is that the msp430-bsl only has the mass erase command.  The msp430-bsl WILL erase the entire flash including the main program memory and the info memory.  You can use a JTAG adapter as an alternative since the msp430-jtag inplements

[Tinyos-help] TOSH Commands

2006-01-17 Thread Ian Welch
I was wondering where I could find the TOSH function commands. I'm going through the CC1000 modules in hopes to write my own drivers. Was wondering what command like " TOSH_MAKE_CC_CHP_OUT_INPUT() " and " TOSH_SET_CC_PCLK_PIN() " do. I have an idea on what these functions do but would I like to kno

[Tinyos-help] Cant create temporary files

2006-01-17 Thread Researcher
Hiya, I keep getting this "failed to create temporary file" problem every once in a while. This is quite strange.. and usually goes away if I do a make clean. I tried to look up the problem on the mailing list and did what Kevin suggests here https://mail.millennium.berkeley.edu/pipermail/tinyos-he

[Tinyos-help] Error loading data to telosb mote

2006-01-17 Thread Pere Salvatella
Hi, Right now I'm trying to use the .infomem section memory pointer in order to store some configuration parameters. For it I wanted to use the same configuration as its provided on some contrib modules (e.g. handhelds contrib) But allways, when I try to load the program on the mote, the functi

[Tinyos-help] about running Golden Image in mote

2006-01-17 Thread Ivan Wing Mau Cheung
Hi,   The Golden Image exists inside the mote right after uploading it to the mote with Deluge. This is checked by "java net.tinyos.tools.Deluge --ping". But after unplugging the mote from the programming board MIB600 and plugging back or resetting the mote, the Golden Image disappears while the St

Re: [Tinyos-help] about Deluge installation problem

2006-01-17 Thread Ivan Wing Mau Cheung
Hi Pablo,   Thank you. It works.   Ivan  On 1/17/06, Pablo Guerrero <[EMAIL PROTECTED]> wrote: Hi all,  I had the same problem some time ago. What I did was, I modified themakefile in the directory \opt\tinyos- 1.x\tools\java\net\tinyos\delugeby replacing the DELUGE_PLATFORM from 'tmote' to 'mica2'

[Tinyos-help] Lost calls to sendDone

2006-01-17 Thread Roopa Vishwanathan
Hi, When trying to count the number of CPU cycles in PowerTOSSIM, there seems to be some problem in AMStandard.nc. The call to sendDone() does not seem to get executed at all. There was a line in AMStandard.nc saying "Hack:unset start to work around possible lost calls to sendDone when doing power

[Tinyos-help] interfacing the sensor over UART in TinyDBApp

2006-01-17 Thread Amra Pasic
HI all,   I am trying to connect the sensor to UART pins (UART RXD0,TXD0). The motes are programmed with TinyDBApp. Since the base station sends the data over UART to TinyDB java application I was wondering can that cause some problems on the mote that sits on the base station (as it is prog

Re: [Tinyos-help] internal error: unsupported relocation error while compiling for a tmote

2006-01-17 Thread Vinayak Naik
More correctly, a combiation of the removal of "attribute((__packed__))" and the following substitution got rid of the warnings. - Vinayak On Tue, 17 Jan 2006, Vinayak Naik wrote: > > I removed "attribute((__packed__))" from my packet structures but the > warnings persist. Then, I substituted

Re: [Tinyos-help] trying to get Tinyos-2.x to work

2006-01-17 Thread Avinash Sridharan
Thanks philip, have started using the micaz sim options with make. Still a few issues. 1> Have started using the tiny OS 2.0 developement branch. And since the below question are aimed on issues pertaining to code from this branch should I be posting on this list or the developers list ? 2> Try

Re: [Tinyos-help] max trasmission frequency in tinyos

2006-01-17 Thread Philip Levis
On Tue, 2006-01-17 at 16:59 +0100, t3lab wrote: > what's the max trasmission frequency in tinyos? > > i've tested a program that call a repeat timer and at the end of the timer it > call a sendValue function for a sending of one broadcast message (the data of > the message is a counter that is i

Re: [Tinyos-help] Send failed

2006-01-17 Thread Philip Levis
On Tue, 2006-01-17 at 17:20 +0800, fiasco wrote: > Maybe I did not express clearly, since English is not my native > language. :) > > Of cource we can ensure there is no conflict in application level, > such as > we do not call SendMsg.send() until we get sendDone() . > > But I am not sure whet

Re: [Tinyos-help] How to use int32 in TinyOS programming

2006-01-17 Thread Philip Levis
On Tue, 2006-01-17 at 12:12 +0100, [EMAIL PROTECTED] wrote: > Original Message > Subject: Re: [Tinyos-help] How to use int32 in TinyOS programming > From:[EMAIL PROTECTED] > Date:Tue, January 17, 2006 11:16 am > To: [EMAIL PROTE

Re: [Tinyos-help] internal error: unsupported relocation error while compiling for a tmote

2006-01-17 Thread Vinayak Naik
I removed "attribute((__packed__))" from my packet structures but the warnings persist. Then, I substituted "uint8_t payload[0];" field in the structure with a "char *payload;". This does not give warnings. - Vinayak On Tue, 17 Jan 2006, Joe Polastre wrote: > Have you used "attribute((__packed

Re: [Tinyos-help] internal error: unsupported relocation error while compiling for a tmote

2006-01-17 Thread Joe Polastre
Have you used "attribute((__packed__))" anywhere? If so, remove it. -Joe On 1/17/06, Vinayak Naik <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a question about a warning issued by the msp430-gcc compiler. It > says "internal error: unsupported relocation error". I still haven't > executed my pr

[Tinyos-help] problem with timer stop and start

2006-01-17 Thread Dott. Emanuele Tavelli
hi, I'va a problem with the start stop of the timer. In the next code I would to stop all component but I would that the timer still running: / * Stop the component. * *

[Tinyos-help] internal error: unsupported relocation error while compiling for a tmote

2006-01-17 Thread Vinayak Naik
Hi, I have a question about a warning issued by the msp430-gcc compiler. It says "internal error: unsupported relocation error". I still haven't executed my program on tmotes to see whether I get any erroneous behavior. I was wondering whether anyone has seen this warning and has experienced any

[Tinyos-help] max trasmission frequency in tinyos

2006-01-17 Thread t3lab
what's the max trasmission frequency in tinyos? i've tested a program that call a repeat timer and at the end of the timer it call a sendValue function for a sending of one broadcast message (the data of the message is a counter that is incremented at every timer fired) ; for the visualization

Re: [Tinyos-help] How to use int32 in TinyOS programming

2006-01-17 Thread Martin Gercke
Hi, I was always wondering why this has to be done. Why not just use int32 instead of int32_t? I think I remember tracing this done and they seemed to be the same, correct? Martin Andrea Pacini wrote: Mr. Balvis, you should use *int32_t* and *uint32_t* instead of *int32* and *uint32 . *An

[Tinyos-help] Should XMESH apps work with TOSBase?

2006-01-17 Thread Harri Siirtola
Platform: MicaZ I can get results from XSensor apps with TOSBase on MIB600 or MIB510. Why not from XMesh apps? the only way is to program the base mote with an XMESH app, too. The comments in the beginning of the files say they should work with TOSBase but I've tried specifying XMESH and FREQ

[Tinyos-help] How to use int32 in TinyOS programming

2006-01-17 Thread balvis
Original Message Subject: Re: [Tinyos-help] How to use int32 in TinyOS programming From:[EMAIL PROTECTED] Date:Tue, January 17, 2006 11:16 am To: [EMAIL PROTECTED]

[Tinyos-help] Help on running TINYVIZ

2006-01-17 Thread Preethi Naveen
hi, i have tried to run tinyviz as given in chapter 5 of tutorial. I am getting the following errors Exception in thread "main" java.lang.NullPointerException     at net.tinyos.sim.PluginManager.register(PluginManager.java:77)     at net.tinyos.sim.SimDriver.(SimDriver.java:258)     at

[Tinyos-help] Unable to install TinyOs on Fedora Core 4

2006-01-17 Thread Dattatraya Gokhale
Hello...I am a graduate student in India and I have been struggling unsuccessfully to try and get Tinyos to work on Fedora Core 4. I tried to follow the installation instructions listed on the tinyos webpage but ended up with a hundreds of warnings and quite a few errors while the java code was bei

[Tinyos-help] Compiling problems with tinyos 1.1.15

2006-01-17 Thread Preethi Naveen
I have recently updated to tinyos version 1.1.15. There were no problems when i ran toscheck. I tried to compile TestMSP430DMA by using the command comp=ADC make telosb however, i get an error that goes like this:- Makefile:4: no file name for `include' make: *** No rule to make target `telosb'.

Re: [Tinyos-help] about Deluge installation problem

2006-01-17 Thread Pablo Guerrero
Hi all, I had the same problem some time ago. What I did was, I modified the makefile in the directory \opt\tinyos-1.x\tools\java\net\tinyos\deluge by replacing the DELUGE_PLATFORM from 'tmote' to 'mica2', and also commented away the include -I$(TOS)/lib/CC2420Radio With these changes, it c

Re: [Tinyos-help] Send failed

2006-01-17 Thread fiasco
Maybe I did not express clearly, since English is not my native language. :)Of cource we can ensure there is no conflict in application level, such as we do not call SendMsg.send() until we get sendDone() . But I am not sure whether it is enough to guarantee there is no conflictin system level.For