[Tinyos-help] Re: help using MSP430Adc12MultiChannel

2007-09-04 Thread Jan Hauer
On 9/3/07, John Griessen [EMAIL PROTECTED] wrote:
 I made a component that reads three channels, and I can't get configure
 to return SUCCESS yet.  If you would take a look and see if youspot
 anything, or suggest a debugging method, I would appreciate it.

In Boot.booted() you call configure, but you need to reserve access to
the ADC before, via a to call Resource.request(). The chain of
commands (where * means zero or more times) is:

Resource.request() - configure() - ( getData() - dataReady() )* -
Resource.release()

Jan


 For debugging, I just turn on leds to see what places the program runs.

 There is a module for a sensorboard that just is a wrapper for
 MSP430Adc12MultiChannel without using a generic module.  I use it
 in a sensorboard dir called ch12Adc containing:
 http://www.ecosensory.com/ch12Adc.h
 http://www.ecosensory.com/ch12AdcP.nc
 http://www.ecosensory.com/ch12AdcC.nc

 I run a test program from a dir called Testch12Adc containing:
 http://www.ecosensory.com/Testch12AdcC.nc
 http://www.ecosensory.com/Testch12AdcP.nc
 Makefile  with  COMPONENT=Testch12AdcC  SENSORBOARD=ch12Adc

 Testch12AdcP.nc has a Boot.booted event that does
 AdcConfigure.getConfiguration()
 then ch12Adc.configure(defaultconfig, memctl, numMemctl, buffer,
 bufferlen, jiffies)

 and in the module for  Msp430Adc12MultiChannel as ch12Adc
 I turn on leds at the getConfiguration() command and at the
 start of ch12Adc.configure, but the program does not go to
 the line where that call == SUCCESS.

 Any ideas for simplifying the configure some way until it works
 or better debug methods will be appreciated.  It is very close to the
 partial code sent by Nicolas Esteves 3aug07


 John Griessen



 --
 Ecosensory
 tinyOS devel on:  ubuntu Linux;   tinyOS v2.0.2;   telosb ecosens1



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Component for USB

2007-09-04 Thread lamiaimeil
Hi all,
can someone tell me which component I may use to send
and receive messages using usb connector of tmote sky?
Now I'm using HPLUARTC component but seems not work.
Thanks in advance.


  ___ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Junk data with Adc on telosb

2007-09-04 Thread Nicolas Esteves

Hi Jan,
Did you have the time to check my configuration in my last mail?
I still haven't found a way to resolve the problem with my adc sampling..

Thanks again
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Junk data with Adc on telosb

2007-09-04 Thread Jan Hauer
Can you try this (create a new app):
- instantiate Msp430Adc12ClientAutoRVGC() and wire you application module to it
- in your app module where you provide AdcConfigure, return a pointer
to the 1st channel configuration (with VREFplus_AVss) which you
defined as a const module variable
- in Boot.booted() you call Resource.request()
- in Resource.granted() you call Msp430Adc12MultiChannel.configure()
and then Msp430Adc12MultiChannel.getData()
- check all return values

If you still get strange values try to use internal ADC channels
instead of your external sensors, e.g. temperature/voltage. The
configurations are in   tinyos-2.x/tos/chips/msp430/sensors.

Jan

On 9/4/07, Nicolas Esteves [EMAIL PROTECTED] wrote:
 Hi Jan,
 Did you have the time to check my configuration in my last mail?
 I still haven't found a way to resolve the problem with my adc sampling..

 Thanks again



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Component for USB

2007-09-04 Thread Joe Polastre
Send to TOS_UART_ADDR in TinyOS 1.x/Boomerang using the SendMsg interface.

In TinyOS 2.x, use SerialActiveMessageC.

-Joe

On 9/4/07, lamiaimeil [EMAIL PROTECTED] wrote:
 Hi all,
 can someone tell me which component I may use to send
 and receive messages using usb connector of tmote sky?
 Now I'm using HPLUARTC component but seems not work.
 Thanks in advance.


   ___
 L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
 http://it.docs.yahoo.com/nowyoucan.html
 ___
 Tinyos-help mailing list
 Tinyos-help@Millennium.Berkeley.EDU
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Difficulty with Stanford repo?

