Hi folks,
Thanks for the answer, but I'm sorry for myvague question.
Ravi, Inyourexcellentcase, the task is absolutely preempted.
But how about the unfinished task(actually I mean to thenever-finish task)?
My test is,
A. A never-finish task which is periodically posted
{
while(1) {
//do a
Hi,
I'm a little bit confused.
I'm wondering, but:
1) only async events can preempt tasks?
2) async events can preempt sync commands/events?
3) therefore, sync events can't peempt task or other sync commands/events,
is it?
4) but if a async function can preempt other async function where did
Is the event B is doing its job inside an ISR or a lower level event called from ISR ?? OR it is trying to post a task for its job??It seems your's is the second case.I suggest you to simply toggle an LED in your event.Chalermphol Thammapalerd [EMAIL PROTECTED] wrote: Hi folks, Thanks for the
Thanks to Phil Levis and Hui Kang (mailed me directly) for teaching me about this.
To recap, the other components (except the MCU) don't sleep even if there are no tasks to run. Hence, for example, if the radio is in RX mode, I believe an interrupt would wake up the MCU if any packet is received.
Hi everyoneWhen I try to compile the SurgeTelos on the Telos verB, I get the following error. How can I solve it?
# make telosbmkdir -p build/telosb compiling Surge to a telosb binaryncc -o build/telosb/main.exe -O -I%T/lib/MultiHopLQI -DSEND_QUEUE_SIZE=8 -DMHOP_LEDS -Wall -Wshadow
Hi all,
i'm upset about Tossim simulations. I have to use -rf=lossy option by
bash to modify the radius and distance factor directly on TinyViz interface.
But, at the same time, you lose packets on collisions cause of this lossy
option, so the obtained results aren't right (for example
Dear all:
i am building an application using mts420 gps receiver that keeps on
receiving gps packets till it gets a valid gps packet. As soon as the
valid packet is received, the application shud glow red light and stop
forever.
It seems that the gps does not work without a timer.
So i have
Hi all,
I'm trying to install TestMatchbox on mica2 sensor.
I do the following command:
make mica2 install.0 mib510,com1
but i resports this error: install ident_flags does not
specify a valid target.
I'm using TinyOs 1.1.7.
Can someone help me?
Thank you.
Hi all
I am doing a project which I need to localize the nodes (Micaz motes)
using RSSI. How can I define some nodes as beacons (the nodes which they
know their position) in such a way that mobile nodes communicate with
them and also with the gateway.
Is there any application similar or any code?
Hi,I have a question about the setNoise(node, mean, variance) in TOSSIM 2.x. I found that the larger the mean is, the more noisy it is. For example, setNoise(1, -100, 5.0) can make nodes receive packets, but setNoise(1, -10,
5.0) cannot. I was expecting to see that -100 would mean more noisy that
Title: Vanderbilt Acoustic localisation on Micaz
Hi,
Im trying (again) to get the acoustic localisation app from Vanderbilt to work on my micaz. Ive got it to compile (with some playing with the timers), but it doesnt seem to actually run. Can someone tell me all the changes I need to make
On Jul 3, 2006, at 11:45 PM, Frigging wrote:
Hi,
I'm a little bit confused.
I'm wondering, but:
1) only async events can preempt tasks?
2) async events can preempt sync commands/events?
3) therefore, sync events can't peempt task or other sync commands/
events,
is it?
4) but if a async
On Jul 4, 2006, at 1:43 AM, Munaretto, Daniel wrote:
Hi all,
i'm upset about Tossim simulations. I have to use -
rf=lossy option by bash to modify the radius and distance factor
directly on TinyViz interface.
But, at the same time, you lose packets on collisions cause of this
lossy
On Jul 4, 2006, at 7:42 AM, Liu Haibin wrote:
Hi,
I have a question about the setNoise(node, mean, variance) in
TOSSIM 2.x. I found that the larger the mean is, the more noisy it
is. For example, setNoise(1, -100, 5.0) can make nodes receive
packets, but setNoise(1, -10, 5.0) cannot. I
Hi All,In order to compile the latest c serial forwarder in tinyos-2.x what is the version of nesc(mig) that is required. I believe I have nesc 1.2.2 and hence this might be causing a problem with the compilation ?
Thanks and regards,Avinash-- Phd Dept. of Electrical EngineeringUniversity of
Hi,
I'm having trouble setting pin GI02 digital output to HI or LOW on tmote sky.
Are there any existing examples that use it?
Thank you for the help,
Natasha.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
On Jul 4, 2006, at 3:12 PM, Avinash Sridharan wrote:
Hi All,
In order to compile the latest c serial forwarder in tinyos-2.x
what is the version of nesc(mig) that is required. I believe I have
nesc 1.2.2 and hence this might be causing a problem with the
compilation ?
Can you send
The ncc --version output is :ncc: 1.2
nescc: 1.2.2
gcc: gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
On Jul 4, 2006, at 5:26 PM, Avinash Sridharan wrote:
The ncc --version output is :
ncc: 1.2
nescc: 1.2.2
gcc: gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO
warranty; not
Title: Sec:u Error Message
Hello All,
I am getting this error message and I have no idea why. I was wondering if anyone else has had this error and if so could let me know what I have done wrong.
MicroTimerM.nc:127: redefiniton of '__vector_12'
I can get the message from the UART serial port
now. How can set the AT series to get the AM message like the Java Listen?
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
On Jul 4, 2006, at 6:20 PM, Bessell, Travis wrote:
Hello All,
I am getting this error message and I have no idea why. I was
wondering if anyone else has had this error and if so could let me
know what I have done wrong.
MicroTimerM.nc:127: redefiniton of '__vector_12'
How to get Java Listen format message from the
ListenRaw format? For example
7e42 040108 01 047d 5d18 000100
87c17e --ListenRaw20 bytes
040108 01
047d
18000100 -- Listen 14
bytes
And there were some packets without the
tail 7e in raw message,
werethey bad packets?
The packets without the 7E at the end might have had carriage returns or
other line feed characters. This causes MATLAB to drop the line if you use
fscanf(). fread() should fix that.
This link should help you decipher the packets:
Ok thanks. Ill have a look into it some more.
It is a bit weird though as I never had this error previously and I have
been successfully using this code for a while now. I reformatted my
laptop a couple of days ago and copied the code back onto it and now
when I try to program some motes I get
25 matches
Mail list logo