[Tinyos-help] Delta-external ADC--help needed

2006-09-12 Thread siva prasad
hi all i am having two doubts... ---at first... i hav successfully compiled and installed the modified the Delta application for external ADC signal...sampling time period is 10ms.. when i hav given a sinusoidal signal of 0.5V with an offset of 0.75V at1 Hz from the signal generator...it

Re: [Tinyos-help] Delta Application

2006-09-12 Thread Joe Polastre
Download the software from www.moteiv.com. It is free and called Boomerang. -Joe On 9/11/06, Sumit Gupta [EMAIL PROTECTED] wrote: hi, The guide which I have only 18 pages. I think you are talking about the upgraded version of software. The CD i have doesnt install in that way which is

Re: [Tinyos-help] Delta Application

2006-09-12 Thread Chalermphol T.
For Deltaapplication you need to reinstall TinyOS using moteiv's distribution, Boomerang, from www.moteiv.com, the latest version is 2.0.4 There is acommunicative difference between SurgeTelos and Delta, the routing algorithm. SurgeTelos uses tree-based routing, Delta uses Sensornet Protocol(SP).

RE: [Tinyos-help] TOSSIM 2.x doesn't run

2006-09-12 Thread Munaretto, Daniel
Dear Dr.Levis, Finally i solved, there was an error in a script. Thanks very much for your help. Instead i don't understand why, when i switch back to 1.x, i cannot compile apps no more, while in 2.x yes. I'm following the instructions for changing the paths but nothing...in the attached file

[Tinyos-help] RE: what should i do if i want to see my dbg statements on screen while debugging..........?

2006-09-12 Thread Pablo Gil Montaño
I don't know if this is what you mean, but if you have this in your code:dbg(DBG_USR3,"Message to show on terminal");in order to see the message you should execute your program this way:DBG=usr3 build/pc/main.exe -l=1.0 1(-l=1.0 1 are options that you can change)primalfear 69 [EMAIL PROTECTED]

RE: [Tinyos-help] Problem starting SerialForwarder and other java tools

2006-09-12 Thread Pablo Gil Montaño
Have you compiled the Listen application?Look into the Listen application directory and see if you have only .java files or .java and .class files. If you only have .java files you need to compile the java tools. There must be some Makefile under tinyos-1.x/tools/java/net to compile all the java

RE: [Tinyos-help] sync and async event

2006-09-12 Thread Pablo Gil Montaño
As far as I know, tasks do not preempt other tasks, but events can always preempt tasks or events no matter whether they are async or not. Tasks are executed only when there is nothing else to do, and can be preempted by events, but not by other tasks.If someone knows exactly the difference

[Tinyos-help] LocalTime and PC

2006-09-12 Thread Pablo Gil Montaño
Hi.I want to compile a program for PC (in order to debug it). The program compiles for tmote without any problem, but it won't compile for PC beacuse of the interface LocalTime (looks like it is not implemented for the PC platform). Is there any way of circumventing this problem?Thanks in advance

Re: [Tinyos-help] sync and async event

2006-09-12 Thread R. Steve McKown
On Monday 11 September 2006 04:09 pm, yicheng wrote: 1. Is 'Timer fired' event or 'sendDone' sync event? Timer.fired() is not defined async (see $TOSROOT/tos/lib/timer/Timer.nc), which means it is guaranteed only to execute in task context. There are sendDone events on several different

RE: [Tinyos-help] sync and async event