2007-09-04 Thread Razvan Musaloiu-E.

Hi!

On Fri, 31 Aug 2007, Andrew wrote:

Hello. I am attempting to install the TinyOS source tree and toolchain from 
the Stanford ubuntu repository. The packages show up fine (in synaptic), but 
it seems that one package cannot be located: msp430tools-gcc . There appears 
to be an available package called msp430tools-gcc-tinyos, which I would 
assume is the same thing, but with a slightly modified name?

Is this the case, and if so, is there a workaround?


Are you using the feisty or edgy? For feisty the package name is 
msp430tools-gcc-tinyos and I think msp430tools-gcc is for edgy.


--
Razvan ME
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] oscilloscopeRF

2007-09-04 Thread jean-yves . barrau
Hello,

I have 2 mica2 platforms and mib520 programmer board. The purpose of my
application rather simple: I want to build a similar application to
OscilloscopeRF but with a higher conversion rate (250Hz from a single
sensor). (If it's possible it would be usefull to get the 500Hz rate. )

The problem I have is following:
-I have reduced the acquisition timer to 10ms.
-I have a waveform generator instead of the real sensor.
= on the Oscilloscope java application, I recieve correct datas from 50Hz
down to 15Hz but from 15Hz to 0,2Hz(limit of my application) I have more
and more errors. I call errors data missing for instance I get only the
10% top of the sinewave at 0.2Hz?

With the Osciloscope project (rather similar to oscilloscopeRF) It works
fine.

I don't understand where the bug is. If you have any idea it would be great

Thanks a lot
Jyves


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] testnetwork application

2007-09-04 Thread Arpan Solanki
I just installed the testnetwork application on 3 motes(mica2).
Base station also has the same code with mote id 0.

I am using the Listen tool to read the data on the pc.

For every packet, i get 22 bytes only.
I think i should receive 32 bytes.

So where are the rest 10 bytes going.

I have not modified the testnetwork application, and its not working.

Regards,
Arpan.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] FW: Lesson 10 tinyOS-2.x: problem with make yamp reinstall

2007-09-04 Thread sergio mena doce




From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Lesson 10 tinyOS-2.x: problem with make yamp reinstall
Date: Tue, 4 Sep 2007 17:28:25 +0200







Hello again.

I'm working with tinyOS-2.x (beta) under Linux Ubuntu 7.04. I'm doing lessons 
for tinyOS-2.x and I've a new problem at the end of lesson 10 ( Platforms ). 
I've followed steps like tells lesson 10. I've created virtual platform called 
yamp (certainly, lesson 10 doesn't tell we need to create a file in 
/tos/platforms/yamp called platform.h that it's void, else compiler complains; 
does anybody to clarify this issue?). At the end of the lesson I've compiled 
Blink application for yamp platform by typing make  yamp at the Blink 
directory. Previously I've tested the mote port by typing motelist:

