Re: [Tinyos-help] EEPROM, logger, tmote

2007-05-09 Thread Urs Hunkeler
Tmotes even have two "flash EEPROMS" (terminology borrowed from the tinyos-1 tutorial): one on the microcontroller and an external one, which is even bigger than the MicaX ones :-) Joke aside, it looks like the mica family of motes uses for the external flash a AT45DB chip, while the tmote uses an

Re: [Tinyos-help] Problem with Surge Java compilation

2007-05-09 Thread Michael Schippling
Java deprecated classes are, IMHO, a joke. Excepting, as David Gay has pointed out, System.getenv() they are all still there due to the backward (compatibility) requirements. Just ignore the warnings and wish that Java system implementors had been able to design things reasonably the first time...

[Tinyos-help] What's wrong with my BlockWrite code?

2007-05-09 Thread SANG Junjun
This is a simplest test. But It seems that only the erase operation works in mica2. I don't know why. RandRWAppC.nc: #include "StorageVolumes.h" configuration RandRWAppC { } implementation { components RandRWC, new BlockStorageC(VOLUME_BLOCKTEST), MainC, LedsC, PlatformC, RandomC; MainC.Bo

[Tinyos-help] Problem with Surge Java compilation

2007-05-09 Thread Murtuza
Hi frnds, I was fooling around with the surge application provided by Crossbow in the contrib directory. I tried to compile the java codes in the tools/java/net directory but there were some errors in the process. Some of the JAVA classes used in these are deprecated. What can I do to compile the

Re: [Tinyos-help] Help with Surge application

2007-05-09 Thread Murtuza
Hi thanks for the reply. But i wanted sth else. In tos/contrib/xbow/apps/Surge_Low_Power/SurgeM.nc there is this following line, SurgeM.GetPower -> CC1000RadioIntM.GetPower; GetPower is wired with CC1000RadioIntM. But in this module there is not GetPower. Check this file..tos/contrib/xbow/apps/S

[Tinyos-help] question on the interface RadioTimeStamping

2007-05-09 Thread Shuo Xiao
Hi all, I tried to record the transmitted SFD time and received SFD time in the data payload by the interface RadioTimeStamping. Two micaz motes are used, one sender and one receiver. The sender sends packets periodically. Whenever the receiver gets a packet, it sends the corresponding ack r

Re: [Tinyos-help] Tossim help

2007-05-09 Thread Sarfraz Nawaz
If your tinyos version has tython, then all of the sent packets are actually stored on tossim/tython. Have a look at the following URL on how to access these stored packets. http://www.tinyos.net/tinyos-1.x/doc/tython/manual.html#sec:packets On 5/9/07, Boushra MAALA <[EMAIL PROTECTED]> wrote:

[Tinyos-help] interface Timer

2007-05-09 Thread shanza khan
hi, I want to get time for execting a function. So i want to used timer interface with TMicro can anybody tell me that which component i should use for it that provide timer interface with Tmicro. Thanks Shanza ___ Tinyos-help mailing list Tinyos-help

Re: [Tinyos-help] Java.io.IOException: Invalid port. No comm ports found!

2007-05-09 Thread Marcel Kania
Hallo, here a short description, how I resolved this problem. I hope it's understandable. try this: public class MyCommunicationClass implements MessageListener { private MoteIF mote; ... mote = new MoteIF(BuildSource.makePhoenix(serialAddress, PrintStreamMessenger.err)); mote.registerListe

[Tinyos-help] Compiling TestDAC12DMAC

2007-05-09 Thread Bill Leal
I'm trying to compile the test program for the tmote's DAC (attached). However, I get the following errors, which seem to indicate that I don't have the right version of the timer component ... Any idea where I can get the right one? Thanks, Bill --- In file included fro

Re: [Tinyos-help] The connection between some program in C and the mote

2007-05-09 Thread Michael Schippling
A number of questions like that have appeared on this list recently, but I don't remember that anyone announced that they were successful. Perhaps someone will post something useful... Otherwise the place to start is getting a full message buffer including sync bytes and headers, and try to send i

