[Tinyos-help] 答复: Tinyos-help Digest, Vol 56, Issue 89
handsomezhu
hongsong at ios.cn
Wed Dec 19 05:04:53 PST 2007
Did Tinyos support another storage chip, at45db041d ? It seems a totally
different chip with at45db041b which was out of date and atmel stopped it
from last year.
If someone has developed the driver of this chip in tinyos 2.02, it will be
a big help for me.
Handsomezhu
2007-12-19
-----邮件原件-----
发件人: tinyos-help-bounces at millennium.berkeley.edu
[mailto:tinyos-help-bounces at millennium.berkeley.edu] 代表
tinyos-help-request at millennium.berkeley.edu
发送时间: 2007年12月18日 21:25
收件人: tinyos-help at millennium.berkeley.edu
主题: Tinyos-help Digest, Vol 56, Issue 89
Send Tinyos-help mailing list submissions to
tinyos-help at millennium.berkeley.edu
To subscribe or unsubscribe via the World Wide Web, visit
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
or, via email, send a message with subject or body 'help' to
tinyos-help-request at millennium.berkeley.edu
You can reach the person managing the list at
tinyos-help-owner at millennium.berkeley.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Tinyos-help digest..."
Today's Topics:
1. Re: ??? Re: ??? Re: [Tinyos-help] How to get the Sample code
which is suitable to telosb platform? (Michael Schippling)
2. Re: .platform question (Vlado Handziski)
3. MessageSelection caused MessageInjector weird (Junyan Ma)
4. RE: [Tinyos-devel] Re: [Tinyos-help] .platform question
(Michiel Konstapel)
5. Float and double difference (Yong, Chee Yeew )
6. TestPrintf error (yvonne er)
7. MicaZ_XubunTOS2.0 (antonio gonga)
8. Re: Conversion formula of Accelerometer value.
(Andr? Miguel de Almeida Marr?o Rodrigues)
----------------------------------------------------------------------
Message: 1
Date: Mon, 17 Dec 2007 17:15:54 -0700
From: Michael Schippling <schip at santafe.edu>
Subject: Re: ??? Re: ??? Re: [Tinyos-help] How to get the Sample code
which is suitable to telosb platform?
Cc: tinyos-help <tinyos-help at millennium.berkeley.edu>
Message-ID: <4767113A.3010105 at santafe.edu>
Content-Type: text/plain; charset=GB2312
I'll be an Army of .666...
MS
Renee Azhen wrote:
> thanks to Michael's stikcing to help newer on Tinyos 1.x.
> if he turned to TS 2, I am afraid nobody will be on T1:)
>
> Cheers
> Sam
>
>
> */John Griessen <john at ecosensory.com>/* P45@#:
>
> Michael Schippling wrote:
> ..Folks seem to think
> > they are, so maybe your best approach is to just go
> > directly to T2 and don't pass Go.
> >
> > On the other hand, trying to get T1 apps working is
> > a good learning exercise...heh
> >
> > MS
>
> And Michael's about the only one left for help with T1, and now
> he seems to be wavering some... :-)
>
> John Griessen
> --
> Ecosensory
> tinyOS devel on: ubuntu Linux; tinyOS v2.0.2; telosb ecosens1
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
>
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
> ------------------------------------------------------------------------
> Ok3IN*7kP!8U!"3B?-8h!"UE<MVPH}4s5<Q]5DVw=GBp#?
<http://sostar.cn.yahoo.com>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew
------------------------------
Message: 2
Date: Tue, 18 Dec 2007 07:34:58 +0100
From: "Vlado Handziski" <handzisk at tkn.tu-berlin.de>
Subject: Re: [Tinyos-help] .platform question
To: "David Gay" <dgay42 at gmail.com>
Cc: tinyos-help <tinyos-help at millennium.berkeley.edu>
Message-ID:
<697986ec0712172234u5ddfb607kbb61ce4732481d89 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
On Dec 17, 2007 11:49 PM, David Gay <dgay42 at gmail.com> wrote:
> On Dec 17, 2007 2:16 PM, John Griessen <john at ecosensory.com> wrote:
> > What makes the .platform file necessary separately from the
> ecosens1.target
> > file? Could the ecosens1.target do it all somehow?
>
> The .platform file is for ncc (and mig and ncg). The .target file is
> something used by the Makefile-based build system for TinyOS, and
> contains things unrelated to what ncc needs/wants (e.g. information on
> how to reprogram motes). Ideally at least there should be no
> duplication between the information in a .target and .platform file...
>
> Merging the two files is, to me at least, a bad idea:
> - If all the .platform stuff moves into .target: you can't build
> anything without using the "magic" build system. This would be like if
> gcc wasn't usable without some magic very large Makefile.
> - If all the .target stuff moved into .platform: this would hardwire
> specific programmers, preferred compilation flags, etc into ncc.
>
>
Another reason why the merging would be a bad idea is the loss of the
.family / .platform hierarchy. The .family file can be used to separate
between the component set implementing the generic platform family features
and the ones for the specific platforms. At the moment, it looks like the
eyesIFX is the only place in the tree where this is used, but for me it
provides a nice hierarchical model of the platform organization at the ncc
level of abstraction.
Vlado
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/200712
18/08465a80/attachment-0001.html
------------------------------
Message: 3
Date: Tue, 18 Dec 2007 17:14:21 +0800
From: "Junyan Ma" <alexmajy at gmail.com>
Subject: [Tinyos-help] MessageSelection caused MessageInjector weird
To: tinyos-help at millennium.berkeley.edu
Message-ID:
<7448a1b20712180114t3c65acdmfea1a1f933ad16d4 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Hello everyone,
I found a little problem about
net.tinyos.message.MessageSelection.java ( 1.9 ) in line 198 of the
code.
196 if (isRelated(newClass, messageClass) &&
197 !alreadyHave(newClass)) {
198 Message m = (Message)newClass.newInstance();
199 vector.addElement(m);
200 }
We should catch the InstantiationException inside the if section
immediately or make sure newClass is not an abstract class. Otherwise,
findMessages method would stop finding the others Messages in the same
root of classpath. That causes somewhat lacking in the list of packet
showed in MessageInjector (Provided by MessageCenter). By adding the
following condition check, the MessageInjector got fixed.
(newClass.getModifiers() & java.lang.reflect.Modifier.ABSTRACT) == 0
--
Best regards,
Junyan Ma
School of Computer Science and Engineering
Northwestern Polytechnical University
Xi'an, Shaanxi, P.R. China
--
Best regards,
Junyan Ma
School of Computer Science and Engineering
Northwestern Polytechnical University
Xi'an, Shaanxi, P.R. China
Email: alexmajy at gmail.com
MSN: alexmajy at hotmail.com
Gtalk: alexmajy at gmail.com
------------------------------
Message: 4
Date: Tue, 18 Dec 2007 12:39:48 +0100
From: "Michiel Konstapel" <m.konstapel at sownet.nl>
Subject: RE: [Tinyos-devel] Re: [Tinyos-help] .platform question
To: "'TinyOS Development'" <tinyos-devel at millennium.berkeley.edu>,
"'tinyos-help'" <tinyos-help at millennium.berkeley.edu>
Message-ID: <057b01c8416a$b210bf80$16323e80$@konstapel at sownet.nl>
Content-Type: text/plain; charset="us-ascii"
> Btw, for .platform-in-contrib purposes, %P can be useful: it expands
> to the directory where the .platform was found... (and this will
> therefore work within contrib)
Very useful indeed, and I've just gone and put it to use in my .platform.
Michiel
------------------------------
Message: 5
Date: Tue, 18 Dec 2007 12:15:48 -0000
From: "Yong, Chee Yeew " <Chee-Yeew.Yong at thalesgroup.com>
Subject: [Tinyos-help] Float and double difference
To: tinyos-help <tinyos-help at millennium.berkeley.edu>
Message-ID:
<51BF576D5A02CC4CB2591F50994FD766029EB39B at nts013.uk.trt.thales>
Content-Type: text/plain; charset="iso-8859-1"
Hello,
Does anyone know the difference between float and double in tinyos-1.x?
I tried printing the size for each (using sizeof()), but I am getting 4
bytes for each. What's up?
Thank you.
Regards,
Chee
****************************************************************************
***
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.
****************************************************************************
***
------------------------------
Message: 6
Date: Tue, 18 Dec 2007 20:32:42 +0800
From: "yvonne er" <yvonneer85 at gmail.com>
Subject: [Tinyos-help] TestPrintf error
To: tinyos-help at millennium.berkeley.edu
Message-ID:
<1ac9610e0712180432n70292498ra9f40d91a2cd104f at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Dear everyone,
I tried running TestPrintf in cygwin, but i have the following error. Please
advise. Thank you.
In file included from /opt/tinyos-2.x/tos/lib/printf/PrintfC.nc:53,
from TestPrintfAppC.nc:42:
/opt/tinyos-2.x/tos/lib/printf/PrintfP.nc:51: warning: implicit declaration
of function `FDEV_SETUP_STREAM'
/opt/tinyos-2.x/tos/lib/printf/PrintfP.nc:51: `_FDEV_SETUP_WRITE' undeclared
here (not in a function)
/opt/tinyos-2.x/tos/lib/printf/PrintfP.nc:51: invalid initializer
/opt/tinyos-2.x/tos/lib/printf/PrintfP.nc:51: (near initialization for
`atm128_stdout')
Best regards,
Yvonne
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/200712
18/5ed6eed6/attachment.htm
------------------------------
Message: 7
Date: Tue, 18 Dec 2007 12:51:01 +0000
From: antonio gonga <ask25019fe at hotmail.com>
Subject: [Tinyos-help] MicaZ_XubunTOS2.0
To: TINYOS <tinyos-help at millennium.berkeley.edu>
Message-ID: <BAY127-W3003C4B3969B612B919BB8A630 at phx.gbl>
Content-Type: text/plain; charset="iso-8859-1"
heyl all,
I'm unable to install an application to a MicaZ mote. Whenever I do that I
get the following error:
"flash error " ... and address error , and so on
Do I have to install the drives for Mib520 on XubuuTOS2.0??
***************************
Gonga, Antonio Oliveira
e-mail: ask25019fe at hotmail.com
Cell Phone: +46762320854
***************************
_________________________________________________________________
Get the power of Windows + Web with the new Windows Live.
http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_122007
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/200712
18/c3544640/attachment.html
------------------------------
Message: 8
Date: Tue, 18 Dec 2007 13:21:04 -0000
From: Andr? Miguel de Almeida Marr?o Rodrigues
<andremiguelrodrigues at gmail.com>
Subject: Re: [Tinyos-help] Conversion formula of Accelerometer value.
To: "Motalib Rimon" <motalib.rimon at gmail.com>
Cc: tinyos-help at millennium.berkeley.edu
Message-ID: <011201c84178$d84dfdd0$9e02a8c0 at MAIO>
Content-Type: text/plain; charset="iso-8859-1"
Hi
In the accelorometer datasheet you you see a range of -1.5 g to 1.5g
so it's a 3g absolute range. On the other hand the adc should return an
unsigned value bettween 0 and 4095.
That explains the formula.
I don't use voltage reference so in my cause the voltage is VCC for the adc
and for the accelorometer.
And this is general translation code for linear sensors
Andri
PS: Would shoul post this kind of questions to the forum for multiple
resons.
hi Andre
As you send me the formula like value read / 4095 * 3 - 1.5, my question
is that 3 - 1.5 is it the range of refference voltage or siply 3 minus
1.5. like in case of acc we r taking 2.4 v as reference so in that case is
it value read / 4095 * 2.4
And one thing more, is this formula common for converting all channel
value. coz I just want to work with accelerometer.
I will be thanks full to you if you reply as soon as possible
regards
Motalib
On 12/13/07, Motalib Rimon <motalib.rimon at gmail.com> wrote:
Hi
the formula that u give is like that
(Value read/4096*3)-1.5
is it correct
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/200712
18/89ed94ad/attachment.htm
------------------------------
_______________________________________________
Tinyos-help mailing list
Tinyos-help at millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
End of Tinyos-help Digest, Vol 56, Issue 89
*******************************************
More information about the Tinyos-help
mailing list