[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$ motelist
Reference  Device   Description
--  -
XBP1AQ9X   /dev/ttyUSB0 XBOW Crossbow Telos Rev.B

Then, I've tried to install into the mote telosb:


[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$ make yamp install bsl,/dev/ttyUSB0
mkdir -p build/yamp
compiling BlinkAppC to a yamp binary
ncc -o build/yamp/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d 
-Wnesc-all -target=yamp -fnesc-cfile=build/yamp/app.c -board=   BlinkAppC.nc 
-lm 
compiled BlinkAppC to build/yamp/main.exe
2418 bytes in ROM
  55 bytes in RAM
msp430-objcopy --output-target=ihex build/yamp/main.exe build/yamp/main.ihex
writing TOS image
cp build/yamp/main.ihex build/yamp/main.ihex.out
installing yamp binary using bsl
msp430-bsl --telos -c /dev/ttyUSB0 -r -e -I -p build/yamp/main.ihex.out
Traceback (most recent call last):
  File /opt/msp430/bin/msp430-bsl, line 12, in module
from msp430.util import curry, hexdump, makeihex
ImportError: No module named msp430.util
make: *** [program] Error 1

As you can see, we have an error No module named msp430.util. I don't 
understand his meaning. How can I solve this error?

I would be very grateful with any response.

Thanks for reading.


Consigue el nuevo Windows Live Messenger Pruébalo

_
Llama a tus amigos de PC a PC: ¡Es GRATIS!
http://get.live.com/messenger/overview___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Lesson 10 tinyOS-2.x: problem with make yamp reinstall

2007-09-04 Thread sergio mena doce
























Hello again.

I'm working with tinyOS-2.x (beta) under Linux Ubuntu 7.04. I'm doing lessons 
for tinyOS-2.x and I've a new problem at the end of lesson 10 ( Platforms ). 
I've followed steps like tells lesson 10. I've created virtual platform called 
yamp (certainly, lesson 10 doesn't tell we need to create a file in 
/tos/platforms/yamp called platform.h that it's void, else compiler complains; 
does anybody to clarify this issue?). At the end of the lesson I've compiled 
Blink application for yamp platform by typing make  yamp at the Blink 
directory. Previously I've tested the mote port by typing motelist:

[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$ motelist
Reference  Device   Description
--  -
XBP1AQ9X   /dev/ttyUSB0 XBOW Crossbow Telos Rev.B

Then, I've tried to install into the mote telosb:


[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$ make yamp install bsl,/dev/ttyUSB0
mkdir -p build/yamp
compiling BlinkAppC to a yamp binary
ncc -o build/yamp/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d 
-Wnesc-all -target=yamp -fnesc-cfile=build/yamp/app.c -board=   BlinkAppC.nc 
-lm 
compiled BlinkAppC to build/yamp/main.exe
2418 bytes in ROM
  55 bytes in RAM
msp430-objcopy --output-target=ihex build/yamp/main.exe build/yamp/main.ihex
writing TOS image
cp build/yamp/main.ihex build/yamp/main.ihex.out
installing yamp binary using bsl
msp430-bsl --telos -c /dev/ttyUSB0 -r -e -I -p build/yamp/main.ihex.out
Traceback (most recent call last):
  File /opt/msp430/bin/msp430-bsl, line 12, in module
from msp430.util import curry, hexdump, makeihex
ImportError: No module named msp430.util
make: *** [program] Error 1

As you can see, we have an error No module named msp430.util. I don't 
understand his meaning. How can I solve this error?

I would be very grateful with any response.

Thanks for reading.


Consigue el nuevo Windows Live Messenger Pruébalo

Llama a tus amigos de PC a PC: ¡Es GRATIS! Pruébalo

_
Consigue el nuevo Windows Live Messenger
http://get.live.com/messenger/overview___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Lesson 10: trouble with Blink yamp application

2007-09-04 Thread Jose Lopez
Hello again.

I'm working with tinyOS-2.x (beta) under Linux Ubuntu 7.04. I'm doing
lessons for tinyOS-2.x and I've a new problem at the end of lesson 10 (
Platforms ). I've followed steps like tells lesson 10. I've created virtual
platform called yamp (certainly, lesson 10 doesn't tell we need to create a
file in /tos/platforms/yamp called platform.h that it's void, else compiler
complains; does anybody to clarify this issue?). At the end of the lesson
I've compiled Blink application for yamp platform by typing make  yamp at
the Blink directory. Previously I've tested the mote port by typing
motelist:

[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$ motelist
Reference  Device   Description
--  -
XBP1AQ9X   /dev/ttyUSB0 XBOW Crossbow Telos Rev.B

Then, I've tried to install into the mote telosb:


[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$ make yamp install
bsl,/dev/ttyUSB0
mkdir -p build/yamp
compiling BlinkAppC to a yamp binary
ncc -o build/yamp/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d
-Wnesc-all -target=yamp -fnesc-cfile=build/yamp/app.c -board=   BlinkAppC.nc-lm
compiled BlinkAppC to build/yamp/main.exe
2418 bytes in ROM
  55 bytes in RAM
msp430-objcopy --output-target=ihex build/yamp/main.exe build/yamp/main.ihex
writing TOS image
cp build/yamp/main.ihex build/yamp/main.ihex.out
installing yamp binary using bsl
msp430-bsl --telos -c /dev/ttyUSB0 -r -e -I -p build/yamp/main.ihex.out
Traceback (most recent call last):
  File /opt/msp430/bin/msp430-bsl, line 12, in module
from msp430.util import curry, hexdump, makeihex
ImportError: No module named msp430.util
make: *** [program] Error 1

As you can see, we have an error No module named msp430.util. I don't
understand his meaning. How can I solve this error?

I would be very grateful with any response.

Thanks for reading.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] update of libc for avr break compile?

2007-09-04 Thread KURT PETERS
Has anyone noticed that the new lib for the avr breaks their tinyos make 
system?  I allowed Suse to autoupdate using YAST for the newer package and 
nothing would compile; I had to do a new install reverting back to the older 
version.
This is the message the RPM installer gave (without using force) when I 
tried to revert:


package avr-libc-1.4.2-10 (which is newer than avr-libc-1.2.3-1) is already 
installed


Just wanted to let everyone know... Please let me know if you've had the 
same problem.  If someone might want to check for themselves, that would be 
nice.


The YAST Changelog is:

avr-libc-1.4.2-10 - The C Runtime Library for AVR Microcontrollers



Regards,
Kurt


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] RE: CC2420 lpl

2007-09-04 Thread David Moss
Hi Tony, 

There is a reason behind this, but you can adjust it to meet your
application's needs.  

The radio shares the SPI bus with the flash, so applications that access
flash alongside radio will contend for the SPI bus.  In earlier versions,
the Tx node would release the SPI bus between the transmission and listening
for an ack, which would allow the flash to acquire the SPI bus in between.
This meant the Tx node wouldn't have access to the SPI bus to hear the ack.

Because either the transmitter *or* the receiver could have flash accessing
the SPI bus causing the acknowledgement to be delayed, the solution came in
two parts: 1) don't let the transmitter release the SPI bus when it's
waiting for an acknowledgement, and 2) extend the ack wait period to handle
the case where the receiver can't acquire the SPI bus in time.

If your application does not use the SPI bus (or any other peripheral on
SPI0) then you can safely lower the CC2420_ACK_WAIT_DELAY value and maintain
the same acknowledgement reception reliability.

-David




-Original Message-
From: Tony O'Donovan [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 03, 2007 4:07 AM
To: David Moss
Subject: Re: CC2420 lpl

Hi David,

Sorry for annoying you with more questions.

In the tinyos 2.02 version of the cc2420 libs you've changed 
CC2420_ACK_WAIT_DELAY from 128 jiffies to 256 jiffies, nearly halving 
the possible send rate when using acks. I was wondering what the reason 
behind this is.

Thanks
Tony 



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] FW: [Tinyos-devel] Security in TinyOs