[Tinyos-help] [urgent] need help on Surge Application

2007-05-09 Thread Ray kah
Hi all I have using Surge as my application and also the GUI to monitor packets. However, I noticed that if node 0 (base-station) does not send any surge message, the surge GUI not display correct results (e.g . zero yeild) My scenario is simple: [node1] -- [node0] In my SurgeM.nc, I dont sta

Re: [Tinyos-help] The connection between some program in C and the mote

2007-05-09 Thread Micfox Micfox
Thanks. But after I checked that folder, I could not find any program that is relevant to this matter: If the packet is sent from mote to PC, then those *listen.c can help, but now I need to send packet from PC to motes (maybe in C, or other alternatives that can work, any suggestion is appreci

Re: [Tinyos-help] Java.io.IOException: Invalid port. No comm ports found!

2007-05-09 Thread Michael Schippling
Make sure you have them in the JRE that you are actually using. For many and wonderous reasons there may be more than one and more than one location. Using "type java" should tell you the root. mine are: C:\JAVA\j2sdk1.4.2_04\jre\lib\ext\comm.jar C:\JAVA\j2sdk1.4.2_04\jre\lib\javax.comm.p

Re: [Tinyos-help] Java.io.IOException: Invalid port. No comm ports found!

2007-05-09 Thread Greg Turnipseed
Yes, I've placed all three of them, but I'm not sure that they're in the right places. What are the directories they're supposed to be installed in, relative to the folder? > From: Michael Schippling <[EMAIL PROTECTED]> > Reply-To: <[EMAIL PROTECTED]> > Date: Wed, 09 May 2007 13:29:13 -0600 > To

Re: [Tinyos-help] Using Interrupt pins

2007-05-09 Thread Michael Schippling
Look back a day or two on this list. I posted some stuff about T1 interrupts and making the code to handle them. To figure out how to configure the pin you need a hermeneutics degree and the ATMEGA-128 manual which you can find online. MS Todd Polk wrote: Hi, I am trying to use either an e

Re: [Tinyos-help] Help with Surge application

2007-05-09 Thread Michael Schippling
There's GetRFPower() in tos/platform/mica2/CC1000ControlM.nc Is that what you want? MS Murtuza wrote: Hi friends I was looking at Surge application in the contrib/xbow/apps directory of tinyos-1.x. In the file Surge_Low_Power/SurgeM.nc there is a functionality GetPower() in the provides{ }

[Tinyos-help] Using Interrupt pins

2007-05-09 Thread Todd Polk
Hi, I am trying to use either an external interrupt pin (INT0) or a GPIO pin (like PW4) as an input to interrupt the micaZ. I see how to configure the pin as an input - my question is how to control the pin to look for a falling edge or rising edge signal, and then how to handle the actual

Re: [Tinyos-help] About PowerManagerP

2007-05-09 Thread Fangming Zhang
Dear Kevin Klues, Yes, there is a mismatch between ResouceController and ResouceDefaultOwner in the file AccelConfigP.nc, which was downloaded from CVS of tinyos2.0. I just revised it and there is no compiling error. I use Tinyos2.0 which downloaded 2 weeks ago. The sensorboard is MTS310, and th

Re: [Tinyos-help] TOSSIM - "real" modules and simulation modules

2007-05-09 Thread Hugo Sousa
forgot to CC this to tinyos-help list On 5/9/07, Hugo Sousa <[EMAIL PROTECTED]> wrote: About the errors from the make micaz sim, why does it say that components like SplitControlPowerManagerC can't be found? If I copy that component to the current directory that error goes away; then it starts

[Tinyos-help] Help with Surge application

2007-05-09 Thread Murtuza
Hi friends I was looking at Surge application in the contrib/xbow/apps directory of tinyos-1.x. In the file Surge_Low_Power/SurgeM.nc there is a functionality GetPower() in the provides{ } part of the code. This is provided by the CC1000RadioIntM component. But when I looked at CC1000RadioIntM.nc

Re: [Tinyos-help] CCA & Backoff CC1000

2007-05-09 Thread Benjamin Madore
Ok, So I'm mucking about in CC1000RadioIntM.nc In SpiByteFifo.dataReady I have commented out actions in "case PRETX_STATE" and in RSSIADC.dataReady I have removed the squelch check, just checking the state. Is this correct? Will I now get no clear channel assessment? On Tue, May 8, 2007 11:32 a

[Tinyos-help] For Auction on eBay: Crossbow Wireless Sensor Networking Kit with Extra Sensors

2007-05-09 Thread Cooper Marcus
Please see the auction web page for more information: http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=280113450812 Cheers, Cooper __ My Parking Blog: http://www.parking2.com Spark Parking Quarterly Newsletter: http://www.sparkparking.com/subscribe.html

Re: [Tinyos-help] RSSI measurement in mica2

2007-05-09 Thread Rahul Sawant
yes u r right u need to do conversions to the values u obtained through TOSMsg. for conversion formulas see cc1000 data sheet and xbow mpr - mib manual rahul On 5/9/07, Murtuza <[EMAIL PROTECTED]> wrote: Hi I have a very simple question. If i am not mistaken the RSSI values obtained from a

Re: [Tinyos-help] 2.0 upgrade problem

2007-05-09 Thread Philip Levis
On May 7, 2007, at 10:30 PM, Kevin Imber wrote: Hello, my partner and I were trying to upgrade tinyos from 1.1.11 to 2.0 on a windows xp computer running cygwin, but we ran into a hitch. When upgrading the nesc compiler, we got the error message "package tinyos-2.0.1-5 is intended for a cyg

Re: [Tinyos-help] (no subject)

2007-05-09 Thread Philip Levis
On May 2, 2007, at 10:30 AM, Jonathan Barbeau wrote: Hello, I have some problems with TinyOS 2. I installed TinyOS 2 on cygwin. I have a lot of mistake when I compike the Blink application if there is anybody who can help me??? The output is pretty clear: $ make micaz sim C:\tinyos\cygwin

Re: [Tinyos-help] About PowerManagerP

2007-05-09 Thread Kevin Klues
There seems to be a mismatch between your use of the ResourceController and ResourceDefaultOwner interfaces. In the tinyos.2.0 release, ResourceController was the interface provided by the Arbiter components to the PowerManager components for taking control of a resource once it had gone idle. S

Re: [Tinyos-help] Java.io.IOException: Invalid port. No comm ports found!

2007-05-09 Thread Michael Schippling
You installed the entire javax.comm package right? there's the properties file, the win dll, and a jar that goes in jre/lib/ext. The installer should do it all for you. I haven't used it with J6 but I assume it should work. Just in case, the package I use is squirreled away at: http://www.eta

Re: [Tinyos-help] How to read 2 AD port in a MTS310?

2007-05-09 Thread Michael Schippling
You can add a -v argument to the ncc command line and see all the files that are accessed. You could check that the interfaces directory where you found the missing thing is actually visited, and/or copy the file to a directory that you know is being used. Did you search the help list? I don't u

Re: [Tinyos-help] The connection between some program in C and the mote

2007-05-09 Thread Michael Schippling
If you're using TOS1.x there're some C examples under: tinyos*/tools/src MS Micfox Micfox wrote: > Hi, > I have the following problem I need to solve and hope I can get some > advice from this mailing list. > Let me say I have a program called A (in C language). It can generate > some output

[Tinyos-help] RE: Which protocol does OTAP follows ??

2007-05-09 Thread Giri Baleri
Crossbow's XOtap uses XMesh's downstream bulk-transfer protocol. It is quite different from Deluge since it doesn't use viral propagation or flooding. You can find more details in Section 10.2 of the manual below. http://www.xbow.com/Support/Support_pdf_files/XMesh_Users_Manual.pdf Regards, Gir

Re: [Tinyos-help] (no subject)

2007-05-09 Thread Michael Schippling
I'm not sure that the tmote has an EEPROM...check it's documentation. Also try searching the platform directories for the missing files and strings. MS [EMAIL PROTECTED] wrote: Hi I am disperate i read the lesson 8 and i try to install this one on Tmote Sky but there are some problem in fact m

Re: [Tinyos-help] NesC info

2007-05-09 Thread Michael Schippling
search back on this list a couple days for a some good answers and see: http://csl.stanford.edu/~pal/pubs/tinyos-programming.pdf MS [EMAIL PROTECTED] wrote: Hi, I am trying to make an impementation of tea (tiny encryption algorithm) with nesC. I am a beginner in this kind of programming. Do yo

[Tinyos-help] Java.io.IOException: Invalid port. No comm ports found!

2007-05-09 Thread Greg Turnipseed
Hey, all. After playing around (thanks for all y'alls help so far...I got blink running, and the counter that broadcasts its readings to other motes, and the sensors), I'm now ready to try serial communications to the PC. I have tried several times to install the javax.comm package onto the PC, b

[Tinyos-help] how to change speaker volume of Tmote Invent

2007-05-09 Thread yicheng
Hi Folks, I have a piece of wave data stored in Tmote (about 8k bytes), I need to dynamically change its volume (by software) when it's being played through the speaker. Can someone tell me how to do it? Thanks! Yicheng ___ Tinyos-help mailing l

Re: [Tinyos-help] installation with MicaZ

2007-05-09 Thread Phong Nguyen
This is your uisp binary which fails, try to execute "uisp -dprog=mib510 -dpart=ATmega128 --rd_fuses" to see if you can access to your programming board. I have meet the same problem with my micaz motes on cygwin, and finally it have only worked on linux with tinyos-1.1.15. To make it works on c

[Tinyos-help] TPSN on telosb

2007-05-09 Thread Leonardo
Hy, i'm newbie on tinyos and i want to know if there are some example in tinyos that implement TPSN protocol on Telob beacuse i have downloaded file on cvs but they give me some error beacuse they are for mica2 and not telosb Somebody can help me please? -- Leonardo __

[Tinyos-help] MDA300 - Counter Problems

2007-05-09 Thread Blake, Robert A.
Mohammed, My name is Bob Blake and I work for Alcoa in Pittsburgh, PA. We are currently working with the MDA300 and are having problems getting valid numbers from the counter. I'm putting in 5 volt pulses in a frequency range from 1 to 20 Hz. Using the software examples that came with the device

[Tinyos-help] 2.0 upgrade problem

2007-05-09 Thread Kevin Imber
Hello, my partner and I were trying to upgrade tinyos from 1.1.11 to 2.0 on a windows xp computer running cygwin, but we ran into a hitch. When upgrading the nesc compiler, we got the error message "package tinyos-2.0.1-5 is intended for a cygwin operating system" while we were in the cygwin shell

[Tinyos-help] TOSSIM help: how to run different codes?

2007-05-09 Thread Hui Zhang
Hi, I am wondering how can I run different codes in TOSSIM instead simulating all the motes with same codes? e.g simulate one sender with sending code and one recevier with receving code... Thanks. Hui ___ Tinyos-help mailing list Tinyos-help@Mille

[Tinyos-help] programing micaz problem

2007-05-09 Thread tomasz kłoszewski
Hi All I have a problem with programing micaz with MIB510 programmer under Cygwin. My serial port is seen as COM5 in Device Manager. When I type : make micaz reinstall,0 mib510,com5 The output is: installing micaz binary using mib510 uisp -dprog=mib510 -dserial=com5 --wr

[Tinyos-help] SPIN for verification

2007-05-09 Thread D C Jinwala
Hello, I was just wondering - Has anybody tried using SPIN (with PROMELA as a modeling language) to verify the protocols used in TinyOS/TinySec i.e. suppose I wish to verify the protocol used by TinySEC_Auth mode for ensuring message integrity, is it possible using SPIN. Any pointers, please ?!!.

Re: [Tinyos-help] TOSSIM - "real" modules and simulation modules

2007-05-09 Thread Philip Levis
On May 9, 2007, at 9:19 AM, Hugo Sousa wrote: To give you the scenario, I am working in [...]/myoscilloscope/ and using mySensorC (modified version of MicStreamC), under tinyos2 When I type "make micaz sim" i get a lot of erros, just to name a few that seem important component SplitContr

[Tinyos-help] Multiple message queue skips

2007-05-09 Thread Eric Patterson
I'm having trouble getting an Oscope based app to work. I've implemented a queue system kind of like the one detailed here: http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg10654.html but it insists on skipping the middle message (I'm sending 3, and the radio only sends the 1s

[Tinyos-help] RSSI measurement in mica2

2007-05-09 Thread Murtuza
Hi I have a very simple question. If i am not mistaken the RSSI values obtained from a TOS_Msg message gives the value of RSSI which needs to be converted using the formula given in Crossbow manual. Am i right ? I read some mails in the archives which say conversion is needed and some say its not

[Tinyos-help] Which protocol does OTAP follows ??

2007-05-09 Thread Ravi konakalla
hi everyone, I got Crossbow's MoteConfig 2 With the installation of Mote view 1.4. In the MoteConfig reference manual, they described about the steps in OTAP (Over The Air Programming). Does OTAP follows the protocol like Deluge ?? If anyone knows about the routing, path selectionetc about OTA

[Tinyos-help] Surge - when node 0 is not transmitting surge message...

2007-05-09 Thread Ray kah
Hi all I have using Surge as my application and also the GUI to monitor packets. However, I noticed that if node 0 (base-station) does not send any surge message, the surge GUI not display correct results (e.g . zero yeild) My scenario is simple: [node1] -- [node0] In my SurgeM.nc, I dont sta

[Tinyos-help] TOSSIM - "real" modules and simulation modules

2007-05-09 Thread Hugo Sousa
To give you the scenario, I am working in [...]/myoscilloscope/ and using mySensorC (modified version of MicStreamC), under tinyos2 When I type "make micaz sim" i get a lot of erros, just to name a few that seem important component SplitControlPowerManagerC not found component SplitControlPower

[Tinyos-help] Surge GUI - MsgRate graph

2007-05-09 Thread Ray kah
Hi all I am trying to display msgRate graphically just like the yield graph. However, I have the following questions: 1. for yield, where is it multiplied by 256?? yield_series.insertNewReading(total_yield++, new Integer((int)(yield() * 256.0))); 2. added the following into ProprietaryNodeInfo

[Tinyos-help] NesC info

2007-05-09 Thread genoutsi
Hi, I am trying to make an impementation of tea (tiny encryption algorithm) with nesC. I am a beginner in this kind of programming. Do you know where i can find a good manual to begin with the language. I've already look in the TinyOs tutorials but... Thanks in advance Noutsis Giorgos, University

[Tinyos-help] TOSSIM HELP

2007-05-09 Thread santosh bhima
Hi, Can anyone help me out in implementing multi hop protocol in tossim.I just want to know how to start. Thanks in advance -- with regards, santosh bhima. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley

Re: [Tinyos-help] Collection vs CTP (TinyOS 2)

2007-05-09 Thread Philip Levis
On May 9, 2007, at 1:39 AM, Muhammad Azhar wrote: Hi, Thanks for the explanation. I have another question wrt CTP. I would like to send the node id of the parent as part of the message structure (mviz_msg) of the MViz application. However, CTP doesn't seem to provide a command where

Re: [Tinyos-help] serial communication method

2007-05-09 Thread Urs Hunkeler
Hi, How did you connect 10 MIB510 programming boards to your computer? Did you use 10 serial2USB adapters? You'll have to modify the PC based program to open 10 connections, one for each of the MIB510s attached to the computer. Or if you use the MIB510 only as a power supply to the motes, you'll

Re: [Tinyos-help] installation with MicaZ

2007-05-09 Thread Phong Nguyen
This is your uisp binary which fails, try to execute "uisp -dprog=mib510 -dpart=ATmega128 --rd_fuses" to see if you can access to your programming board. I have meet the same problem with my micaz motes on cygwin, and finally it have only worked on linux with tinyos-1.1.15. To make it works on c

Re: [Tinyos-help] installation with MicaZ

2007-05-09 Thread Munaretto, Daniele
i think u need to check if the mote is well connected On Wed, 2007-05-09 at 15:09 +0200, CASTEL Myriam wrote: > Hi, > > I'm using the micaz motes with the version 1.11 of TinyOS. > To install the programm Blink on the mote, I type: > make micaz install mib510,COM1 > ou make micaz insatll mib510,

Re: [Tinyos-help] Tossim help

2007-05-09 Thread Munaretto, Daniele
1)Using dbg messages in your code, then print them as output with ./build/pc/main.exe ...options... > print.txt for example and then, you might use grep for extracting what u need 2)i think there is an explanation throgh the tutorial, or consider "TOSSIM: a simulator for tinyOS Networks" by P.Le

[Tinyos-help] installation with MicaZ

2007-05-09 Thread CASTEL Myriam
Hi, I'm using the micaz motes with the version 1.11 of TinyOS. To install the programm Blink on the mote, I type: make micaz install mib510,COM1 ou make micaz insatll mib510,/dev/ttyS0. But I have an error: "probably the AVR MCU is not in the RESET state. Check it out and run me again." Can som

[Tinyos-help] Tmote sky Lesson 8

2007-05-09 Thread [EMAIL PROTECTED]
Hi I am disperate i read the lesson 8 and i try to install this one on Tmote Sky but there are some problem in fact my CyGwin window put out a lot of Errors that yuo can see in the image that i attached. Can you tell me how i have to modify the code to do that the application works well on my T

[Tinyos-help] serial communication method

2007-05-09 Thread Jeong Kwanhee
Hello all! I wonder how to do changing the serial communication method. I'm testing each mote by connecting MIB510. So, I have to check packets of each mote. However, I know see only node0(basenode). I want to see every mote's packet. How should I fix this? Help me. i.e.) I did conn

