[Tinyos-help] Time scale in TOSSIM2

2008-04-07 Thread Mustafa Hammad
Hi, In TOSSIM1.0 we were able to set time scale by -l= flag. This will run the sim at times real time. Can any one tell me how we can do this in TOSSIM2 please? Thanks in advance Mustafa - You rock. That's why Blockbuster's offering yo

[Tinyos-help] Re: TOSSIM 2.x timer firing problem!

2008-04-06 Thread Mustafa Hammad
Thank you for this information. So, do you have any suggestions to our profiling function such that we can get more accurate time measurement? Thanks again, Mustafa Philip Levis <[EMAIL PROTECTED]> wrote: On Apr 6, 2008, at 7:58 PM, Mustafa Hammad wrote: > I am measu

[Tinyos-help] Re: TOSSIM 2.x timer firing problem!

2008-04-06 Thread Mustafa Hammad
clock_gettime(CLOCK_PROCESS_CPUTIME_ID,&tp); incallIndex[RetAddressCount] = i; incallSeconds[RetAddressCount] = tp.tv_sec; incallNanosecs[RetAddressCount] = tp.tv_nsec; Mustafa Philip Levis <[EMAIL PROTECTED]> wrote: On Apr 6, 2008, at 6:25 PM, Mustafa Hammad wrote: > I am

[Tinyos-help] Re: TOSSIM 2.x timer firing problem!

2008-04-06 Thread Mustafa Hammad
I am measuring the simulator time which is not matching the real word time. Is this different caused by a problem in TOSSIM? Philip Levis <[EMAIL PROTECTED]> wrote: On Apr 6, 2008, at 6:14 PM, Mustafa Hammad wrote: > I used instrumentation. I can add a profiling function at the &g

[Tinyos-help] Re: TOSSIM 2.x timer firing problem!

2008-04-06 Thread Mustafa Hammad
average time interval between events. (e.g. every 0.023 s) Philip Levis <[EMAIL PROTECTED]> wrote: On Apr 6, 2008, at 5:41 PM, Mustafa Hammad wrote: > Dear Philip, > > Thank you for your replay. > > In Blink application under app/ directory: > Timer0 fire every 0.023 s (at

[Tinyos-help] Re: TOSSIM 2.x timer firing problem!

2008-04-06 Thread Mustafa Hammad
, Mustafa Philip Levis <[EMAIL PROTECTED]> wrote: =On Apr 6, 2008, at 5:08 PM, Mustafa Hammad wrote: > Hi all, > > I have noticed that, in TOSSIM execution, the firing interval for a > timer is different from what it is set for. > > Has anybody experienced the same proble

[Tinyos-help] TOSSIM 2.x timer firing problem!

2008-04-06 Thread Mustafa Hammad
Hi all, I have noticed that, in TOSSIM execution, the firing interval for a timer is different from what it is set for. Has anybody experienced the same problem? Any commend will be appreciated. Thanks, Mustafa - You rock. That's why

Re: [Tinyos-help] TOSSIM2 question (important)

2008-04-05 Thread Mustafa Hammad
m my past experience with TOSSIM, simulation time doesn't seem to equal actual time. I had timers that fired within less than 100ms when I had set them to fire every second. -Brian On Sat, Apr 5, 2008 at 2:45 PM, Mustafa Hammad <[EMAIL PROTECTED]> wrote: I am using xubuntu linux. Is t

Re: [Tinyos-help] TOSSIM2 question (important)

2008-04-05 Thread Mustafa Hammad
8 at 6:53 AM, Mustafa Hammad <[EMAIL PROTECTED]> wrote: Hi, I compiled the Blink application for TOSSIM frame work. when I run the simulator with variables.py I noticed that timer0 fired every 25 ms. But the code indicate that timer0 should fired every 250 ms. The same thing happened for

[Tinyos-help] TOSSIM2 question (important)

2008-04-04 Thread Mustafa Hammad
Hi, I compiled the Blink application for TOSSIM frame work. when I run the simulator with variables.py I noticed that timer0 fired every 25 ms. But the code indicate that timer0 should fired every 250 ms. The same thing happened for other timers. Can any one tell me why this happened please? T

[Tinyos-help] SendDone() in TOSSIM problem!

2008-04-01 Thread Mustafa Hammad
Hi I am using Tinyos 2.x under xubuntu. I noticed that SendDone() event does not fired at all in TOSSIM. I tried so many examples and scripts as in the tutorial but it did not fire. Also, I sow some people faced the same problem in the web. Is this a bug in the TOSSIM or we miss something?

[Tinyos-help] Read from external flash with GPS problem!

2008-02-13 Thread Mustafa Hammad
Hi, I used ReadData/WriteData interfaces to write and read data from the external flash memory in Tinyos1.x. When I added the GPS related components, I get only F’s or 0’s from the external flash!!. Can anyone help me? Regards, Mustafa Hammad

[Tinyos-help] EasyCollection (lesson 12) problem

2008-01-20 Thread Mustafa Hammad
Pleas can any one help me? Thanks, Mustafa Hammad New Mexico State University - Looking for last minute shopping deals? Find them fast with Yahoo! Search.___ Tinyos-help mailing list Tinyos-help@mil

[Tinyos-help] Crossbow sensor board in TinyOS2.x?

2007-12-10 Thread Mustafa Hammad
Hi, Any one can tell me how I can use Crossbow sensors board (like mts400, mts420, ...) in TinyOS2.x? unlike TinyOS1.x there is no Xbow board folder in TinyOS2.x! Thanks, Mustafa - Be a better friend, newshound, and know-it-all with Yahoo! Mo

[Tinyos-help] mts400/420 In TinyOS2.x!!

2007-11-30 Thread Mustafa Hammad
Hi everyone. Can any one tell me how I can use mts400/420 sensorboard in TinyOS2.x? Any one has an example code? Thanks, Mustafa - Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.

[Tinyos-help] Permanent Data Storage!!

2007-11-28 Thread Mustafa Hammad
Dear all, I want to setup a program that sense and store in the mote’s flash memory. Then, return this data in order to send it later. Any one can help me? Any one has such similar cod? Lesson 7 in the tutorial is not helpful. Thanks, Mustafa --

[Tinyos-help] How I can run TOSIM in TinyOs2?

2007-11-05 Thread Mustafa Hammad
Hi, I install tinyOs2 under XubunTOS. In TOSIM, after I type (make micaz sim), what I have to do to run the simulator? Regards, Mustafa __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yah

[Tinyos-help] Problem In Installing TinyOs1.1 in Linux!

2007-11-04 Thread Mustafa Hammad
This maybe more readable: Hi, I am new in TinyOs. I have Install TinyOs 1.x in Linux openSUSE, acording to the following steps: http://www.tinyos.net/tinyos-1.x/doc/install.html But I have the following error when I perform the last step in the installation: rpm -ivh --force --prefix /h

[Tinyos-help] Problem In Installing TinyOs1.1 in Linux

2007-11-04 Thread Mustafa Hammad
Hi, I am new in TinyOs. I have Install TinyOs 1.x in Linux openSUSE, acording to the following steps: http://www.tinyos.net/tinyos-1.x/doc/install.html But I have the following error when I perform the last step in the installation: rpm -ivh --force --prefix /home/mhammad/tiny