2007-09-04 Thread Yong, Chee Yeew
oops. Posted to -users instead of -help.

C

 Sent: 04 September 2007 14:04
 To: '[EMAIL PROTECTED]'
 Cc: '[EMAIL PROTECTED]'
 Subject: [Tinyos-devel] Security in TinyOs
 
 
 Hello,
 
 First of all, apologies for cross-posting. Just want to make 
 sure I get to
 the developers and users of TinyOS.
 
 We are interested in using TinySec for our security work, but 
 noticed that
 it has not been updated in a while. I was wondering if there 
 are any plans
 to:
 1) Update TinySec to a later version of TinyOS-1.x, or
 2) Port TinySec to TinyOS-2.0, or
 3) Develop secure communications for TinyOS-2.0 (to replace TinySec)?
 
 Thanks in advance.
 
 Regards,
 C

***
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.
***

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Good choice of linux for Dell latitude 600 and tinyos2

2007-09-04 Thread hamsa jega
I am trying to start work on tinyos2 and have a dell latitude 600 laptop
with me. I tried installing fedora core 6 and tinyos2 and had problems with
my monitor display, so switched to fc5 and then when I tried installing the
drivers for mib520 and mib600 I faced a trail of required dependancies that
never seemed to end. Can anyone suggest which version of fc I should start
with. Would appreciate any guidance.