[Tinyos-help] Tossim help

2007-05-09 Thread Boushra MAALA
i use Tossim (tinyos 1, windows XP ): i have two questions: First: I want to know ,for an application which is simulated with Tossim , how can i save the sent and received messages, because i need to do some statistics about these messages,and is there a way for doing these statistcs within T

[Tinyos-help] failed_dependency

2007-05-09 Thread vazoumana fofana
Hello, i want to install tiny os on my laptop but there is a failed dependency with this file : jdk = 2000:1.5.0_05-fcs is needed by java-1.5.0-sun-compat-1.5.0.05-1jpp.i586. do you know where i can find this file ? Thanks. _ Dé

[Tinyos-help] TPSN on telosb

2007-05-09 Thread Leonardo
Hy, i'm newbie on tinyos and i want to know if there are some example in tinyos that implement TPSN protocol on Telob beacuse i have downloaded file on cvs but they give me some error beacuse they are for mica2 and not telosb Somebody can help me please? -- Leonardo Cicogna __

[Tinyos-help] The connection between some program in C and the mote

2007-05-09 Thread Micfox Micfox
Hi, I have the following problem I need to solve and hope I can get some advice from this mailing list. Let me say I have a program called A (in C language). It can generate some output (denoted as B). I need to pass B to the motes through serial port. However, the packets from the PC to mote

Re: [Tinyos-help] Collection vs CTP (TinyOS 2)

2007-05-09 Thread Muhammad Azhar
Hi, Thanks for the explanation. I have another question wrt CTP. I would like to send the node id of the parent as part of the message structure (mviz_msg) of the MViz application. However, CTP doesn't seem to provide a command where I can get the am_addr_t of the direct parent, based on

Re: [Tinyos-help] Send fails from a task

2007-05-09 Thread Romain Thouvenin
Thanks for your replies, which both proposed good ideas. I should keep them in mind for the future :) The problem was indeed because, silly me, I didn't check that the radio, started by another component, was successfully started. As Urs said, "somehow", the send command in the boot event managed

Re: [Tinyos-help] Compilation error in Surge(Urgent)

2007-05-09 Thread Ming
Hi, I found that TinyOS 2.0.1 is released. I would like to ask whether the Deluge is supported in this released? Thank you. CMing ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/list