2006-09-12 Thread yicheng
I dont think sync events can preempt other tasks or events, thats the difference between async and sync events. From: Pablo Gil Montaño [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 6:03 AM To: yicheng; tinyos-help@Millennium.Berkeley.EDU Subject: RE:

[Tinyos-help] high frequency sampling

2006-09-12 Thread siva prasad
hi all... ihav some doubts i hav modified the delta application such tht it will read the external ADC signal...it was successful... -- i hav sampled a signal of 0.5V(1Hz) sinusoidal signal at 1ms...i am losing lot of packets.. wat might be the reason...any remedies? -- wat is the

RE: [Tinyos-help] sync and async event

2006-09-12 Thread yicheng
If, for example, the execution context is async and a non-async event is to be signaled, the code posts a task which then signals the event. I didn't get it. A task can't be async, 'the execution context' is an event? -Original Message- From: R. Steve McKown [mailto:[EMAIL PROTECTED]

[Tinyos-help] send packets using CSMA/CA

2006-09-12 Thread Tie Luo
This questionisw.r.tMAC/PHY in TinyOS 2.0. By theory, MAC should sense the channel until it becomes idle for some time (e.g. DIFS) and then sendsthe packet. But we did not findhow to control carrier sensing and backoff (the Backoff interface just provides two events - initial() congestion() -

[Tinyos-help] RE: TinyOS 2.x Mica2 OEM

2006-09-12 Thread David Moss
That worked, David - I set CC1K_DEFAULT_FREQ = CC1K_915_998_MHZ, and now my motes are talking. I guess the default on my TinyOS 2.x beta2 install was 433.002 MHz, which isn't compatible with 900 MHz mica2's. Thanks a lot, -David -Original Message- From: David Gay [mailto:[EMAIL

Re: [Tinyos-help] send packets using CSMA/CA

2006-09-12 Thread Jonathan Hui
The backoffs are implemented in CC2420CsmaP.nc. You can use the CCA (clear channel assessment) to check for energy on the air. See the datasheet for more details. -- Jonathan W. Hui [EMAIL PROTECTED] http://www.cs.berkeley.edu/~jwhui/ On 9/12/06, Tie Luo [EMAIL PROTECTED] wrote: This

[Tinyos-help] Re: TinyOS 2.x Mica2 OEM

2006-09-12 Thread David Gay
On 9/12/06, David Moss [EMAIL PROTECTED] wrote: That worked, David - I set CC1K_DEFAULT_FREQ = CC1K_915_998_MHZ, and now my motes are talking. I guess the default on my TinyOS 2.x beta2 install was 433.002 MHz, which isn't compatible with 900 MHz mica2's. Yes. The same is true in 1.x ;-) (I

[Tinyos-help] SurgeTelos Doubts

2006-09-12 Thread Sumit Gupta
Hi, I want to understand the Application SurgeTelos. I have some doubts if anyone can help me in clearing them: 1. In Surge.nc and SurgeM.nc (files of SurgeTelos NOT Surge), they have commented out the code related to interface Bcast. Can anyone tell me what is the significance of this

[Tinyos-help] Radio communication: preamble length

2006-09-12 Thread jose m
I wish to know how is defined the Manchester preamble in tinyos for mica2 motes (length, syncronization byte, etc). __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en

[Tinyos-help] Constant structures resident in flash

2006-09-12 Thread jose m
I see this declaration: static const prog_uchar CC1K_LPL_PreambleLength[CC1K_LPL_STATES*2] it say that is a constant defined on flash (only read). I want to do the same thing for save memory, so static const is enough, and the use the PRG_RDB macro. Yes? where is defined this macro?

[Tinyos-help] SysTime

2006-09-12 Thread Sean Casey
Hi, Reading the interface file for SysTime.nc, it says on the mica2 platform the current implementation uses a 1/8 prescaler that results in a 921.6 KHzclock frequency. When using the interface I get a large 32-bit value. Can someone tell me what this value means, i.e. does it start from

RE: [Tinyos-help] Constant structures resident in flash

2006-09-12 Thread David Moss
Yes. Following the examples given in the CC1000 radio stack - TinyOS 1.x uses static const prog_uchar ... to define the array stored into program memory, and then PRG_RDB(..) reads in a byte from program memory. TinyOS 2.x uses static const_uint8_t ... to define the array stored in program

[Tinyos-help] about listenraw

2006-09-12 Thread [EMAIL PROTECTED]
I would like to know if you thik if the progran listenraw could be modificated in java for sending for another serial port the sensing information sensed by motes an collected by MIB510. The application is to convert the packets in a pc with a modified program of listen raw and send for a rs232

Re: [Tinyos-help] Problem starting SerialForwarder and other java tools

2006-09-12 Thread Michael Schippling
Also check that you have C:/cygwin/opt/tinyos-1.x/tools/java in your CLASSPATH environment variable. MS Pablo Gil Montaño wrote: Have you compiled the Listen application? Look into the Listen application directory and see if you have only .java files or .java and .class files. If you only have

Re: [Tinyos-help] high frequency sampling

2006-09-12 Thread Michael Schippling
In general you can only expect about 100 TOS messages per second in the best case. If you are trying to send more than that you will loose all the overflow. You can aggregate multiple data samples into one message but that still gives you (with a 30 byte payload in each packet) only about 1500

[Tinyos-help] Compile Issues

2006-09-12 Thread Ian Welch
Just reinstalled TOS2.x to fix a Java issue. Now when I try to compile a program make mica2 a get a pop-up window with the following messagenesc1.exe - Entry Point Not FoundThe procedure entry point basename could not be located in dynamic link library cygwin1.dllDid i forget something?Thanks

Re: [Tinyos-help] Problem with struct and Drip

2006-09-12 Thread Michael Schippling
Your compiler is trying to help you by padding the single byte to put the next field on an even boundary. I think there are some options to nescc syntax that shut off the padding. Look for padding or packing in the doc. This has also been discussed on this list in the last year, so try a back

[Tinyos-help] error when running configure for avarice-2.4

2006-09-12 Thread Elaine Cheong
I am trying to install the AVR tool set for TinyOS on my freshly installed Ubuntu 6.06 LTS (Dapper Drake) installation. I get: configure: error: You need to install libbfd.a from binutils. when running ./configure in avarice-2.4. More detailed installation and error notes below. Any help

Re: [Tinyos-help] about listenraw

2006-09-12 Thread Michael Schippling
All things are (im)possible with software... But probably all you need to do is redirect ListenRaw output to the serial port of interest: java ...ListenRaw COM666 or whatever the port name is... Do man bash and look for I/O redirection information. MS [EMAIL PROTECTED] wrote: I

Re: [Tinyos-help] Compile Issues

2006-09-12 Thread Philip Levis
On Sep 12, 2006, at 2:31 PM, Ian Welch wrote: Just reinstalled TOS2.x to fix a Java issue. Now when I try to compile a program make mica2 a get a pop-up window with the following message nesc1.exe - Entry Point Not Found The procedure entry point basename could not be located in dynamic

[Tinyos-help] --help on tinyviz

2006-09-12 Thread Madhu Mudigonda
I'm getting following errors,when i'm trying to tinyviz after make pc on a windows machine. Any help? Thanks in advance. $ ./tinyvizjava -Dpython.cachedir=/tmp/jython.cache -DDBG= -DSIMDBG= net.tinyos.sim.SimDriver -guiStarting SimDriver...Simulation random seed 1234212692Initializing

Re: [Tinyos-help] sync and async event

2006-09-12 Thread R. Steve McKown
On Tuesday 12 September 2006 09:13 am, yicheng wrote: what's the difference between 'event' and 'task'? They are different things.  An event is like a callback function while a task is a context in which code can execute.  If, for example, the execution context is async and a non-async

Re: [Tinyos-help] sync and async event

2006-09-12 Thread R. Steve McKown
On Tuesday 12 September 2006 09:03 am, yicheng wrote: From: Pablo Gil Montaño [mailto:[EMAIL PROTECTED] As far as I know, tasks do not preempt other tasks, but events can always preempt tasks or events no matter whether they are async or not. Tasks are executed only when there is nothing

[Tinyos-help] low power listening in tinyos-2.x for CC2420 ?

2006-09-12 Thread Avinash Sridharan
Hi,I am working with the tmote sky platform and running tinyos-2.x (beta 2) on it. I wanted to check with the community if there is low power listening support existing for CC2420 based platforms in tinyos-2.x. Low power listening was introduced as BMAC by Joe Polaster in tinyos-1.x for the

RE: [Tinyos-help] --help on tinyviz

2006-09-12 Thread Ben Kelley
Check http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2004-July/004942.html You're going to need to edit the makefile and run make again in that directory. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Madhu MudigondaSent: Tuesday, September 12,

Re: [Tinyos-help] send packets using CSMA/CA

2006-09-12 Thread Tie Luo
Actually I read CC2420CsmaP.nc before I wrote the first email, its Send.send() just modifies some states and eventually calls CC2420Transmit.sendCCA( m_msg ), which is the function that I mentioned in my first email. I have tracked CC2420Transmit.sendCCA(). It basically calls an internal

Re: [Tinyos-help] send packets using CSMA/CA

2006-09-12 Thread Jonathan Hui
Take a look at CC2420CsmaP.nc again, but start at line 190. In summary, you stopped too early when tracing the code. After loading the txfifo, it grabs a backoff value from CC2420CsmaP (line 191) and backs off for that period of time. -- Jonathan W. Hui [EMAIL PROTECTED]