Thanks
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Lesson 10: trouble with Blink yamp application

2007-09-04 Thread Kevin Klues
You are missing some python modules that msp430-bsl depends on.

Kevin

On 9/4/07, Jose Lopez [EMAIL PROTECTED] wrote:


 Hello again.

  I'm working with tinyOS-2.x (beta) under Linux Ubuntu 7.04. I'm doing
 lessons for tinyOS-2.x and I've a new problem at the end of lesson 10 (
 Platforms ). I've followed steps like tells lesson 10. I've created virtual
 platform called yamp (certainly, lesson 10 doesn't tell we need to create a
 file in /tos/platforms/yamp called platform.h that it's void, else compiler
 complains; does anybody to clarify this issue?). At the end of the lesson
 I've compiled Blink application for yamp platform by typing make  yamp at
 the Blink directory. Previously I've tested the mote port by typing
 motelist:

  [EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$ motelist
  Reference  Device   Description
  -- 
 -
  XBP1AQ9X   /dev/ttyUSB0 XBOW Crossbow Telos Rev.B

  Then, I've tried to install into the mote telosb:


  [EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$ make yamp install
 bsl,/dev/ttyUSB0
  mkdir -p build/yamp
  compiling BlinkAppC to a yamp binary
  ncc -o build/yamp/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d
 -Wnesc-all -target=yamp -fnesc-cfile=build/yamp/app.c -board=   BlinkAppC.nc
 -lm
  compiled BlinkAppC to build/yamp/main.exe
  2418 bytes in ROM
55 bytes in RAM
  msp430-objcopy --output-target=ihex build/yamp/main.exe
 build/yamp/main.ihex
  writing TOS image
  cp build/yamp/main.ihex build/yamp/main.ihex.out
  installing yamp binary using bsl
  msp430-bsl --telos -c /dev/ttyUSB0 -r -e -I -p build/yamp/main.ihex.out
  Traceback (most recent call last):
File /opt/msp430/bin/msp430-bsl, line 12, in module
  from msp430.util import curry, hexdump, makeihex
  ImportError: No module named msp430.util
  make: *** [program] Error 1

  As you can see, we have an error No module named msp430.util. I don't
 understand his meaning. How can I solve this error?

  I would be very grateful with any response.

  Thanks for reading.
 ___
 Tinyos-help mailing list
 Tinyos-help@Millennium.Berkeley.EDU
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



-- 
~Kevin
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Send different size messages using 6lowpan

2007-09-04 Thread Pedro Pinto
Hi,

I'm using TinyOs2 and micaz sensors. I have 6lowpan working with sensors.

Now, I need do some tests to evaluate the performance. I need send from one
micaz  to micaz root, messages with different sizes (8 bytes, 16 bytes,
...), using 6lowpan.

Anyone can help me?

Thanks
Pedro Pinto
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] msp430-gcc error

2007-09-04 Thread Branko Kerkez
Hello,

I just installed Ubuntu and downloaded the tinyos-2.x repositries. I
followed the instructions
http://www.tinyos.net/scoop/story/2007/8/15/234856/990 and everything went
down without a glitch. I even set up the main environmental variables and
ran the environmental variables script to check if everything was ok.

This is what happens when i try to compile the Blink app:
---
sudo make telosb
mkdir -p build/telosb
compiling BlinkAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/app.c -board= -DIDENT_PROGRAM_NAME=\BlinkAppC\
-DIDENT_USER_ID=\root\ -DIDENT_HOSTNAME=\laptop\
-DIDENT_USER_HASH=0xc9ccfb7fL -DIDENT_UNIX_TIME=0x46ddbb7dL
-DIDENT_UID_HASH=0x849912d3L  BlinkAppC.nc -lm
Couldn't execute msp430-gcc
make: *** [exe0] Error 2
-

My msp430 directory is located at /opt/msp430
I tried changing the $MSPGCCROOT directory to both /opt/msp430 and
/opt/msp430/bin. No luck, same old error.

When I type msp-430gcc in the terminal it does actually start it. So I know
it's installed and works. My guess is that the msp430 directory is
hard-coded somewhere and the make command can't find msp430-gcc because it's
looking in the wrong place.

Any help would be appreciated.

Thanks
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] ncc Problems....

