[Tinyos-help] RE: the TOS_MsgPtr var holds what

2006-09-26 Thread Pablo Gil Montaño
I don't understand very well what you mean when you say that "within which the receiveMsg() command is called...", but I think I can perhaps help you a little bit.When you want to receive something you just need to use the interface ReceiveMsg (GenericComm provides this interface, so just wire

RE: [Tinyos-help] Installation error, what to do?

2006-09-26 Thread Giri Baleri
You could add --nodeps flag to the command line to remove dependencies. i.e. use the command rpm --nodeps --force --ignoreos -Uvh tinyos-1.1.10... Giri From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sundaresh sundaralingam Sent:

[Tinyos-help] RE: regarding the crc

2006-09-26 Thread Pablo Gil Montaño
I think that when you receive a packet through ReceiveMsg or Receive interfaces you don't have to check the CRC, since it has already been checked and you just won't receive the packet if the CRC was incorrect.primalfear 69 [EMAIL PROTECTED] escribió: hello thanku very much..bcaz of ur

[Tinyos-help] make mica2 (error).

2006-09-26 Thread sundaresh sundaralingam
Hi all,I tried make mica2 in the Blink directory and i get this error:$ make mica2mkdir -p build/mica2 compiling Blink to a mica2 binary ncc -o build/mica2/main.exe -Os -I%T/../contrib/xbow/tos/platform/mica2 -finline-limit=10 -Wall -Wshadow -DDEF_TOS_AM_GROUP=125 -Wnesc-all -target=mica2

[Tinyos-help] MICAz VS TELOS

2006-09-26 Thread walid hamdi
Hi! Would you please tell me about the applications where Telos is better than Micaz and vice versa? If you would begin from scratch, would you buy Micaz motes or Telos? Why? ___

[Tinyos-help] ADC switch channel

2006-09-26 Thread lamiaimeil
Hi all, I have a 3-axis accelerometer mount on tmote sky. Every axis (x,y and z) is connected with a different pin of the expansion connector and I want to sample a channel and switch to the next (from x to y and from y to z) cyclical. I must do it at 6000Hz but I see that the ADC time for switch

[Tinyos-help] Re: MULTI CHANNEL DMA BASED DATA ACQUISITION

2006-09-26 Thread Joe Polastre
See /opt/moteiv/tos/sensorboards/invent/MicrophoneDriver*.nc -Joe On 9/25/06, Raj Kumar [EMAIL PROTECTED] wrote: Hi Joe I am working on an application wherein we are to acquire data from multichannels of accelerometer.After acquring say 500 points per channel at 2000 hz we are to store them

Re: [Tinyos-help] How to use ACK in TOSSIM

2006-09-26 Thread Douglas R Herbert
-- Message: 7 Date: Mon, 25 Sep 2006 20:20:30 -0700 From: Philip Levis [EMAIL PROTECTED] Subject: Re: [Tinyos-help] How to use ACK in TOSSIM To: Michael Schippling [EMAIL PROTECTED] Cc: tinyos-help_list tinyos-help@millennium.berkeley.edu Message-ID: [EMAIL

[Tinyos-help] Installation error, what to do?

2006-09-26 Thread sundaresh sundaralingam
Servey,Thanks for the speedy reply. :)I just downloaded nesC version 1.2.7a from sourceforge. Installation went on fine. But when I updated to the Jan2005 version it gave me the same error again.I tried updating to the package which you suggested and this is the error i received : error:

[Tinyos-help] Re: David! Please help with nesC

2006-09-26 Thread David Gay
On 9/26/06, Сергей Кушнир [EMAIL PROTECTED] wrote: Hello, David! I have made some changes to this patch: a little bit about configure.in and make some corrections in line numbers. Then I have copied my patch tinyos-binutils-2-16-1.diff in binutils2-16 tree and execute command: patch

[Tinyos-help] Serial In-Programming or Ethernet In-programming

