[Tinyos-help] oscilloscope failing to read successfully (mica z,
mts300, tinyOS 2.0)
Murray, Ben
Ben.Murray at thalesgroup.com
Wed Oct 3 04:21:22 PDT 2007
As an update to this, I tried using the basic provided application "Sense"
(cygwin\opt\tinyos-2.x\apps\Sense) with a slightly modified "read.read" line
as follows:
if (call Read.read() != SUCCESS) {
call Leds.led0Toggle();
}
And all I get is led0 toggling -- it never returned a result. We have tried
to trace it to work out where the error_t is not being set to SUCCESS, but
it gets rather confusing with all the arbiters and resource management
thrown in!
My current installed version is tinyOS 2.0.2 -- are there any known problems
or updates regarding the Read.read interface that could cause it to never
returned a SUCCESS.
Regards
Ben
> I am not quite sure what is going wrong but the oscilloscope
> application
> (unmodified) does not seem to be able to get a SUCCESS upon calling
> Read.read() and therefore simply sits there and blinks Led0. It fails
> whether or not I connect a sensor board -- any idea what
> might be causing
> the problem?
*******************************************************************************
Please consider the environment before printing this email.
*******************************************************************************
This email and any files transmitted with it are intended solely for the use of
the individual or entity to whom they are addressed and may not be divulged to
any third party without the express permission of the originator. Any views
expressed in this message are those of the individual sender, except where the
sender specifically states them to be the views of Thales Research & Technology
(UK) Limited.
*******************************************************************************
More information about the Tinyos-help
mailing list