2007-09-04 Thread Douglas McIlwraith

Hi there,

I'm wondering if anybody can help me:

I'm not exactly new to tinyOS, but have been experiencing some problems 
that I can't seem to overcome. I wish to use
exactly the same configuration for tinyos (versions, compiler versions 
etc) as a colleague, so I've copied the entire

directory to dvd and dropped it onto another machine.

I have also ensure that the following environment variables have been 
set correctly:


TOSDIR='c:\cygwin\opt\tinyos-1.x\tos'
TOSROOT='c:\cygwin\opt\tinyos-1.x\'
MAKERULES=/opt/tinyos-1.x/tools/make/Makerules

TOSPATH='C:\cygwin\usr\local\mspgcc;C:\cygwin\usr\local\mspgcc\bin;c:\cygwin\bin;
c:\cygwin\opt\tinyos-1.x\tools\java;
c:\cygwin\opt\tinyos-1.x\tos; c:\cygwin\opt\tinyos-1.x\tools\java\jars;'

then TOSPATH included in my actual PATH, which provides access to all 
the bin folders

that you would expect.

This has been sufficient before to execute ncc with different target 
plaforms. Now,

toscheck gives me several warnings

toscheck completed with errors:

-- WARNING: ncc (nesc) was found, but the version could not be 
verified. Verify
 that the ncc version that you have is 1.1 by running ncc --version. If 
you get
an error regarding platforms, please see the TinyOS FAQ for help: 
www.tinyos.net

/faq.html
-- WARNING: The ncc found by toscheck is not version 1.1. Please update 
your ne

sc version to 1.1 tinyos.
-- WARNING: The JAVA version found first by toscheck may not be version 
1.4 whi

ch is required by TOS. Please ensure that the located Java version is 1.4
Depending on your PATH environment variable, there is often a 1.2 
version of ja
va.exe in c:\windows\system32 that is seen first. Check that this is 
version 1

.4 or reconfigure your PATH environment variable if this is the case.
-- WARNING: The uisp version found by toscheck is not '20030820tinyos'. 
Please
update your uisp version. The source for uisp version 20030820tinyos can 
be foun

d in the TinyOS 1.1.0 distribution.
-- WARNING: No dot in current path.
-- WARNING: toscheck could not find the 'dot' executable which is part 
of the A
TT Graphviz package. Please install version 1.1.0 of Graphviz if you'd 
 like to

 use the nescdoc documentation generator.

At first I thought I may be using an old version of ncc, so i tried

which ncc,

then ncc --version.

There is only one copy of ncc on here, and the following error is received

$ ncc --version
Unknown target mica
Known targets for TinyOS directory c:\cygwin\opt\tinyos-1.x\tos
and the specified include directories are:
none.

If we look in c:\cygwin\opt\tinyos-1.x\tos\platform we see there are the 
usual

libraries for mica, mica2 etc.

So this is rather confusing. Irritiatingly, when I've tried this on my 
colleagues machine,

it returns the ncc version number.

Any ideas why this would be? I've tried installing ncc again but it 
doesn't seem to make any

difference.

Any help appreciated!

Doug

Full output from TOSCHECK is:

Path:
/usr/X11R6/bin
/usr/local/bin
/usr/bin
/bin
/cygdrive/c/WINDOWS
/cygdrive/c/WINDOWS/system32
/cygdrive/c/WINDOWS/system32/wbem
/cygdrive/c/Program Files/perl/bin
/cygdrive/c/Program Files/putty
/cygdrive/c/Program Files/Support Tools
/cygdrive/c/Program Files/A386
/cygdrive/c/Program Files/MiKTeX/texmf/miktex/bin
/cygdrive/c/Program Files/VTK/Bin
/cygdrive/c/Program Files/Java/Bin
/cygdrive/c/Program Files/SICStus Prolog/Bin