2006-09-26 Thread walid hamdi
Could anybody tell me please the difference between MIB510 (serial) and MIB600 (Ethernet) in putting the application on the mote! Do we need the same commands like: Make micaz install .. or do they have different installing commands. Please Help!

Re: [Tinyos-help] Sleep mode,micaz,tinyos-1.x

2006-09-26 Thread Jacob Sorber
You can use timers with HPLPowerManagement, at least with the Mica2/Dot/Z motes. The only problem I have had is that occasionally they get lost, especially if the timer interval is short. My solution has been to always use repeating timers rather than one-shot timers. That way, if you lose one

[Tinyos-help] Ответ: Installation error , what to do?

2006-09-26 Thread Сергей Кушнир
Hi, Sundaresh! It means that version of nesC compiler in TinyOS 1.1.0 is older than 1.1.1. You have to install the newer version of it. The last version is 1.27 and you can get it here http://csl.stanford.edu/~pal/tinyos/nesc-1.2.7b-1.cygwin.i386.rpm But why do you install 1.1.10? Try better the

[Tinyos-help] Re: David! Please help with nesC

2006-09-26 Thread Сергей Кушнир
Hello, David! I have made some changes to this patch: a little bit about configure.in and make some corrections in line numbers. Then I have copied my patch tinyos-binutils-2-16-1.diff in binutils2-16 tree and execute command: patch -p1 tinyos-binutils2-16-1.diff I have saw these lines:

[Tinyos-help] how interrupts are handled in tinyos

2006-09-26 Thread gagan gaba
can somebody please guide me how interrupts are handled in tinyos 1.1.0 . i have gone through all the tiny os material available on net but couldnt able to find how interrupts are generated and handled and how tinyos get back to its last task. __ Do

[Tinyos-help] MSP430 BSL history

2006-09-26 Thread R. Steve McKown
Hello, I notice that many MSP430-based mote designs, like the Telos revisions, interject special 'handshaking' between the serial port DTR# signal and the MSP's RST# pin in BSL configurations. Is there any reason beyond prevention of unwanted uC resets by spurious toggling of DTR# that

Re: [Tinyos-help] FTSP on Tmotes

2006-09-26 Thread Cory Sharp
I would be very hesitant to say anything is an absolute guarantee. Brano from Vanderbilt identified a note in the MSP430 User's Guide regarding potentially corrupt readings of a timer based on a asynchronous clock source. This seemed like the likely source of errors in corrupt time values. The

Re: [Tinyos-help] MSP430 BSL history

2006-09-26 Thread Joe Polastre
Unwanted reset when inserting and removing from USB. -Joe On 9/26/06, R. Steve McKown [EMAIL PROTECTED] wrote: Hello, I notice that many MSP430-based mote designs, like the Telos revisions, interject special 'handshaking' between the serial port DTR# signal and the MSP's RST# pin in BSL

Re: [Tinyos-help] MSP430 BSL history

2006-09-26 Thread Cory Sharp
Also, on some platforms such as Linux, it would hold the mote in reset unless the serial port was actively open for read/write.CoryOn 9/26/06, Joe Polastre [EMAIL PROTECTED] wrote:Unwanted reset when inserting and removing from USB. -JoeOn 9/26/06, R. Steve McKown [EMAIL PROTECTED] wrote: Hello,

Re: [Tinyos-help] make mica2 (error).

2006-09-26 Thread Michael Schippling
One hopes that you have installed the whole TOS development environment... Try this in the bash shell: enfield:schip [206] type ncc ncc is /usr/local/bin/ncc You may not have that directory in your PATH. MS sundaresh sundaralingam wrote: Hi all, I tried make mica2 in the Blink

Re: [Tinyos-help] how interrupts are handled in tinyos

2006-09-26 Thread Michael Schippling
There was just a huge discussion of interrupts and async functions on this list, perhaps even this month. This is a good search start: http://www.moteiv.com/community/TinyOS_Information If you want the actual TOS code that wraps ints you'll have to go search _every_ source file, just like

