回复: Re: 回复: Re: [Tinyos-help] How to get the Sample code which is suitable to telosb platform?
Renee Azhen
azhen_renee at yahoo.com.cn
Sat Dec 15 22:39:09 PST 2007
yeah, when I am uploding the sapmle
/opt/tinyos-1.x/apps/SimpleCmd
I use this comman: make telosb install
and following info was output in the screenshot:
mkdir -p build/telosb
compiling SimpleCmd to a telosb binary
ncc -o build/telosb/main.exe -O -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-al
l -target=telosb -fnesc-cfile=build/telosb/app.c -board= -I%T/lib/Deluge -Wl,--s
ection-start=.text=0x4800,--defsym=_reset_vector__=0x4000 -DIDENT_PROGRAM_NAME=\
"SimpleCmd\" -DIDENT_USER_ID=\"ibm\" -DIDENT_HOSTNAME=\"ibm-vs2a1bhcns0\" -DIDEN
T_USER_HASH=0x245ca709L -DIDENT_UNIX_TIME=0x4764c622L -DIDENT_UID_HASH=0x629f1f3
3L -mdisable-hwmul -I/opt/tinyos-1.x/tos/lib/CC2420Radio SimpleCmd.nc -lm
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/system/PotC.nc:90: component HPLPotC n
ot found
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/system/PotC.nc:93: no match
make: *** [exe0] Error 1
I want to demo the SimpleCmd sample in the node, so do you know how to fix this problem??
thanks
Sam
Michael Schippling <schip at santafe.edu> 写道:
There is a dreaded DemoSensor impl in the T1 msp430 directory
so that should handle the demo apps which use such, like O'scope.
After that, it's probably an exercise for the reader of the
tutorial to swap out sensors.
Other than the specifics of sensing devices, which would
necessarily be application dependent anyway, TOS _should_
hide platform details (or else one of it's design criteria
is a moot point). Did you have specific errors with some
of the apps?
MS
Urs Hunkeler wrote:
> Hi Sam,
>
> You could try boomerang from the former Moteiv. Their Tmote Skys should
> be compatible with the telosb platform.
>
> http://docs.tinyos.net/index.php/Boomerang
>
> Cheers,
> Urs
>
>
> Renee Azhen schrieb:
>> dear friend:
>> yeah, but my sensor can not use the Photo mudule, it is only humidity senses.
>> many samples in /apps if installed into my sensor will occur an error. I found that most of the sample code is only suitable to mica/micasb, so do you know where I can get the corresponding code for my telosb node?
>>
>> thanks
>> Sam
>>
>> Urs Hunkeler 写道:
>> Hi Sam,
>>
>> The MicaZ uses the same radio chip (cc2420). Usually applications for
>> the MicaZ also work on the Telosb platforms. The main differences are
>> the sensors, but they should be relatively straight forward to change.
>> Of course the Telosb platform use a different microcontroller (msp430
>> instead of an ATmega), but most differences should be handled
>> transparently by the compiler.
>>
>> The examples in the tutorials should work. I have the impression that
>> there are more examples for Telosb in TinyOS 2.x.
>>
>> Cheers,
>> Urs
>>
>> Renee Azhen schrieb:
>>> dear all:
>>> My platform is a telosb node.
>>> Most Sample code in /opt/tinyos 1.x/apps/ is for mica&mica2, then can not work on telosb platform.
>>>
>>> so I want to get some sample application that are suitable to telosb platform, could you tell me where and how I can get them??(Website, link or ....)
>>>
>>> Thanks
>>> Sam
> _______________________________________________
> 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
_______________________________________________
Tinyos-help mailing list
Tinyos-help at millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
---------------------------------
天生购物狂,狂抢购物券,你还等什么!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20071216/be6c3340/attachment.html
More information about the Tinyos-help
mailing list