//win.doc.ic.ac.uk/sysvol/win.doc.ic.ac.uk/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}/Machine/Scripts/Startup
/cygdrive/c/Program Files/Python/
/cygdrive/c/Program Files/Windows Resource Kits/Tools
/cygdrive/c/Program Files/Xilinx/bin/nt
/cygdrive/c/Program Files/eXceed/Accessories
/cygdrive/c/Program Files/Celoxica/PDK/Software/Bin
/cygdrive/c/Program Files/Celoxica/DK/Bin
/cygdrive/c/Program Files/Celoxica/DK/Plugins
/cygdrive/c/Program Files/wget
/cygdrive/c/Program Files/Tcl/bin
/cygdrive/c/Program Files/MinGW
/usr/local/mspgcc
/usr/local/mspgcc/bin
/usr/bin
/opt/tinyos-1.x/tools/java
/opt/tinyos-1.x/tos
/opt/tinyos-1.x/tools/java/jars
/usr/lib/lapack
/opt/msp430/bin

Classpath:
c:/cygwin/opt/tinyos-1.x/tools/java
c:/Sun/AppServer/lib
c:/Sun/AppServer/jdk
c:/Sun/AppServer/jdk/lib
c:/Sun/AppServer/jdk/jre
c:/Sun/AppServer/jdk/jre/lib
c:/Sun/AppServer/jdk/jre/lib/comm.jar
c:/cygwin/opt/tinyos-1.x/tools/java/jars/JLex.jar
c:/cygwin/opt/tinyos-1.x/tools/java/jars/cup.jar
c:/cygwin/opt/tinyos-1.x/tools/java/jars/gwe.jar
c:/cygwin/opt/tinyos-1.x/tools/java/jars/xercesImpl.jar
c:/cygwin/opt/tinyos-1.x/tools/java/jars/junit.jar
c:/cygwin/opt/tinyos-1.x/tools/java/jars/xmlParserAPIs.jar

Re: [Tinyos-help] ncc Problems....

2007-09-04 Thread Philip Levis


On Sep 3, 2007, at 8:12 AM, Douglas McIlwraith wrote:


Hi there,

I'm wondering if anybody can help me:

I'm not exactly new to tinyOS, but have been experiencing some  
problems that I can't seem to overcome. I wish to use
exactly the same configuration for tinyos (versions, compiler  
versions etc) as a colleague, so I've copied the entire

directory to dvd and dropped it onto another machine.

I have also ensure that the following environment variables have  
been set correctly:


TOSDIR='c:\cygwin\opt\tinyos-1.x\tos'
TOSROOT='c:\cygwin\opt\tinyos-1.x\'
MAKERULES=/opt/tinyos-1.x/tools/make/Makerules

TOSPATH='C:\cygwin\usr\local\mspgcc;C:\cygwin\usr\local\mspgcc 
\bin;c:\cygwin\bin;

c:\cygwin\opt\tinyos-1.x\tools\java;
	c:\cygwin\opt\tinyos-1.x\tos; c:\cygwin\opt\tinyos-1.x\tools\java 
\jars;'


then TOSPATH included in my actual PATH, which provides access to  
all the bin folders

that you would expect.

This has been sufficient before to execute ncc with different  
target plaforms. Now,

toscheck gives me several warnings


I don't know what the exact problem is, but be careful with the  
direction of your slashes: it seems like you're using / sometimes and  
\ others. Rather than c:\some-windows-path you might be better off  
with /cygdrive/c/, or, better yet, just do /opt/tinyos-1.x/...


Phil
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Sleep example

2007-09-04 Thread Kevin Klues
Just wrote a tutorial on writing low power sensing applications.  It
includes a sample app that you can download from cvs.

http://tinyos.cvs.sourceforge.net/*checkout*/tinyos/tinyos-2.x/doc/html/tutorial/lesson16.html

Kevin

On 8/20/07, Priit Pikk [EMAIL PROTECTED] wrote:
 Could somebody write/copy here a full example how to put mote to sleep and
 wakeup again; shut radio off and on again?

 Thanks in advance,

 --
 Priit
 ___
 Tinyos-help mailing list
 Tinyos-help@Millennium.Berkeley.EDU
 https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



-- 
~Kevin
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


