[Tinyos-help] ech2o-10 moisture sensor
George Adamides
gmadamide at yahoo.com
Wed Mar 25 09:53:56 PDT 2009
Hello everybody
where can I find code to test the ECH2O-10 moisture sensor with Mica2 motes and MDA320 sensor board?
Is there a tutorial I can look into?
Thank you all
--
George Adamides
________________________________
From: Urs Hunkeler <uhu at gmx.ch>
To: George Adamides <gmadamide at yahoo.com>
Cc: tinyos-help at millennium.berkeley.edu
Sent: Wednesday, March 25, 2009 11:06:17 AM
Subject: Re: [Tinyos-help] make micaz instlal - why it won't work?
Hi George,
/dev/ttyUSB0 is probably ok, but let's first try to fix the problem with
compiling (the serial port is only needed once the application
compiles). So before you need to worry about the serial port, the
following command must run correctly:
make mica2
Cheers,
Urs
George Adamides wrote:
> Here is some information that might help
> I have this connected to a usb-serial port converter. So having the /dev/ttyUSB0 is that correct or should I have something else here?
>
> --
> George Adamides
>
>
>
>
> ________________________________
> From: Urs Hunkeler <uhu at gmx.ch>
> To: George Adamides <gmadamide at yahoo.com>
> Cc: tinyos-help at millennium.berkeley.edu
> Sent: Wednesday, March 25, 2009 10:36:49 AM
> Subject: Re: [Tinyos-help] make micaz instlal - why it won't work?
>
> Hi George,
>
> "reinstall" only works if the application has previously been compiled. "install", on the other hand, first compiles the application and then installs it.
>
> In your case it looks like the compiler is not working properly. Have you installed TinyOS using the rpm packages? You could try to reinstall/update nesc and all associated packages (avr-binutils, avr-gcc, avr-libc).
>
> Cheers,
> Urs
>
> George Adamides wrote:
>> Yes I have tried it. This is what I get;
>>
>> [root at localhost Sense]# make mica2 install mib510,/dev/ttyUSB0
>> mkdir -p build/mica2
>> compiling SenseAppC to a mica2 binary
>> ncc -o build/mica2/main.exe -Os -Wall -Wshadow -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000 -DIDENT_APPNAME=\"SenseAppC\" -DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"localhost.local\" -DIDENT_USERHASH=0x53b81074L -DIDENT_TIMESTAMP=0x49ca3c40L -DIDENT_UIDHASH=0x08e7e3cdL -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/mica2/wiring-check.xml SenseAppC.nc -lm /opt/tinyos-2.x/tos/platforms/mica2/chips/cc1000/HplCC1000SpiP.nc:62: internal compiler error: in start_function, at c-decl.c:6248
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <http://gcc.gnu.org/bugs.html> for instructions.
>> make: *** [exe0] Error 1
>>
>>
>> --
>> George Adamides
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090325/b27bb594/attachment.htm
More information about the Tinyos-help
mailing list