Re: [Tinyos-help] MSP430 BSL history

2006-09-26 Thread R. Steve McKown
On Tuesday 26 September 2006 11:20 am, Joe Polastre wrote: Unwanted reset when inserting and removing from USB. On Tuesday 26 September 2006 11:28 am, Cory Sharp wrote: Also, on some platforms such as Linux, it would hold the mote in reset unless the serial port was actively open for

Re: [Tinyos-help] ditto is not running

2006-09-26 Thread Cory Sharp
Bandu,I'm not sure what's going on. Can you try compiling Ditto from the application directory in /opt/moteiv/apps/invent/Ditto and installing again?Let me know if that helps, thanks,Cory On 9/23/06, bandu khote [EMAIL PROTECTED] wrote: After rebooting to moteiv application Ditto both the tmote

[Tinyos-help] micaz support

2006-09-26 Thread jose m
Hi,I'm using tinyos 1.1.0-1is and doesn't have micaz support. Wich version has it?José Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). Probalo ya! ___ Tinyos-help mailing

[Tinyos-help] Question about tasks in Tinyos 1.x

2006-09-26 Thread KANG HUI
Dr. Levis: If a command has the following code command result_t A.p(){ ... post TaskB(); ... } If some module call A.p(), the execution sequence is : first A.p() is put into the task queue and runs to completion, and then TaskB will be executed until a later time. And the return value of

[Tinyos-help] Problems Compiling on Fedora Core 4 Related to offsetof()

2006-09-26 Thread Jason Hemann
Dear TinyOSers, I am trying to compile TinyOS 1.1.0 on Fedora Core 4, and ran into a problem that many others have had relating to offsetof(). When I try to compile, I get 4 error messages of the sort /opt/tinyos-1.x/tos/types/AM.h:157: parse error before `struct' As I understand the problem,

Re: [Tinyos-help] Problems Compiling on Fedora Core 4 Related to offsetof()

2006-09-26 Thread Chad Metcalf
Patch files are applied thusly: patch -p0 tinyos.patch You need to be in the top level directory and it assumes the patch was made there. Otherwise you might need to alter the -p option. I seem to recall that patch was a -p1 but I don't recall. But you might be able to use a newer version of

Re: [Tinyos-help] Question about tasks in Tinyos 1.x

2006-09-26 Thread Cory Sharp
Kang,Please search the TinyOS Help archives. It seems like we discuss this at length at least once a month. A handy form for search ing is here: http://www.moteiv.com/community/TinyOS_InformationShort answer: commands and events are just like C functions, they're not tasks.CoryOn 9/26/06, KANG

RE: [Tinyos-help] make mica2 (error).

2006-09-26 Thread Bryn Smith
That is an installation error. It means that it cannot find the nesC for TinyOS compiler called ncc. What version are you running? What system are you running on? Linux or Cygwin? Have you installed from source, rpms or cvs? If you provide this information it may help. You may also want to go

RE: [Tinyos-help] Serial In-Programming or Ethernet In-programming

2006-09-26 Thread Bryn Smith
I don't know anything about the MIB600, you might have to have a look on the crossbow website (www.xbow.com). For the MIB510 you need to type something like: make micaz install mib510,device Where device is the serial port, eg /dev/ttyS0 for COM1, /dev/ttyS1 for COM2 (note the S is

Re: [Tinyos-help] Question about tasks in Tinyos 1.x

2006-09-26 Thread KANG HUI
Hi, Cory, Thank you for you reply. But on the mailing list, most of them deal with interrupt and event handler. When I concern about is the command function and task. If as you said command function is like C function and returns immediately, why does nesC need asyn command? Asynchrous command

Re: [Tinyos-help] FTSP on Tmotes

2006-09-26 Thread harish prabhu
Hi Cory, I was continuing my experiment and I do observe that there are bogus timestamps despite the fix and as you mention, they are less frequent than before. I understand that the problem arises because of trying to read the timer (based on an async clock source) when it is running.TimerM