RE: [Tinyos-help] Good choice of linux for Dell latitude 600 and tinyos2

2007-09-04 Thread KURT PETERS
I use a dell 600m with Suse 10.2 and it works like a charm.  I had to use a 
ndiswrapper for the wireless card, but I understand that's pretty standard 
fare with Linux and wireless cards.  I run micaz's and the stargate without 
a problem.


Regards,
Kurt

Original Message Follows
From: hamsa jega [EMAIL PROTECTED]
To: tinyos-help@Millennium.Berkeley.EDU
Subject: [Tinyos-help] Good choice of linux for Dell latitude 600 and 
tinyos2

Date: Tue, 4 Sep 2007 13:12:06 -0500
I am trying to start work on tinyos2 and have a dell latitude 600 laptop
with me. I tried installing fedora core 6 and tinyos2 and had problems with
my monitor display, so switched to fc5 and then when I tried installing the
drivers for mib520 and mib600 I faced a trail of required dependancies that
never seemed to end. Can anyone suggest which version of fc I should start
with. Would appreciate any guidance.

Thanks


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Junk data with Adc on telosb

2007-09-04 Thread John Griessen

Jan Hauer wrote:

Can you try this (create a new app):
- instantiate Msp430Adc12ClientAutoRVGC() and wire you application module to it
- in your app module where you provide AdcConfigure, return a pointer
to the 1st channel configuration (with VREFplus_AVss) which you
defined as a const module variable
- in Boot.booted() you call Resource.request()
- in Resource.granted() you call Msp430Adc12MultiChannel.configure()
and then Msp430Adc12MultiChannel.getData()
- check all return values


I just fixed some code like that.  A working code example of 
multichannel a2d with the above kind of structure. It's at:


http://www.ecosensory.com/ch12AdcP.nc
http://www.ecosensory.com/ch12AdcC.nc
http://www.ecosensory.com/a2d12ch.h
http://www.ecosensory.com/Testch12AdcC.nc
http://www.ecosensory.com/Testch12AdcP.nc

It doesn't get the data out on a radio message yet,
but it turns on leds at the SUCCESS responses we want
from multichannel...

John Griessen

--
Ecosensory
tinyOS devel on:  ubuntu Linux;   tinyOS v2.0.2;   telosb ecosens1
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] msp430-gcc error

2007-09-04 Thread John Griessen

Branko Kerkez wrote:

Hello,

I just installed Ubuntu and downloaded the tinyos-2.x repositries. I
followed the instructions


Try using Leith Abdulla's latest feisty repository
(put this in your /etc/apt/sources.list file --
 deb http://tinyos.stanford.edu/tinyos/dists/ubuntu feisty main)
and update everything with msp in it

do a dpkg -l '*msp*'
then install all those packages.

John Griessen

--
Ecosensory
tinyOS devel on:  ubuntu Linux;   tinyOS v2.0.2;   telosb ecosens1
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Sleep example

2007-09-04 Thread John Griessen

Kevin Klues wrote:

Just wrote a tutorial on writing low power sensing applications.  It
includes a sample app that you can download from cvs.


http://tinyos.cvs.sourceforge.net/*checkout*/tinyos/tinyos-2.x/doc/html/tutorial/lesson16.html

Thanks,

The timing is perfect in my tutelage.  I'll be looking it over
and using it right away.

John G
--
Ecosensory
tinyOS devel on:  ubuntu Linux;   tinyOS v2.0.2;   telosb ecosens1
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] EXTERNAL ANTENNA

2007-09-04 Thread n subhash
i have connected external but i don't know how to transmit from it
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] How to know your nodes are communicating?

2007-09-04 Thread Khew U-Wei
Hi Everyone,

I have installed the RipsOneHopC program onto 3 Mica-2 Motes and the TOSBase
program onto the base node. I ran the MessageCenter application, loaded the
RipsDisplay application, clicked on Motes tab, right-click and
selected QUery Motes. Nothing appeared on my list. It seems as though none
of my motes are connected.


Could anyone also provide me with some instructions on how to use the
RemoteControl Application?

Really appreciate any help rendered. Thank you

Cheers,
U-Wei
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help